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