54 double FuelPorosity = 0
63 double GetRho(
double Temperature);
64 double GetCp(
double Temperature);
65 double GetK(
double Temperature);
66 double GetVis(
double Temperature);
93 double FindBin(
int NumberOfElements, vector < double > VectorX, vector < double > VectorY,
double Temperature);
94 double CubicSpline(
double X,
double y0,
double y1,
double y2,
double y3);
This object reads thermodynamics values of fluids that are stored in files stored in MURE/thermal_dat...
Definition ThermalDataReader.hxx:44
double GetVis(double Temperature)
Gets viscosity.
Definition ThermalDataReader.cxx:162
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:180
string GetThermalDATADIR()
Definition ThermalDataReader.hxx:83
vector< double > fThermalConductivityDataV
Heat capacities values for each temperature (W/m.K)
Definition ThermalDataReader.hxx:106
string fFuelThermalDataDirectoryName
Name of Fuel data directory (where are all thermodynamics values)
Definition ThermalDataReader.hxx:111
vector< double > fHeatCapacityDataT
Temperatures corresponding to heat capacities values.
Definition ThermalDataReader.hxx:103
double GetRho(double Temperature)
Gets density.
Definition ThermalDataReader.cxx:144
double GetFuelK(double Temperature)
Gets thermal conductivity.
Definition ThermalDataReader.cxx:174
double GetCp(double Temperature)
Gets heat capacity.
Definition ThermalDataReader.cxx:150
vector< double > fFuelThermalConductivityDataT
Temperatures corresponding to heat capacities values.
Definition ThermalDataReader.hxx:114
double fFuelPorosity
Fuel porosity (0 by default, for theoretical density values of thermal_data)
Definition ThermalDataReader.hxx:116
~ThermalDataReader()
Delete standard.
vector< double > fFuelThermalConductivityDataV
Heat capacities values for each temperature (W/m.K)
Definition ThermalDataReader.hxx:115
double GetFuelRho(double Temperature)
Gets density.
Definition ThermalDataReader.cxx:168
string fThermalDataDirectoryName
Name of Coolant data directory (where are all thermodynamics values)
Definition ThermalDataReader.hxx:100
vector< double > fFuelDensityDataT
Temperatures corresponding to densities values.
Definition ThermalDataReader.hxx:112
vector< double > fFuelDensityDataV
Densities values for each temperature (kg/m3)
Definition ThermalDataReader.hxx:113
void SetThermalDATADIR(string THD)
Definition ThermalDataReader.hxx:87
vector< double > fThermalConductivityDataT
Temperatures corresponding to heat capacities values.
Definition ThermalDataReader.hxx:105
double GetK(double Temperature)
Gets thermal conductivity.
Definition ThermalDataReader.cxx:156
vector< double > fDensityDataV
Densities values for each temperature (kg/m3)
Definition ThermalDataReader.hxx:102
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:215
vector< double > fDensityDataT
Temperatures corresponding to densities values.
Definition ThermalDataReader.hxx:101
vector< double > fViscosityDataV
Viscosities values for each temperature (Pa.s)
Definition ThermalDataReader.hxx:108
void LoadFuelThermalData()
generates vectors containing thermodynamics values of fuel
Definition ThermalDataReader.cxx:104
void LoadCoolantThermalData()
generates vectors containing thermodynamics values of coolant
Definition ThermalDataReader.cxx:52
vector< double > fHeatCapacityDataV
Heat capacities values for each temperature (J/kg.K)
Definition ThermalDataReader.hxx:104
vector< double > fViscosityDataT
Temperatures corresponding to viscosities values.
Definition ThermalDataReader.hxx:107