MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Protected Member Functions | Private Attributes | List of all members
ThermalCoupling Class Reference

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...
 
ThermalDataReaderfThermalData
 

Detailed Description

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

Author
Nico*
Version
2.0

Constructor & Destructor Documentation

ThermalCoupling::ThermalCoupling ( int  NumberOfLevels,
int  ZoneNumber = 0,
int  IterationNumber = 0 
)

Default constructor.

Parameters
NumberOfLevelsNumber of axial levels
ZoneNumberRadial zone number if differentiation by region is required (different universes)
IterationNumberIteration step
ThermalCoupling::~ThermalCoupling ( )

Delete standard.

Member Function Documentation

void ThermalCoupling::CalculateCosinusPowerDeposits ( )
protected

Calculates each power density with a cosine distribution.

void ThermalCoupling::CalculateHeatTransferInGazSpace ( )
inline

Force a calculation of the heat transfers in the gaz space.

void ThermalCoupling::CalculateRodPowerDeposits ( )
protected

Calculate power densities of each fuel cell in a SINGLE rod.

void ThermalCoupling::CheckConsistent ( )
protected

Checks the consistent with all data.

void ThermalCoupling::CladConduction ( )
protected

Resolves Fourier equation of conduction in the claddind.

void ThermalCoupling::CloseFiles ( )
protected

Closes output files created.

void ThermalCoupling::Convection ( )
protected

Calculates the convective heat transfert between rod and coolant.

void ThermalCoupling::DimensionlessNumbersCalculation ( )
protected

Calculate the dimensionless numbers (Re, Nu)

void ThermalCoupling::FluidHeating ( )
protected

Calculates the warm-up of the fluid.

void ThermalCoupling::ForcedDestroy ( )
protected

Explicit destruction of this thermalcoupling object.

void ThermalCoupling::FuelConduction ( )
protected

Resolves Fourier equation of conduction in the fuel.

void ThermalCoupling::GetAllCells ( )
protected

Gets fuel, cladding and coolants cells.

void ThermalCoupling::LoadingData ( )
protected

Update of each cell data of the previous step (temperature, densities, ...)

void ThermalCoupling::PressureLosses ( )
protected

Calculates losses of pressure due to linear phenomena (no consideration of the term due to the peculiarities)

void ThermalCoupling::PrintPowerResults ( )
protected

Prints results of power deposits.

void ThermalCoupling::PrintThermalResults ( )
protected

Prints radial thermal results for each cell.

void ThermalCoupling::Run ( )

start the calculation

void ThermalCoupling::SetCellsHeight ( double  ElementaryCellHeight)
inline

Sets height of cells (the same for each one)

void ThermalCoupling::SetCellsSurface ( double  ElementaryCellSurface)
inline

Sets the total surface of the elementary cell (coolant+cladding+fuel)

void ThermalCoupling::SetCladdingType ( string  Cladding)
inline

Sets cladding type by giving its name.

void ThermalCoupling::SetCladRadius ( double  CladRadius)
inline

Sets cladding radius.

void ThermalCoupling::SetCoolantType ( string  Coolant)
inline

Sets coolant type by giving its name.

void ThermalCoupling::SetCosinePowerDeposits ( )
inline

Allows a calculation without real coupling -> cosinus distribution deposits.

void ThermalCoupling::SetDeltaTempOfGazSpace ( double  DeltaTemp)
inline

Fix an arbitrary value of the temperature difference inside the gaz space.

void ThermalCoupling::SetEnterCoolantTemp ( double  EnterCoolantTemp)
inline

Sets the entrance coolant temperature (K)

void ThermalCoupling::SetFuelPorosity ( double  FuelPorosity)
inline

sets fuel porosity to be given to ThermalDataReader for density correction

void ThermalCoupling::SetFuelType ( string  Fuel)
inline

Sets fuel type by giving its name.

void ThermalCoupling::SetHeatExchangeCoeffOfGap ( double  Hgap)
inline

Fix the heat exchange coefficient inside the gap space (W/m2/K)

void ThermalCoupling::SetHexLattice ( )
inline

Information of hexagonal lattice (used for flow area calculation)

void ThermalCoupling::SetInnerRodRadius ( double  InnerRodRadius)
inline

Sets fuel pellet inner radius (annular pellet)

void ThermalCoupling::SetMassSpeed ( double  MassSpeed)
inline

Mass speed kg/m2s

void ThermalCoupling::SetRodAveragePower ( double  Power)
inline

Sets the average power of ONE rod (Watt)

void ThermalCoupling::SetRodRadius ( double  RodRadius)
inline

Sets fuel pellet radius.

void ThermalCoupling::ThermalRadiation ( )
protected
void ThermalCoupling::UploadingOfNewProperties ( )
protected

Updates news properties of cells and materials.

Member Data Documentation

double ThermalCoupling::fCellHeight
private

Height of each cell cylinder.

double ThermalCoupling::fCellSurface
private

Surface of the cell (coolant+cladd+fuel)

string ThermalCoupling::fCladding
private

Name of the cladding (zircaloy, steel, ...)

vector<Cell*> ThermalCoupling::fCladdingCells
private

Claddings cells implicated in the calculation.

vector<double> ThermalCoupling::fCladdingTemps
private

Temperatures of cladding cells.

vector<double> ThermalCoupling::fCladdingTi
private

Interior Temperature of cladding cells.

vector<double> ThermalCoupling::fCladdingTp
private

Parietal Temperature of cladding cells.

double ThermalCoupling::fCladRadius
private

Radius of exterior cylinder (cladding radius)

string ThermalCoupling::fCoolant
private

Name of the coolant (h2o, d2o, sodium, ...)

vector<Cell*> ThermalCoupling::fCoolantCells
private

Coolants cells implicated in the calculation.

vector<double> ThermalCoupling::fCoolantDensities
private

Densities of coolant cells.

vector<ofstream*> ThermalCoupling::fCoolantDensity
private

Generates output files for coolant density.

vector<double> ThermalCoupling::fCoolantEnterTemp
private

Coolant entrance temperature in cells.

vector<double> ThermalCoupling::fCoolantEntryTemps
private

Temperatures of entrance in coolant cells.

vector<double> ThermalCoupling::fCoolantExitTemp
private

Coolant exit temperature in cells.

vector<double> ThermalCoupling::fCoolantExitTemps
private

Temperatures of exit in coolant cells.

vector<double> ThermalCoupling::fCoolantTemps
private

Average temperatures of coolant cells.

bool ThermalCoupling::fCosinePower
private

default value = false ; if true : power deposits type cosinus

vector<double> ThermalCoupling::fCp
private

Heat capacity value of each coolant cell [J/kg.K].

double ThermalCoupling::fDeltaTempOfGazSpace
private

Value of temperature difference between cladding and fuel inside the gaz space (given by user)

double ThermalCoupling::fDh
private

Hydraulic diameter (4*S/P)

vector<ofstream*> ThermalCoupling::fFiles
private

Generates output files for thermal data (Axial averages and radial distribution in cells.

string ThermalCoupling::fFuel
private

Name of the fuel (uox, mox, thpu, ...)

vector<Cell*> ThermalCoupling::fFuelCells
private

Fuel cells implicated in the calculation.

vector<ofstream*> ThermalCoupling::fFuelInner
private

Generates output files for inner pellet temperature.

vector<double> ThermalCoupling::fFuelk
private

Thermal conductivities values of each fuel cell [W/(m.K)].

vector<ofstream*> ThermalCoupling::fFuelOuter
private

Generates output files for outer pellet temperature.

double ThermalCoupling::fFuelPorosity
private

default value = 0 ; if set 0 < < 1 by user, will be given to ThermalDataReader for density correction

double ThermalCoupling::fFuelRadius
private

Radius of fuel rod cylinder (= radius of cladding internal crown)

vector<double> ThermalCoupling::fFuelTemps
private

Temperatures of fuel cells.

vector<double> ThermalCoupling::fFuelTi
private

Interior Temperature of fuel cells.

vector<double> ThermalCoupling::fFuelTp
private

Parietal Temperature of fuel cells.

double ThermalCoupling::fGazSpace
private

Void space between fuel rod and cladding : Fission Products space.

bool ThermalCoupling::fHeatTransferGazSpace
private

Used for a heat transfer exchange inside the gaz space.

bool ThermalCoupling::fHexLattice
private

Used for flow area calculation.

double ThermalCoupling::fHGap
private

Value of the heat exchange coefficient inside the gap (W/m2/K)

int ThermalCoupling::fi
private

Iteration step number.

double ThermalCoupling::fInnerFuelRadius
private

Inner Radius of fuel rod cylinder (annular pellet)

vector<double> ThermalCoupling::fk
private

Thermal conductivities values of each coolant cell [W/(m.K)].

int ThermalCoupling::fLevels
private

Number of axial levels.

double ThermalCoupling::fMassSpeed
private

Mass speed that verifies the conservation of the mass (rho*V=cte=fMassSpeed in kg/m2s)

vector<double> ThermalCoupling::fNu
private

Nusselt Numbers of each coolant cell.

vector<double> ThermalCoupling::fParietalStream
private

Parietal Stream see by each cell [W/m2].

double ThermalCoupling::fPassageSurface
private

Surface of passage (surface of coolant in an under shannel)

vector<double> ThermalCoupling::fPower
private

Power deposited in each fuel cell [W].

vector<double> ThermalCoupling::fPowerDensities
private

Power densities of each fuel cell [W/m3].

vector<double> ThermalCoupling::fPr
private

Prandtl Numbers of each coolant cell.

vector<double> ThermalCoupling::fPressureLosses
private

Losses of pressure.

int ThermalCoupling::fRadialZone
private

Radial zone number.

vector<double> ThermalCoupling::fRe
private

Reynolds Numbers of each coolant cell.

double ThermalCoupling::fRodAveragePower
private

Rod average power (W)

bool ThermalCoupling::fSigmaPhiUpdated
private

Used to check if the update of sigma phi is already done.

ThermalDataReader* ThermalCoupling::fThermalData
private
vector<double> ThermalCoupling::fVis
private

Viscosities values of each coolant cell [Pa*s].


The documentation for this class was generated from the following files:

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014