void SetMassSpeed(double MassSpeed)
Mass speed kg/m2s
Definition: ThermalCoupling.hxx:59
vector< ofstream * > fCoolantDensity
Generates output files for coolant density.
Definition: ThermalCoupling.hxx:144
vector< double > fPr
Prandtl Numbers of each coolant cell.
Definition: ThermalCoupling.hxx:117
vector< double > fCoolantExitTemp
Coolant exit temperature in cells.
Definition: ThermalCoupling.hxx:121
vector< Cell * > fCoolantCells
Coolants cells implicated in the calculation.
Definition: ThermalCoupling.hxx:139
vector< double > fPowerDensities
Power densities of each fuel cell [W/m3].
Definition: ThermalCoupling.hxx:123
vector< double > fFuelTi
Interior Temperature of fuel cells.
Definition: ThermalCoupling.hxx:126
vector< double > fCoolantTemps
Average temperatures of coolant cells.
Definition: ThermalCoupling.hxx:130
void SetCellsSurface(double ElementaryCellSurface)
Sets the total surface of the elementary cell (coolant+cladding+fuel)
Definition: ThermalCoupling.hxx:53
void FluidHeating()
Calculates the warm-up of the fluid.
Definition: ThermalCoupling.cxx:253
void SetHeatExchangeCoeffOfGap(double Hgap)
Fix the heat exchange coefficient inside the gap space (W/m2/K)
Definition: ThermalCoupling.hxx:64
vector< double > fVis
Viscosities values of each coolant cell [Pa*s].
Definition: ThermalCoupling.hxx:114
vector< double > fCp
Heat capacity value of each coolant cell [J/kg.K].
Definition: ThermalCoupling.hxx:113
void CladConduction()
Resolves Fourier equation of conduction in the claddind.
Definition: ThermalCoupling.cxx:390
int fRadialZone
Radial zone number.
Definition: ThermalCoupling.hxx:91
vector< Cell * > fCladdingCells
Claddings cells implicated in the calculation.
Definition: ThermalCoupling.hxx:138
vector< Cell * > fFuelCells
Fuel cells implicated in the calculation.
Definition: ThermalCoupling.hxx:137
string fCladding
Name of the cladding (zircaloy, steel, ...)
Definition: ThermalCoupling.hxx:100
vector< double > fPressureLosses
Losses of pressure.
Definition: ThermalCoupling.hxx:135
bool fHexLattice
Used for flow area calculation.
Definition: ThermalCoupling.hxx:106
vector< double > fCladdingTemps
Temperatures of cladding cells.
Definition: ThermalCoupling.hxx:127
void Run()
start the calculation
Definition: ThermalCoupling.cxx:48
double fHGap
Value of the heat exchange coefficient inside the gap (W/m2/K)
Definition: ThermalCoupling.hxx:109
vector< double > fCoolantEnterTemp
Coolant entrance temperature in cells.
Definition: ThermalCoupling.hxx:120
vector< double > fCoolantExitTemps
Temperatures of exit in coolant cells.
Definition: ThermalCoupling.hxx:132
void SetFuelPorosity(double FuelPorosity)
sets fuel porosity to be given to ThermalDataReader for density correction
Definition: ThermalCoupling.hxx:61
double fPassageSurface
Surface of passage (surface of coolant in an under shannel)
Definition: ThermalCoupling.hxx:111
double fInnerFuelRadius
Inner Radius of fuel rod cylinder (annular pellet)
Definition: ThermalCoupling.hxx:93
void SetRodAveragePower(double Power)
Sets the average power of ONE rod (Watt)
Definition: ThermalCoupling.hxx:58
void SetCellsHeight(double ElementaryCellHeight)
Sets height of cells (the same for each one)
Definition: ThermalCoupling.hxx:52
vector< double > fFuelk
Thermal conductivities values of each fuel cell [W/(m.K)].
Definition: ThermalCoupling.hxx:116
void GetAllCells()
Gets fuel, cladding and coolants cells.
Definition: ThermalCoupling.cxx:113
int fLevels
Number of axial levels.
Definition: ThermalCoupling.hxx:90
double fCellHeight
Height of each cell cylinder.
Definition: ThermalCoupling.hxx:96
vector< ofstream * > fFuelOuter
Generates output files for outer pellet temperature.
Definition: ThermalCoupling.hxx:142
double fFuelRadius
Radius of fuel rod cylinder (= radius of cladding internal crown)
Definition: ThermalCoupling.hxx:92
void ThermalRadiation()
Definition: ThermalCoupling.cxx:440
vector< double > fPower
Power deposited in each fuel cell [W].
Definition: ThermalCoupling.hxx:122
double fCladRadius
Radius of exterior cylinder (cladding radius)
Definition: ThermalCoupling.hxx:94
void PrintThermalResults()
Prints radial thermal results for each cell.
Definition: ThermalCoupling.cxx:349
vector< double > fNu
Nusselt Numbers of each coolant cell.
Definition: ThermalCoupling.hxx:119
~ThermalCoupling()
Delete standard.
Definition: ThermalCoupling.cxx:43
double fDeltaTempOfGazSpace
Value of temperature difference between cladding and fuel inside the gaz space (given by user) ...
Definition: ThermalCoupling.hxx:108
vector< double > fFuelTp
Parietal Temperature of fuel cells.
Definition: ThermalCoupling.hxx:125
double fDh
Hydraulic diameter (4*S/P)
Definition: ThermalCoupling.hxx:112
void SetCladRadius(double CladRadius)
Sets cladding radius.
Definition: ThermalCoupling.hxx:51
void SetInnerRodRadius(double InnerRodRadius)
Sets fuel pellet inner radius (annular pellet)
Definition: ThermalCoupling.hxx:50
bool fHeatTransferGazSpace
Used for a heat transfer exchange inside the gaz space.
Definition: ThermalCoupling.hxx:107
double fMassSpeed
Mass speed that verifies the conservation of the mass (rho*V=cte=fMassSpeed in kg/m2s) ...
Definition: ThermalCoupling.hxx:101
vector< double > fCladdingTp
Parietal Temperature of cladding cells.
Definition: ThermalCoupling.hxx:128
vector< double > fParietalStream
Parietal Stream see by each cell [W/m2].
Definition: ThermalCoupling.hxx:134
void SetHexLattice()
Information of hexagonal lattice (used for flow area calculation)
Definition: ThermalCoupling.hxx:60
void CalculateCosinusPowerDeposits()
Calculates each power density with a cosine distribution.
Definition: ThermalCoupling.cxx:197
bool fCosinePower
default value = false ; if true : power deposits type cosinus
Definition: ThermalCoupling.hxx:104
double fGazSpace
Void space between fuel rod and cladding : Fission Products space.
Definition: ThermalCoupling.hxx:95
void FuelConduction()
Resolves Fourier equation of conduction in the fuel.
Definition: ThermalCoupling.cxx:476
void SetCladdingType(string Cladding)
Sets cladding type by giving its name.
Definition: ThermalCoupling.hxx:57
vector< double > fk
Thermal conductivities values of each coolant cell [W/(m.K)].
Definition: ThermalCoupling.hxx:115
void SetDeltaTempOfGazSpace(double DeltaTemp)
Fix an arbitrary value of the temperature difference inside the gaz space.
Definition: ThermalCoupling.hxx:63
string fCoolant
Name of the coolant (h2o, d2o, sodium, ...)
Definition: ThermalCoupling.hxx:98
vector< double > fCoolantDensities
Densities of coolant cells.
Definition: ThermalCoupling.hxx:133
void PressureLosses()
Calculates losses of pressure due to linear phenomena (no consideration of the term due to the peculi...
Definition: ThermalCoupling.cxx:521
vector< ofstream * > fFuelInner
Generates output files for inner pellet temperature.
Definition: ThermalCoupling.hxx:143
void SetCosinePowerDeposits()
Allows a calculation without real coupling -> cosinus distribution deposits.
Definition: ThermalCoupling.hxx:48
void PrintPowerResults()
Prints results of power deposits.
Definition: ThermalCoupling.cxx:225
void SetFuelType(string Fuel)
Sets fuel type by giving its name.
Definition: ThermalCoupling.hxx:56
void SetEnterCoolantTemp(double EnterCoolantTemp)
Sets the entrance coolant temperature (K)
Definition: ThermalCoupling.hxx:54
void CheckConsistent()
Checks the consistent with all data.
Definition: ThermalCoupling.cxx:83
This object reads thermodynamics values of fluids that are stored in files stored in MURE/thermal_dat...
Definition: ThermalDataReader.hxx:25
vector< double > fRe
Reynolds Numbers of each coolant cell.
Definition: ThermalCoupling.hxx:118
void DimensionlessNumbersCalculation()
Calculate the dimensionless numbers (Re, Nu)
Definition: ThermalCoupling.cxx:316
void SetCoolantType(string Coolant)
Sets coolant type by giving its name.
Definition: ThermalCoupling.hxx:55
void CalculateHeatTransferInGazSpace()
Force a calculation of the heat transfers in the gaz space.
Definition: ThermalCoupling.hxx:62
double fFuelPorosity
default value = 0 ; if set 0 < < 1 by user, will be given to ThermalDataReader for density correction...
Definition: ThermalCoupling.hxx:110
This object performs the variation of temperature in a given region for a specific system...
Definition: ThermalCoupling.hxx:26
ThermalDataReader * fThermalData
Definition: ThermalCoupling.hxx:146
void LoadingData()
Update of each cell data of the previous step (temperature, densities, ...)
Definition: ThermalCoupling.cxx:151
void Convection()
Calculates the convective heat transfert between rod and coolant.
Definition: ThermalCoupling.cxx:339
double fRodAveragePower
Rod average power (W)
Definition: ThermalCoupling.hxx:102
void UploadingOfNewProperties()
Updates news properties of cells and materials.
Definition: ThermalCoupling.cxx:549
vector< ofstream * > fFiles
Generates output files for thermal data (Axial averages and radial distribution in cells...
Definition: ThermalCoupling.hxx:141
double fCellSurface
Surface of the cell (coolant+cladd+fuel)
Definition: ThermalCoupling.hxx:97
void CalculateRodPowerDeposits()
Calculate power densities of each fuel cell in a SINGLE rod.
Definition: ThermalCoupling.cxx:162
ThermalCoupling(int NumberOfLevels, int ZoneNumber=0, int IterationNumber=0)
Default constructor.
Definition: ThermalCoupling.cxx:6
string fFuel
Name of the fuel (uox, mox, thpu, ...)
Definition: ThermalCoupling.hxx:99
void CloseFiles()
Closes output files created.
Definition: ThermalCoupling.cxx:543
vector< double > fCoolantEntryTemps
Temperatures of entrance in coolant cells.
Definition: ThermalCoupling.hxx:131
void SetRodRadius(double RodRadius)
Sets fuel pellet radius.
Definition: ThermalCoupling.hxx:49
vector< double > fCladdingTi
Interior Temperature of cladding cells.
Definition: ThermalCoupling.hxx:129
int fi
Iteration step number.
Definition: ThermalCoupling.hxx:89
void ForcedDestroy()
Explicit destruction of this thermalcoupling object.
Definition: ThermalCoupling.cxx:592
vector< double > fFuelTemps
Temperatures of fuel cells.
Definition: ThermalCoupling.hxx:124
bool fSigmaPhiUpdated
Used to check if the update of sigma phi is already done.
Definition: ThermalCoupling.hxx:105