@@ -45,7 +45,6 @@ CFluidScalar::CFluidScalar(su2double value_pressure_operating, const CConfig* co
4545 : CFluidModel(),
4646 n_species_mixture(config->GetnSpecies () + 1),
4747 Pressure_Thermodynamic(value_pressure_operating),
48- Ref_Temperature(config->GetStandard_RefTemperatureND ()),
4948 GasConstant_Ref(config->GetGas_Constant_Ref ()),
5049 Prandtl_Turb_Number(config->GetPrandtl_Turb ()),
5150 Schmidt_Turb_Number(config->GetSchmidt_Number_Turbulent ()),
@@ -219,14 +218,14 @@ su2double CFluidScalar::ComputeEnthalpyFromT(const su2double val_temperature, co
219218 * depend on temperature, but it does depend on mixture composition, enthalpy is directly computed from
220219 * the expression h_s = Cp(T - T_ref).
221220 */
222- su2double val_Enthalpy = Cp * (val_temperature - Ref_Temperature );
221+ su2double val_Enthalpy = Cp * (val_temperature - STD_REF_TEMP );
223222 return val_Enthalpy;
224223}
225224
226225void CFluidScalar::GetEnthalpyDiffusivity (su2double* enthalpy_diffusions) const {
227- const su2double enthalpy_species_N = specificHeat[n_species_mixture - 1 ] * (Temperature - Ref_Temperature );
226+ const su2double enthalpy_species_N = specificHeat[n_species_mixture - 1 ] * (Temperature - STD_REF_TEMP );
228227 for (int iVar = 0 ; iVar < n_species_mixture - 1 ; iVar++) {
229- const su2double enthalpy_species_i = specificHeat[iVar] * (Temperature - Ref_Temperature );
228+ const su2double enthalpy_species_i = specificHeat[iVar] * (Temperature - STD_REF_TEMP );
230229 enthalpy_diffusions[iVar] = Density * (enthalpy_species_i * massDiffusivity[iVar] -
231230 enthalpy_species_N * massDiffusivity[n_species_mixture - 1 ]);
232231 enthalpy_diffusions[iVar] += Mu_Turb * (enthalpy_species_i - enthalpy_species_N) / Schmidt_Turb_Number;
@@ -271,7 +270,7 @@ void CFluidScalar::SetTDState_h(const su2double val_enthalpy, const su2double* v
271270 * depend on temperature, but it does depend on mixture composition, temperature is directly solved from the
272271 * expression h_s = Cp(T - T_ref).
273272 */
274- Temperature = val_enthalpy / Cp + Ref_Temperature ;
273+ Temperature = val_enthalpy / Cp + STD_REF_TEMP ;
275274 Density = Pressure_Thermodynamic / (Temperature * Gas_Constant);
276275 Cv = Cp - Gas_Constant;
277276
0 commit comments