Skip to content

Commit e7adc45

Browse files
Added mixxing turb_SA_NPPR configuration file and removed virtuals from prototypes in CNonPolytropicPengRobinson.hpp and CPengRobinson.hpp
1 parent 00e6d42 commit e7adc45

4 files changed

Lines changed: 352 additions & 32 deletions

File tree

SU2_CFD/include/fluid/CNonPolytropicPengRobinson.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,49 +46,49 @@ class CNonPolytropicPengRobinson : public CPengRobinson {
4646
* \brief Set the temperature polynomial coefficients for variable Cp.
4747
* \param[in] config - configuration container for the problem.
4848
*/
49-
virtual void SetCpModel(const CConfig* config) override;
49+
void SetCpModel(const CConfig* config) override;
5050

5151
/*!
5252
* \brief Set the Dimensionless State using Density and Internal Energy
5353
* \param[in] rho - first thermodynamic variable.
5454
* \param[in] e - second thermodynamic variable.
5555
*/
56-
virtual void SetTDState_rhoe(su2double rho, su2double e) override;
56+
void SetTDState_rhoe(su2double rho, su2double e) override;
5757

5858
/*!
5959
* \brief Set the Dimensionless State using Density and Temperature
6060
* \param[in] rho - first thermodynamic variable.
6161
* \param[in] T - second thermodynamic variable.
6262
*/
63-
virtual void SetTDState_rhoT(su2double rho, su2double T) override;
63+
void SetTDState_rhoT(su2double rho, su2double T) override;
6464

6565
/*!
6666
* \brief Set the Dimensionless State using Pressure and Temperature
6767
* \param[in] P - first thermodynamic variable.
6868
* \param[in] T - second thermodynamic variable.
6969
*/
70-
virtual void SetTDState_PT(su2double P, su2double T) override;
70+
void SetTDState_PT(su2double P, su2double T) override;
7171

7272
/*!
7373
* \brief Set the Dimensionless State using Enthalpy and Entropy
7474
* \param[in] h - first thermodynamic variable.
7575
* \param[in] s - second thermodynamic variable.
7676
*/
77-
virtual void SetTDState_hs(su2double h, su2double s) override;
77+
void SetTDState_hs(su2double h, su2double s) override;
7878

7979
/*!
8080
* \brief Set the Dimensionless Energy using Pressure and Density
8181
* \param[in] P - first thermodynamic variable.
8282
* \param[in] rho - second thermodynamic variable.
8383
*/
84-
virtual void SetEnergy_Prho(su2double P, su2double rho) override;
84+
void SetEnergy_Prho(su2double P, su2double rho) override;
8585

8686
/*!
8787
* \brief Set the Dimensionless State using Pressure and Entropy
8888
* \param[in] P - first thermodynamic variable.
8989
* \param[in] s - second thermodynamic variable.
9090
*/
91-
virtual void SetTDState_Ps(su2double P, su2double s) override;
91+
void SetTDState_Ps(su2double P, su2double s) override;
9292

9393
private:
9494

@@ -110,7 +110,7 @@ class CNonPolytropicPengRobinson : public CPengRobinson {
110110
/*!
111111
* \brief Internal function for the implicit call hs.
112112
*/
113-
virtual su2double T_v_h(su2double v, su2double h) override;
113+
su2double T_v_h(su2double v, su2double h) override;
114114

115115
array<su2double, N_POLY_COEFFS> coeffs_; /*!< \brief Polynomial coefficients for heat capacity as a function of temperature. */
116116
};

SU2_CFD/include/fluid/CPengRobinson.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ class CPengRobinson : public CIdealGas {
5353
* \param[in] rho - first thermodynamic variable.
5454
* \param[in] e - second thermodynamic variable.
5555
*/
56-
virtual void SetTDState_rhoe(su2double rho, su2double e) override;
56+
void SetTDState_rhoe(su2double rho, su2double e) override;
5757

5858
/*!
5959
* \brief Set the Dimensionless State using Pressure and Temperature
6060
* \param[in] P - first thermodynamic variable.
6161
* \param[in] T - second thermodynamic variable.
6262
*/
63-
virtual void SetTDState_PT(su2double P, su2double T) override;
63+
void SetTDState_PT(su2double P, su2double T) override;
6464

6565
/*!
6666
* \brief Set the Dimensionless State using Pressure and Density
@@ -74,7 +74,7 @@ class CPengRobinson : public CIdealGas {
7474
* \param[in] P - first thermodynamic variable.
7575
* \param[in] rho - second thermodynamic variable.
7676
*/
77-
virtual void SetEnergy_Prho(su2double P, su2double rho) override;
77+
void SetEnergy_Prho(su2double P, su2double rho) override;
7878

7979
/*!
8080
* \brief virtual member that would be different for each gas model implemented
@@ -83,7 +83,7 @@ class CPengRobinson : public CIdealGas {
8383
* \param[in] th2 - second thermodynamic variable (s).
8484
*
8585
*/
86-
virtual void SetTDState_hs(su2double h, su2double s) override;
86+
void SetTDState_hs(su2double h, su2double s) override;
8787

8888
/*!
8989
* \brief virtual member that would be different for each gas model implemented
@@ -92,14 +92,14 @@ class CPengRobinson : public CIdealGas {
9292
* \param[in] th2 - second thermodynamic variable (T).
9393
*
9494
*/
95-
virtual void SetTDState_rhoT(su2double rho, su2double T) override;
95+
void SetTDState_rhoT(su2double rho, su2double T) override;
9696

9797
/*!
9898
* \brief Set the Dimensionless State using Pressure and Entropy
9999
* \param[in] th1 - first thermodynamic variable (P).
100100
* \param[in] th2 - second thermodynamic variable (s).
101101
*/
102-
virtual void SetTDState_Ps(su2double P, su2double s) override;
102+
void SetTDState_Ps(su2double P, su2double s) override;
103103

104104
/*!
105105
* \brief compute some derivatives of enthalpy and entropy needed for subsonic inflow BC

0 commit comments

Comments
 (0)