SU2
Public Member Functions | Protected Attributes | List of all members
CFluidModel Class Reference

Main class for defining the Thermo-Physical Model a child class for each particular Model (Ideal-Gas, Van der Waals, etc.) More...

#include <fluid_model.hpp>

Inheritance diagram for CFluidModel:
CIdealGas CPengRobinson CVanDerWaalsGas

Public Member Functions

 CFluidModel (void)
 Constructor of the class. More...
 
virtual ~CFluidModel (void)
 Destructor of the class.
 
su2double GetPressure ()
 Get fluid pressure.
 
su2double GetTemperature ()
 Get fluid temperature.
 
su2double GetEntropy ()
 Get fluid entropy.
 
su2double GetStaticEnergy ()
 Get fluid internal energy.
 
su2double GetDensity ()
 Get fluid density.
 
su2double GetSoundSpeed ()
 Get fluid speed of sound.
 
su2double GetSoundSpeed2 ()
 Get fluid speed of sound squared.
 
su2double GetCp ()
 Get fluid specific heat at constant pressure.
 
su2double GetLaminarViscosity ()
 Get fluid dynamic viscosity.
 
su2double GetThermalConductivity ()
 Get fluid thermal conductivity.
 
su2double GetdPdrho_e ()
 Get fluid pressure partial derivative.
 
su2double GetdPde_rho ()
 Get fluid pressure partial derivative.
 
su2double GetdTdrho_e ()
 Get fluid temperature partial derivative.
 
su2double GetdTde_rho ()
 Get fluid temperature partial derivative.
 
su2double Getdmudrho_T ()
 Get fluid dynamic viscosity partial derivative.
 
su2double GetdmudT_rho ()
 Get fluid dynamic viscosity partial derivative.
 
su2double Getdktdrho_T ()
 Get fluid thermal conductivity partial derivative.
 
su2double GetdktdT_rho ()
 Get fluid thermal conductivity partial derivative.
 
void SetLaminarViscosityModel (CConfig *config)
 Set viscosity model.
 
void SetThermalConductivityModel (CConfig *config)
 Set thermal conductivity model.
 
virtual void SetTDState_rhoe (su2double rho, su2double e)
 virtual member that would be different for each gas model implemented More...
 
virtual void SetTDState_PT (su2double P, su2double T)
 virtual member that would be different for each gas model implemented More...
 
virtual void SetTDState_Prho (su2double P, su2double rho)
 virtual member that would be different for each gas model implemented More...
 
virtual void SetEnergy_Prho (su2double P, su2double rho)
 virtual member that would be different for each gas model implemented More...
 
virtual void SetTDState_hs (su2double h, su2double s)
 virtual member that would be different for each gas model implemented More...
 
virtual void SetTDState_rhoT (su2double rho, su2double T)
 virtual member that would be different for each gas model implemented More...
 
virtual void SetTDState_Ps (su2double P, su2double s)
 virtual member that would be different for each gas model implemented More...
 

Protected Attributes

su2double StaticEnergy
 Internal Energy.
 
su2double Entropy
 Entropy.
 
su2double Density
 Density.
 
su2double Pressure
 Pressure.
 
su2double SoundSpeed2
 SpeedSound.
 
su2double Temperature
 Temperature.
 
su2double dPdrho_e
 DpDd_e.
 
su2double dPde_rho
 DpDe_d.
 
su2double dTdrho_e
 DTDd_e.
 
su2double dTde_rho
 DTDe_d.
 
su2double Cp
 Specific Heat Capacity at constant pressure.
 
su2double Mu
 Specific Heat Capacity at constant pressure.
 
su2double dmudrho_T
 Specific Heat Capacity at constant pressure.
 
su2double dmudT_rho
 Specific Heat Capacity at constant pressure.
 
su2double Kt
 Specific Heat Capacity at constant pressure.
 
su2double dktdrho_T
 Specific Heat Capacity at constant pressure.
 
su2double dktdT_rho
 Specific Heat Capacity at constant pressure.
 
CViscosityModelLaminarViscosity
 Laminar Viscosity Model.
 
CConductivityModelThermalConductivity
 Thermal Conductivity Model.
 

Detailed Description

Main class for defining the Thermo-Physical Model a child class for each particular Model (Ideal-Gas, Van der Waals, etc.)

Author
: S.Vitale, G.Gori, M.Pini
Version
5.0.0 "Raven"

Constructor & Destructor Documentation

§ CFluidModel()

CFluidModel::CFluidModel ( void  )

Constructor of the class.

Source of the main thermo-physical subroutines of the SU2 solvers.

fluid_model.cpp

Author
S.Vitale, M.Pini, G.Gori, A.Guardone, P.Colonna
Version
5.0.0 "Raven"

SU2 Original Developers: Dr. Francisco D. Palacios. Dr. Thomas D. Economon.

SU2 Developers: Prof. Juan J. Alonso's group at Stanford University. Prof. Piero Colonna's group at Delft University of Technology. Prof. Nicolas R. Gauger's group at Kaiserslautern University of Technology. Prof. Alberto Guardone's group at Polytechnic University of Milan. Prof. Rafael Palacios' group at Imperial College London. Prof. Edwin van der Weide's group at the University of Twente. Prof. Vincent Terrapon's group at the University of Liege.

Copyright (C) 2012-2017 SU2, the open-source CFD code.

SU2 is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

SU2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with SU2. If not, see http://www.gnu.org/licenses/.

Member Function Documentation

§ SetEnergy_Prho()

void CFluidModel::SetEnergy_Prho ( su2double  P,
su2double  rho 
)
inlinevirtual

virtual member that would be different for each gas model implemented

Parameters
[in]InputSpec- Input pair for FLP calls ("Pv").
[in]th1- first thermodynamic variable (P).
[in]th2- second thermodynamic variable (v).

Reimplemented in CPengRobinson, CVanDerWaalsGas, and CIdealGas.

§ SetTDState_hs()

void CFluidModel::SetTDState_hs ( su2double  h,
su2double  s 
)
inlinevirtual

virtual member that would be different for each gas model implemented

Parameters
[in]InputSpec- Input pair for FLP calls ("hs").
[in]th1- first thermodynamic variable (h).
[in]th2- second thermodynamic variable (s).

Reimplemented in CPengRobinson, CVanDerWaalsGas, and CIdealGas.

§ SetTDState_Prho()

void CFluidModel::SetTDState_Prho ( su2double  P,
su2double  rho 
)
inlinevirtual

virtual member that would be different for each gas model implemented

Parameters
[in]InputSpec- Input pair for FLP calls ("Pv").
[in]th1- first thermodynamic variable (P).
[in]th2- second thermodynamic variable (v).

Reimplemented in CPengRobinson, CVanDerWaalsGas, and CIdealGas.

§ SetTDState_Ps()

void CFluidModel::SetTDState_Ps ( su2double  P,
su2double  s 
)
inlinevirtual

virtual member that would be different for each gas model implemented

Parameters
[in]InputSpec- Input pair for FLP calls ("Pv").
[in]th1- first thermodynamic variable (P).
[in]th2- second thermodynamic variable (s).

Reimplemented in CPengRobinson, CVanDerWaalsGas, and CIdealGas.

§ SetTDState_PT()

void CFluidModel::SetTDState_PT ( su2double  P,
su2double  T 
)
inlinevirtual

virtual member that would be different for each gas model implemented

Parameters
[in]InputSpec- Input pair for FLP calls ("PT").
[in]th1- first thermodynamic variable (P).
[in]th2- second thermodynamic variable (T).

Reimplemented in CPengRobinson, CVanDerWaalsGas, and CIdealGas.

§ SetTDState_rhoe()

void CFluidModel::SetTDState_rhoe ( su2double  rho,
su2double  e 
)
inlinevirtual

virtual member that would be different for each gas model implemented

Parameters
[in]InputSpec- Input pair for FLP calls ("e, rho").
[in]rho- first thermodynamic variable.
[in]e- second thermodynamic variable.

Reimplemented in CPengRobinson, CVanDerWaalsGas, and CIdealGas.

§ SetTDState_rhoT()

void CFluidModel::SetTDState_rhoT ( su2double  rho,
su2double  T 
)
inlinevirtual

virtual member that would be different for each gas model implemented

Parameters
[in]InputSpec- Input pair for FLP calls ("rhoT").
[in]th1- first thermodynamic variable (rho).
[in]th2- second thermodynamic variable (T).

Reimplemented in CPengRobinson, CVanDerWaalsGas, and CIdealGas.


The documentation for this class was generated from the following files: