![]() |
Documentation a537f1bdf2
|
Child class for defining the Van der Waals model. More...
#include <CVanDerWaalsGas.hpp>
Public Member Functions | |
| CVanDerWaalsGas (su2double gamma, su2double R, su2double Pstar, su2double Tstar) | |
| Constructor of the class. | |
| void | SetTDState_rhoe (su2double rho, su2double e) override |
| Set the Dimensionless State using Density and Internal Energy. | |
| void | SetTDState_PT (su2double P, su2double T) override |
| Set the Dimensionless State using Pressure and Temperature. | |
| void | SetTDState_Prho (su2double P, su2double rho) override |
| Set the Dimensionless State using Pressure and Density. | |
| void | SetEnergy_Prho (su2double P, su2double rho) override |
| Set the Dimensionless Internal Energy using Pressure and Density. | |
| void | SetTDState_hs (su2double h, su2double s) override |
| Set the Dimensionless state using Enthalpy and Entropy. | |
| void | SetTDState_rhoT (su2double rho, su2double T) override |
| Set the Dimensionless state using Density and Temperature. | |
| void | SetTDState_Ps (su2double P, su2double s) override |
| Set the Dimensionless State using Pressure and Entropy. | |
| void | ComputeDerivativeNRBC_Prho (su2double P, su2double rho) override |
| compute some derivatives of enthalpy and entropy needed for subsonic inflow BC | |
Public Member Functions inherited from CIdealGas | |
| CIdealGas (su2double gamma, su2double R, bool CompEntropy=true) | |
| Constructor of the class. | |
Public Member Functions inherited from CFluidModel | |
| virtual | ~CFluidModel () |
| su2double | GetPressure () const |
| Get fluid pressure. | |
| su2double | GetTemperature () const |
| Get fluid temperature. | |
| su2double | GetEntropy () const |
| Get fluid entropy. | |
| su2double | GetStaticEnergy () const |
| Get fluid internal energy. | |
| su2double | GetEnthalpy () const |
| Get fluid enthalpy. | |
| su2double | GetDensity () const |
| Get fluid density. | |
| su2double | GetSoundSpeed () const |
| Get fluid speed of sound. | |
| su2double | GetSoundSpeed2 () const |
| Get fluid speed of sound squared. | |
| su2double | GetCp () const |
| Get fluid specific heat at constant pressure. | |
| su2double | GetCv () const |
| Get fluid specific heat at constant volume. | |
| virtual unsigned short | GetNScalars () const |
| Flamelet LUT - Get the number of transported scalars. | |
| virtual unsigned long | EvaluateDataSet (const vector< su2double > &input_scalar, unsigned short lookup_type, vector< su2double > &output_refs) |
| Evaluate data-set for flamelet or data-driven fluid simulations. | |
| virtual su2double | GetLaminarViscosity () |
| Get fluid dynamic viscosity. | |
| virtual su2double | GetThermalConductivity () |
| Get fluid thermal conductivity. | |
| virtual su2double | GetMassDiffusivity (int iVar) |
| Get fluid mass diffusivity. | |
| virtual void | GetEnthalpyDiffusivity (su2double *enthalpy_diffusions=nullptr) const |
| Get the enthalpy diffusivity terms for all species being solved. | |
| virtual void | GetGradEnthalpyDiffusivity (su2double *grad_enthalpy_diffusions=nullptr) const |
| Get the gradient of enthalpy diffusivity terms for all species being solved. | |
| su2double | GetdPdrho_e () const |
| Get fluid pressure partial derivative. | |
| su2double | GetdPde_rho () const |
| Get fluid pressure partial derivative. | |
| su2double | GetdTdrho_e () const |
| Get fluid temperature partial derivative. | |
| su2double | GetdTde_rho () const |
| Get fluid temperature partial derivative. | |
| su2double | Getdhdrho_P () const |
| Get fluid enthalpy partial derivative. | |
| su2double | GetdhdP_rho () const |
| Get fluid enthalpy partial derivative. | |
| su2double | Getdsdrho_P () const |
| Get fluid entropy partial derivative. | |
| su2double | GetdsdP_rho () const |
| Get fluid entropy partial derivative. | |
| su2double | Getdmudrho_T () |
| Get fluid dynamic viscosity partial derivative. | |
| su2double | GetdmudT_rho () |
| Get fluid dynamic viscosity partial derivative. | |
| su2double | Getdktdrho_T () const |
| Get fluid thermal conductivity partial derivative. | |
| su2double | GetdktdT_rho () const |
| Get fluid thermal conductivity partial derivative. | |
| virtual void | SetCpModel (const CConfig *config, su2double val_Temperature_Ref) |
| Set specific heat Cp model. | |
| virtual void | SetLaminarViscosityModel (const CConfig *config) |
| Set viscosity model. | |
| virtual void | SetThermalConductivityModel (const CConfig *config) |
| Set thermal conductivity model. | |
| virtual void | SetMassDiffusivityModel (const CConfig *config) |
| Set mass diffusivity model. | |
| virtual void | SetTDState_T (su2double val_Temperature, const su2double *val_scalars=nullptr) |
| Virtual member. | |
| virtual void | SetTDState_h (su2double val_enthalpy, const su2double *val_scalars=nullptr) |
| Virtual member. | |
| void | SetEddyViscosity (su2double val_Mu_Turb) |
| Set fluid eddy viscosity provided by a turbulence model needed for computing effective thermal conductivity. | |
| void | SetPressure (su2double val_pressure) |
| Set the thermodynamic pressure of the incompressible fluid models. | |
| virtual unsigned long | GetExtrapolation () const |
| Get fluid model extrapolation instance. | |
| virtual bool | GetPreferentialDiffusion () const |
| Get the state of the Preferential diffusion model for flamelet simulations. | |
| virtual unsigned long | GetnIter_Newton () |
| Get number of Newton solver iterations. | |
Protected Attributes | |
| su2double | a {0.0} |
| model parameter. | |
| su2double | b {0.0} |
| model parameter. | |
| su2double | Zed {0.0} |
| compressibility factor. | |
Protected Attributes inherited from CIdealGas | |
| su2double | Gamma {0.0} |
| Ratio of Specific Heats. | |
| su2double | Gamma_Minus_One {0.0} |
| Ratio of Specific Heats Minus One. | |
| su2double | Gas_Constant {0.0} |
| Gas Constant. | |
| bool | ComputeEntropy {true} |
| Whether or not to compute entropy. | |
Protected Attributes inherited from CFluidModel | |
| su2double | StaticEnergy {0.0} |
| Internal Energy. | |
| su2double | Enthalpy {0.0} |
| Enthalpy. | |
| su2double | Entropy {0.0} |
| Entropy. | |
| su2double | Density {0.0} |
| Density. | |
| su2double | Pressure {0.0} |
| Pressure. | |
| su2double | SoundSpeed2 {0.0} |
| SpeedSound. | |
| su2double | Temperature {0.0} |
| Temperature. | |
| su2double | dPdrho_e {0.0} |
| DpDd_e. | |
| su2double | dPde_rho {0.0} |
| DpDe_d. | |
| su2double | dTdrho_e {0.0} |
| DTDd_e. | |
| su2double | dTde_rho {0.0} |
| DTDe_d. | |
| su2double | dhdrho_P {0.0} |
| DhDrho_p. | |
| su2double | dhdP_rho {0.0} |
| DhDp_rho. | |
| su2double | dsdrho_P {0.0} |
| DsDrho_p. | |
| su2double | dsdP_rho {0.0} |
| DsDp_rho. | |
| su2double | Cp {0.0} |
| Specific Heat Capacity at constant pressure. | |
| su2double | Cv {0.0} |
| Specific Heat Capacity at constant volume. | |
| su2double | Mu {0.0} |
| Laminar viscosity. | |
| su2double | Mu_Turb {0.0} |
| Eddy viscosity provided by a turbulence model. | |
| su2double | dmudrho_T {0.0} |
| Partial derivative of viscosity w.r.t. density. | |
| su2double | dmudT_rho {0.0} |
| Partial derivative of viscosity w.r.t. temperature. | |
| su2double | Kt {0.0} |
| Thermal conductivity. | |
| su2double | dktdrho_T {0.0} |
| Partial derivative of conductivity w.r.t. density. | |
| su2double | dktdT_rho {0.0} |
| Partial derivative of conductivity w.r.t. temperature. | |
| su2double | mass_diffusivity {0.0} |
| Mass Diffusivity. | |
| unique_ptr< CViscosityModel > | LaminarViscosity |
| Laminar Viscosity Model. | |
| unique_ptr< CConductivityModel > | ThermalConductivity |
| Thermal Conductivity Model. | |
| unique_ptr< CDiffusivityModel > | MassDiffusivity |
| Mass Diffusivity Model. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from CFluidModel | |
| static unique_ptr< CViscosityModel > | MakeLaminarViscosityModel (const CConfig *config, unsigned short iSpecies) |
| Instantiate the right type of viscosity model based on config. | |
| static unique_ptr< CConductivityModel > | MakeThermalConductivityModel (const CConfig *config, unsigned short iSpecies) |
| Instantiate the right type of conductivity model based on config. | |
| static unique_ptr< CDiffusivityModel > | MakeMassDiffusivityModel (const CConfig *config, unsigned short iSpecies) |
| Instantiate the right type of mass diffusivity model based on config. | |
Child class for defining the Van der Waals model.
Constructor of the class.
compute some derivatives of enthalpy and entropy needed for subsonic inflow BC
| [in] | InputSpec | - Input pair for FLP calls ("Pv"). |
| [in] | th1 | - first thermodynamic variable (P). |
| [in] | th2 | - second thermodynamic variable (v). |
Reimplemented from CIdealGas.
Set the Dimensionless Internal Energy using Pressure and Density.
| [in] | P | - first thermodynamic variable. |
| [in] | rho | - second thermodynamic variable. |
Reimplemented from CIdealGas.
Set the Dimensionless state using Enthalpy and Entropy.
| [in] | h | - first thermodynamic variable (h). |
| [in] | s | - second thermodynamic variable (s). |
Reimplemented from CIdealGas.
Set the Dimensionless State using Pressure and Density.
| [in] | P | - first thermodynamic variable. |
| [in] | rho | - second thermodynamic variable. |
Reimplemented from CIdealGas.
Set the Dimensionless State using Pressure and Entropy.
| [in] | P | - first thermodynamic variable (P). |
| [in] | s | - second thermodynamic variable (s). |
Reimplemented from CIdealGas.
Set the Dimensionless State using Pressure and Temperature.
| [in] | P | - first thermodynamic variable. |
| [in] | T | - second thermodynamic variable. |
Reimplemented from CIdealGas.
Set the Dimensionless State using Density and Internal Energy.
| [in] | rho | - first thermodynamic variable. |
| [in] | e | - second thermodynamic variable. |
Reimplemented from CIdealGas.
Set the Dimensionless state using Density and Temperature.
| [in] | rho | - first thermodynamic variable (rho). |
| [in] | T | - second thermodynamic variable (T). |
Reimplemented from CIdealGas.
|
protected |
model parameter.
|
protected |
model parameter.
|
protected |
compressibility factor.