@@ -805,11 +805,9 @@ class CConfig {
805805 Gas_Constant, /* !< \brief Specific gas constant. */
806806 Gas_ConstantND, /* !< \brief Non-dimensional specific gas constant. */
807807 *Molecular_Weight; /* !< \brief Molecular weight of an incompressible ideal gas (g/mol). */
808- unsigned short nMolecular_Weight; /* !< \brief Number of species molecular weights. */
809- su2double Specific_Heat_Cp, /* !< \brief Specific heat at constant pressure. */
810- Specific_Heat_CpND, /* !< \brief Non-dimensional specific heat at constant pressure. */
811- Specific_Heat_Cv, /* !< \brief Specific heat at constant volume. */
812- Specific_Heat_CvND, /* !< \brief Non-dimensional specific heat at constant volume. */
808+ unsigned short nMolecular_Weight, /* !< \brief Number of species molecular weights. */
809+ nSpecific_Heat_Cp; /* !< \brief Number of species specific heat constants at constant pressure. */
810+ su2double *Specific_Heat_Cp, /* !< \brief Specific heat at constant pressure. */
813811 Thermal_Expansion_Coeff, /* !< \brief Thermal expansion coefficient. */
814812 Thermal_Expansion_CoeffND, /* !< \brief Non-dimensional thermal expansion coefficient. */
815813 Inc_Density_Ref, /* !< \brief Reference density for custom incompressible non-dim. */
@@ -1619,25 +1617,13 @@ class CConfig {
16191617 * \brief Get the value of specific heat at constant pressure.
16201618 * \return Value of the constant: Cp
16211619 */
1622- su2double GetSpecific_Heat_Cp (void ) const { return Specific_Heat_Cp; }
1620+ su2double GetSpecific_Heat_Cp (unsigned short val_index = 0 ) const { return Specific_Heat_Cp[val_index] ; }
16231621
16241622 /* !
16251623 * \brief Get the non-dimensional value of specific heat at constant pressure.
16261624 * \return Value of the non-dim. constant: Cp
16271625 */
1628- su2double GetSpecific_Heat_CpND (void ) const { return Specific_Heat_CpND; }
1629-
1630- /* !
1631- * \brief Get the value of specific heat at constant volume.
1632- * \return Value of the constant: Cv
1633- */
1634- su2double GetSpecific_Heat_Cv (void ) const { return Specific_Heat_Cv; }
1635-
1636- /* !
1637- * \brief Get the non-dimensional value of specific heat at constant volume.
1638- * \return Value of the non-dim. constant: Cv
1639- */
1640- su2double GetSpecific_Heat_CvND (void ) const { return Specific_Heat_CvND; }
1626+ su2double GetSpecific_Heat_CpND (unsigned short val_index = 0 ) const { return Specific_Heat_Cp[val_index] / Gas_Constant_Ref; }
16411627
16421628 /* !
16431629 * \brief Get the value of wall temperature.
@@ -2427,30 +2413,6 @@ class CConfig {
24272413 */
24282414 void SetGas_Constant (su2double val_gas_constant) { Gas_Constant = val_gas_constant; }
24292415
2430- /* !
2431- * \brief Set the value of the specific heat at constant pressure (incompressible fluids with energy equation).
2432- * \param[in] val_specific_heat_cp - specific heat at constant pressure.
2433- */
2434- void SetSpecific_Heat_Cp (su2double val_specific_heat_cp) { Specific_Heat_Cp = val_specific_heat_cp; }
2435-
2436- /* !
2437- * \brief Set the non-dimensional value of the specific heat at constant pressure (incompressible fluids with energy equation).
2438- * \param[in] val_specific_heat_cpnd - non-dim. specific heat at constant pressure.
2439- */
2440- void SetSpecific_Heat_CpND (su2double val_specific_heat_cpnd) { Specific_Heat_CpND = val_specific_heat_cpnd; }
2441-
2442- /* !
2443- * \brief Set the value of the specific heat at constant volume (incompressible fluids with energy equation).
2444- * \param[in] val_specific_heat_cv - specific heat at constant volume.
2445- */
2446- void SetSpecific_Heat_Cv (su2double val_specific_heat_cv) { Specific_Heat_Cv = val_specific_heat_cv; }
2447-
2448- /* !
2449- * \brief Set the non-dimensional value of the specific heat at constant volume (incompressible fluids with energy equation).
2450- * \param[in] val_specific_heat_cvnd - non-dim. specific heat at constant pressure.
2451- */
2452- void SetSpecific_Heat_CvND (su2double val_specific_heat_cvnd) { Specific_Heat_CvND = val_specific_heat_cvnd; }
2453-
24542416 /* !
24552417 * \brief Set the heat flux reference value.
24562418 * \return Value of the reference heat flux.
@@ -3831,6 +3793,12 @@ class CConfig {
38313793 */
38323794 CONDUCTIVITYMODEL_TURB GetKind_ConductivityModel_Turb () const { return Kind_ConductivityModel_Turb; }
38333795
3796+ /* !
3797+ * \brief Get the value of the mass diffusivity model.
3798+ * \return Mass diffusivity model.
3799+ */
3800+ DIFFUSIVITYMODEL GetKind_Diffusivity_Model (void ) const { return Kind_Diffusivity_Model; }
3801+
38343802 /* !
38353803 * \brief Get the value of the constant viscosity.
38363804 * \return Constant viscosity.
0 commit comments