MURE
|
This object performs the variation of temperature in a given region for a specific system. More...
#include <ThermalCoupling.hxx>
Public Member Functions | |
Constructor &destructor | |
ThermalCoupling (int NumberOfLevels, int ZoneNumber=0, int IterationNumber=0) | |
Default constructor. | |
~ThermalCoupling () | |
Delete standard. | |
void | Run () |
start the calculation | |
Miscellaneous methods | |
int | fi |
Iteration step number. | |
int | fLevels |
Number of axial levels. | |
int | fRadialZone |
Radial zone number. | |
double | fFuelRadius |
Radius of fuel rod cylinder (= radius of cladding internal crown) | |
double | fInnerFuelRadius |
Inner Radius of fuel rod cylinder (annular pellet) | |
double | fCladRadius |
Radius of exterior cylinder (cladding radius) | |
double | fCellHeight |
Height of each cell cylinder. | |
double | fCellSurface |
Surface of the cell (coolant+cladd+fuel) | |
string | fCoolant |
Name of the coolant (h2o, d2o, sodium, ...) | |
string | fFuel |
Name of the fuel (uox, mox, thpu, ...) | |
string | fCladding |
Name of the cladding (zircaloy, steel, ...) | |
double | fMassSpeed |
Mass speed that verifies the conservation of the mass (rho*V=cte=fMassSpeed in kg/m2s) | |
double | fRodAveragePower |
Rod average power (W) | |
bool | fCosinePower |
default value = false ; if true : power deposits type cosinus | |
bool | fSigmaPhiUpdated |
Used to check if the update of sigma phi is already done. | |
bool | fHexLattice |
Used for flow area calculation. | |
bool | fHeatTransferGazSpace |
Used for a heat transfer exchange inside the gaz space. | |
double | fDeltaTempOfGazSpace |
Value of temperature difference between cladding and fuel inside the gaz space (given by user) | |
double | fHGap |
Value of the heat exchange coefficient inside the gap (W/m2/K) | |
double | fFuelPorosity |
default value = 0 ; if set 0 < < 1 by user, will be given to ThermalDataReader for density correction | |
double | fPassageSurface |
Surface of passage (surface of coolant in an under shannel) | |
double | fDh |
Hydraulic diameter (4*S/P) | |
vector< double > | fCp |
Heat capacity value of each coolant cell [J/kg.K]. | |
vector< double > | fVis |
Viscosities values of each coolant cell [Pa*s]. | |
vector< double > | fk |
Thermal conductivities values of each coolant cell [W/(m.K)]. | |
vector< double > | fFuelk |
Thermal conductivities values of each fuel cell [W/(m.K)]. | |
vector< double > | fPr |
Prandtl Numbers of each coolant cell. | |
vector< double > | fRe |
Reynolds Numbers of each coolant cell. | |
vector< double > | fNu |
Nusselt Numbers of each coolant cell. | |
vector< double > | fCoolantEnterTemp |
Coolant entrance temperature in cells. | |
vector< double > | fCoolantExitTemp |
Coolant exit temperature in cells. | |
vector< double > | fPower |
Power deposited in each fuel cell [W]. | |
vector< double > | fPowerDensities |
Power densities of each fuel cell [W/m3]. | |
vector< double > | fFuelTemps |
Temperatures of fuel cells. | |
vector< double > | fFuelTp |
Parietal Temperature of fuel cells. | |
vector< double > | fFuelTi |
Interior Temperature of fuel cells. | |
vector< double > | fCladdingTemps |
Temperatures of cladding cells. | |
vector< double > | fCladdingTp |
Parietal Temperature of cladding cells. | |
vector< double > | fCladdingTi |
Interior Temperature of cladding cells. | |
vector< double > | fCoolantTemps |
Average temperatures of coolant cells. | |
vector< double > | fCoolantEntryTemps |
Temperatures of entrance in coolant cells. | |
vector< double > | fCoolantExitTemps |
Temperatures of exit in coolant cells. | |
vector< double > | fCoolantDensities |
Densities of coolant cells. | |
vector< double > | fParietalStream |
Parietal Stream see by each cell [W/m2]. | |
vector< double > | fPressureLosses |
Losses of pressure. | |
vector< Cell * > | fFuelCells |
Fuel cells implicated in the calculation. | |
vector< Cell * > | fCladdingCells |
Claddings cells implicated in the calculation. | |
vector< Cell * > | fCoolantCells |
Coolants cells implicated in the calculation. | |
vector< ofstream * > | fFiles |
Generates output files for thermal data (Axial averages and radial distribution in cells. | |
vector< ofstream * > | fFuelOuter |
Generates output files for outer pellet temperature. | |
vector< ofstream * > | fFuelInner |
Generates output files for inner pellet temperature. | |
vector< ofstream * > | fCoolantDensity |
Generates output files for coolant density. | |
ThermalDataReader * | fThermalData |
void | SetCosinePowerDeposits () |
void | SetRodRadius (double RodRadius) |
void | SetInnerRodRadius (double InnerRodRadius) |
void | SetCladRadius (double CladRadius) |
void | SetCellsHeight (double ElementaryCellHeight) |
void | SetCellsSurface (double ElementaryCellSurface) |
void | SetEnterCoolantTemp (double EnterCoolantTemp) |
void | SetCoolantType (string Coolant) |
void | SetFuelType (string Fuel) |
void | SetCladdingType (string Cladding) |
void | SetRodAveragePower (double Power) |
void | SetMassSpeed (double MassSpeed) |
void | SetHexLattice () |
void | SetFuelPorosity (double FuelPorosity) |
void | CalculateHeatTransferInGazSpace () |
void | SetDeltaTempOfGazSpace (double DeltaTemp) |
void | SetHeatExchangeCoeffOfGap (double Hgap) |
void | CheckConsistent () |
Checks the consistent with all data. | |
void | GetAllCells () |
Gets fuel, cladding and coolants cells. | |
void | LoadingData () |
Update of each cell data of the previous step (temperature, densities, ...) | |
void | CalculateRodPowerDeposits () |
Calculate power densities of each fuel cell in a SINGLE rod. | |
void | CalculateCosinusPowerDeposits () |
Calculates each power density with a cosine distribution. | |
void | PrintPowerResults () |
Prints results of power deposits. | |
void | FluidHeating () |
Calculates the warm-up of the fluid. | |
void | DimensionlessNumbersCalculation () |
Calculate the dimensionless numbers (Re, Nu) | |
void | Convection () |
Calculates the convective heat transfert between rod and coolant. | |
void | CladConduction () |
Resolves Fourier equation of conduction in the claddind. | |
void | ThermalRadiation () |
void | FuelConduction () |
Resolves Fourier equation of conduction in the fuel. | |
void | PressureLosses () |
Calculates losses of pressure due to linear phenomena (no consideration of the term due to the peculiarities) | |
void | PrintThermalResults () |
Prints radial thermal results for each cell. | |
void | CloseFiles () |
Closes output files created. | |
void | UploadingOfNewProperties () |
Updates news properties of cells and materials. | |
void | ForcedDestroy () |
Explicit destruction of this thermalcoupling object. | |
This object performs the variation of temperature in a given region for a specific system.
At present, the geometry must be cylindrical for the fuel and the cladding It solve the heat equation in the case of a stationnary state Estimates done : heat conduction in homogeneous isotropic media -> T(r) only no thermal radiation -> T(ext fuel) = T(int cladd) The flag SetEvolution() is needed to the calculation of power deposits The calculation is done on an average cell : no crossflow. The first cell MUST be at the bottom of the fuel rod
ThermalCoupling::ThermalCoupling | ( | int | NumberOfLevels, |
int | ZoneNumber = 0 , |
||
int | IterationNumber = 0 |
||
) |
Default constructor.
NumberOfLevels | Number of axial levels |
ZoneNumber | Radial zone number if differentiation by region is required (different universes) |
IterationNumber | Iteration step |
|
default |
Delete standard.
|
protected |
Calculates each power density with a cosine distribution.
|
inline |
< Force a calculation of the heat transfers in the gaz space
|
protected |
Calculate power densities of each fuel cell in a SINGLE rod.
|
protected |
Checks the consistent with all data.
|
protected |
Resolves Fourier equation of conduction in the claddind.
|
protected |
Closes output files created.
|
protected |
Calculates the convective heat transfert between rod and coolant.
|
protected |
Calculate the dimensionless numbers (Re, Nu)
|
protected |
Calculates the warm-up of the fluid.
|
protected |
Explicit destruction of this thermalcoupling object.
|
protected |
Resolves Fourier equation of conduction in the fuel.
|
protected |
Gets fuel, cladding and coolants cells.
|
protected |
Update of each cell data of the previous step (temperature, densities, ...)
|
protected |
Calculates losses of pressure due to linear phenomena (no consideration of the term due to the peculiarities)
|
protected |
Prints results of power deposits.
|
protected |
Prints radial thermal results for each cell.
void ThermalCoupling::Run | ( | ) |
start the calculation
|
inline |
< Sets height of cells (the same for each one)
|
inline |
< Sets the total surface of the elementary cell (coolant+cladding+fuel)
|
inline |
< Sets cladding type by giving its name
|
inline |
< Sets cladding radius
|
inline |
< Sets coolant type by giving its name
|
inline |
< Allows a calculation without real coupling -> cosinus distribution deposits
|
inline |
< Fix an arbitrary value of the temperature difference inside the gaz space
|
inline |
< Sets the entrance coolant temperature (K)
|
inline |
< sets fuel porosity to be given to ThermalDataReader for density correction
|
inline |
< Sets fuel type by giving its name
|
inline |
< Fix the heat exchange coefficient inside the gap space (W/m2/K)
|
inline |
< Information of hexagonal lattice (used for flow area calculation)
|
inline |
< Sets fuel pellet inner radius (annular pellet)
|
inline |
< Mass speed [kg/m2s] (e.g. in PWR mass speed = 3900 kg/m2s)
|
inline |
< Sets the average power of ONE rod (Watt)
|
inline |
< Sets fuel pellet radius
|
protected |
|
protected |
Updates news properties of cells and materials.
|
private |
Height of each cell cylinder.
|
private |
Surface of the cell (coolant+cladd+fuel)
|
private |
Name of the cladding (zircaloy, steel, ...)
|
private |
Claddings cells implicated in the calculation.
|
private |
Temperatures of cladding cells.
|
private |
Interior Temperature of cladding cells.
|
private |
Parietal Temperature of cladding cells.
|
private |
Radius of exterior cylinder (cladding radius)
|
private |
Name of the coolant (h2o, d2o, sodium, ...)
|
private |
Coolants cells implicated in the calculation.
|
private |
Densities of coolant cells.
|
private |
Generates output files for coolant density.
|
private |
Coolant entrance temperature in cells.
|
private |
Temperatures of entrance in coolant cells.
|
private |
Coolant exit temperature in cells.
|
private |
Temperatures of exit in coolant cells.
|
private |
Average temperatures of coolant cells.
|
private |
default value = false ; if true : power deposits type cosinus
|
private |
Heat capacity value of each coolant cell [J/kg.K].
|
private |
Value of temperature difference between cladding and fuel inside the gaz space (given by user)
|
private |
Hydraulic diameter (4*S/P)
|
private |
Generates output files for thermal data (Axial averages and radial distribution in cells.
|
private |
Name of the fuel (uox, mox, thpu, ...)
|
private |
Fuel cells implicated in the calculation.
|
private |
Generates output files for inner pellet temperature.
|
private |
Thermal conductivities values of each fuel cell [W/(m.K)].
|
private |
Generates output files for outer pellet temperature.
|
private |
default value = 0 ; if set 0 < < 1 by user, will be given to ThermalDataReader for density correction
|
private |
Radius of fuel rod cylinder (= radius of cladding internal crown)
|
private |
Temperatures of fuel cells.
|
private |
Interior Temperature of fuel cells.
|
private |
Parietal Temperature of fuel cells.
|
private |
Used for a heat transfer exchange inside the gaz space.
|
private |
Used for flow area calculation.
|
private |
Value of the heat exchange coefficient inside the gap (W/m2/K)
|
private |
Iteration step number.
|
private |
Inner Radius of fuel rod cylinder (annular pellet)
|
private |
Thermal conductivities values of each coolant cell [W/(m.K)].
|
private |
Number of axial levels.
|
private |
Mass speed that verifies the conservation of the mass (rho*V=cte=fMassSpeed in kg/m2s)
|
private |
Nusselt Numbers of each coolant cell.
|
private |
Parietal Stream see by each cell [W/m2].
|
private |
Surface of passage (surface of coolant in an under shannel)
|
private |
Power deposited in each fuel cell [W].
|
private |
Power densities of each fuel cell [W/m3].
|
private |
Prandtl Numbers of each coolant cell.
|
private |
Losses of pressure.
|
private |
Radial zone number.
|
private |
Reynolds Numbers of each coolant cell.
|
private |
Rod average power (W)
|
private |
Used to check if the update of sigma phi is already done.
|
private |
|
private |
Viscosities values of each coolant cell [Pa*s].