45 double GetRho(
double Temperature);
46 double GetCp(
double Temperature);
47 double GetK(
double Temperature);
48 double GetVis(
double Temperature);
69 double FindBin(
int NumberOfElements, vector<double> VectorX, vector<double> VectorY,
double Temperature);
70 double CubicSpline(
double X,
double y0,
double y1,
double y2,
double y3);
vector< double > fDensityDataV
Densities values for each temperature (kg/m3)
Definition: ThermalDataReader.hxx:78
void SetThermalDATADIR(string THD)
sets directory of thermodynamics values files location
Definition: ThermalDataReader.hxx:66
double GetFuelRho(double Temperature)
Gets density.
Definition: ThermalDataReader.cxx:142
vector< double > fViscosityDataT
Temperatures corresponding to viscosities values.
Definition: ThermalDataReader.hxx:83
string fFuelThermalDataDirectoryName
Name of Fuel data directory (where are all thermodynamics values)
Definition: ThermalDataReader.hxx:87
ThermalDataReader(string Coolant, string Fuel, double FuelPorosity=0)
Default constructor.
Definition: ThermalDataReader.cxx:5
vector< double > fViscosityDataV
Viscosities values for each temperature (Pa.s)
Definition: ThermalDataReader.hxx:84
double FindBin(int NumberOfElements, vector< double > VectorX, vector< double > VectorY, double Temperature)
find in a 2 dimensionnal tab (here 2 vectors) the nearest temperature value
Definition: ThermalDataReader.cxx:154
vector< double > fFuelDensityDataT
Temperatures corresponding to densities values.
Definition: ThermalDataReader.hxx:88
double GetCp(double Temperature)
Definition: ThermalDataReader.cxx:124
void LoadFuelThermalData()
generates vectors containing thermodynamics values of fuel
Definition: ThermalDataReader.cxx:78
~ThermalDataReader()
Delete standard.
Definition: ThermalDataReader.cxx:22
vector< double > fHeatCapacityDataV
Heat capacities values for each temperature (J/kg.K)
Definition: ThermalDataReader.hxx:80
vector< double > fFuelThermalConductivityDataV
Heat capacities values for each temperature (W/m.K)
Definition: ThermalDataReader.hxx:91
string GetThermalDATADIR()
returns directory of thermodynamics values files location
Definition: ThermalDataReader.hxx:65
double GetK(double Temperature)
Gets thermal conductivity.
Definition: ThermalDataReader.cxx:130
double CubicSpline(double X, double y0, double y1, double y2, double y3)
performs a cubic spline interpolation to calculate the exact value
Definition: ThermalDataReader.cxx:189
vector< double > fFuelThermalConductivityDataT
Temperatures corresponding to heat capacities values.
Definition: ThermalDataReader.hxx:90
vector< double > fDensityDataT
Temperatures corresponding to densities values.
Definition: ThermalDataReader.hxx:77
double fFuelPorosity
Fuel porosity (0 by default, for theoretical density values of thermal_data)
Definition: ThermalDataReader.hxx:92
void LoadCoolantThermalData()
generates vectors containing thermodynamics values of coolant
Definition: ThermalDataReader.cxx:26
This object reads thermodynamics values of fluids that are stored in files stored in MURE/thermal_dat...
Definition: ThermalDataReader.hxx:25
vector< double > fThermalConductivityDataV
Heat capacities values for each temperature (W/m.K)
Definition: ThermalDataReader.hxx:82
vector< double > fThermalConductivityDataT
Temperatures corresponding to heat capacities values.
Definition: ThermalDataReader.hxx:81
vector< double > fFuelDensityDataV
Densities values for each temperature (kg/m3)
Definition: ThermalDataReader.hxx:89
vector< double > fHeatCapacityDataT
Temperatures corresponding to heat capacities values.
Definition: ThermalDataReader.hxx:79
string fThermalDataDirectoryName
Name of Coolant data directory (where are all thermodynamics values)
Definition: ThermalDataReader.hxx:76
double GetFuelK(double Temperature)
Gets thermal conductivity.
Definition: ThermalDataReader.cxx:148
double GetRho(double Temperature)
Gets density.
Definition: ThermalDataReader.cxx:118
double GetVis(double Temperature)
Gets viscosity.
Definition: ThermalDataReader.cxx:136