![]() |
Documentation 6b54b78464
|
Child class for defining an incompressible ideal gas model. More...
#include <CFluidScalar.hpp>
Public Member Functions | |
| CFluidScalar (su2double val_operating_pressure, const CConfig *config) | |
| Constructor of the class. | |
| void | SetLaminarViscosityModel (const CConfig *config) override |
| Set viscosity model. | |
| void | SetThermalConductivityModel (const CConfig *config) override |
| Set thermal conductivity model. | |
| void | SetMassDiffusivityModel (const CConfig *config) override |
| Set mass diffusivity model. | |
| su2double | GetLaminarViscosity () override |
| Get fluid laminar viscosity. | |
| su2double | GetThermalConductivity () override |
| Get fluid thermal conductivity. | |
| su2double | GetMassDiffusivity (int ivar) override |
| Get fluid mass diffusivity. | |
| void | GetEnthalpyDiffusivity (su2double *enthalpy_diffusions) const override |
| Get the enthalpy diffusivity terms for all species being solved. | |
| void | GetGradEnthalpyDiffusivity (su2double *grad_enthalpy_diffusions) const override |
| Get the gradient of enthalpy diffusivity terms for all species being solved. | |
| void | SetTDState_T (su2double val_temperature, const su2double *val_scalars) override |
| Set the Dimensionless State using Temperature. | |
| void | SetTDState_h (su2double val_enthalpy, const su2double *val_scalars=nullptr) override |
| Virtual member. | |
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. | |
| 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 | SetTDState_rhoe (su2double rho, su2double e) |
| virtual member that would be different for each gas model implemented | |
| virtual void | SetTDState_PT (su2double P, su2double T) |
| virtual member that would be different for each gas model implemented | |
| virtual void | SetTDState_Prho (su2double P, su2double rho) |
| virtual member that would be different for each gas model implemented | |
| virtual void | SetEnergy_Prho (su2double P, su2double rho) |
| virtual member that would be different for each gas model implemented | |
| virtual void | SetTDState_hs (su2double h, su2double s) |
| virtual member that would be different for each gas model implemented | |
| virtual void | SetTDState_rhoT (su2double rho, su2double T) |
| virtual member that would be different for each gas model implemented | |
| virtual void | SetTDState_Ps (su2double P, su2double s) |
| virtual member that would be different for each gas model implemented | |
| virtual void | ComputeDerivativeNRBC_Prho (su2double P, su2double rho) |
| virtual member that would be different for each gas model implemented | |
| 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. | |
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. | |
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. | |
Child class for defining an incompressible ideal gas model.
Constructor of the class.
|
overridevirtual |
Get the enthalpy diffusivity terms for all species being solved.
This function computes and retrieves the enthalpy diffusion terms required in the energy equation for multicomponent flows.
| [in,out] | enthalpy_diffusions | - Array containing the enthalpy diffusion terms for all species to be solved. The size of enthalpy_diffusions must be at least (n_species_mixture - 1), corresponding to the number of species transport equations in the system. |
Reimplemented from CFluidModel.
|
overridevirtual |
Get the gradient of enthalpy diffusivity terms for all species being solved.
This function computes and retrieves the gradient of the enthalpy diffusion terms with respect to temperature. These terms are required for implicit computations when solving the energy equation for multicomponent flows.
| [in,out] | grad_enthalpy_diffusions | - Array containing the gradient of enthalpy diffusion terms for all species to be solved. The size of grad_enthalpy_diffusions must be at least (n_species_mixture - 1), corresponding to the number of species transport equations in the system. |
Reimplemented from CFluidModel.
|
inlineoverridevirtual |
Get fluid laminar viscosity.
Reimplemented from CFluidModel.
|
inlineoverridevirtual |
Get fluid mass diffusivity.
Reimplemented from CFluidModel.
|
inlineoverridevirtual |
Get fluid thermal conductivity.
Reimplemented from CFluidModel.
|
overridevirtual |
Set viscosity model.
Reimplemented from CFluidModel.
|
overridevirtual |
Set mass diffusivity model.
Reimplemented from CFluidModel.
|
overridevirtual |
Virtual member.
| [in] | val_enthalpy | - Enthalpy value at the point. |
| [in] | val_scalars | - Scalar mass fractions. |
Reimplemented from CFluidModel.
|
overridevirtual |
Set the Dimensionless State using Temperature.
| [in] | t | - Temperature value at the point. |
Reimplemented from CFluidModel.
|
overridevirtual |
Set thermal conductivity model.
Reimplemented from CFluidModel.