DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty Struct Reference

Ideal gas thermodynamic property set. More...

#include <EulerEvaluatorSettings.hpp>

Public Member Functions

 DNDS_DECLARE_CONFIG (IdealGasProperty)
 
void recomputeDerived ()
 Recompute derived quantities (CpGas) from gamma and Rgas after deserialization.
 

Public Attributes

real gamma = 1.4
 Ratio of specific heats (Cp/Cv).
 
real Rgas = 1
 Specific gas constant (J/(kg·K) in dimensional runs).
 
real muGas = 1
 Dynamic viscosity (or reference viscosity for Sutherland).
 
real prGas = 0.72
 Prandtl number.
 
real CpGas = Rgas * gamma / (gamma - 1)
 Heat capacity at constant pressure (derived, not serialized).
 
real TRef = 273.15
 Reference temperature (K) for Sutherland's law.
 
real CSutherland = 110.4
 Sutherland constant (K).
 
int muModel = 1
 Viscosity model: 0 = constant, 1 = Sutherland, 2 = constant_nu.
 

Detailed Description

template<EulerModel model>
struct DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty

Ideal gas thermodynamic property set.

Stores gamma, gas constant, viscosity parameters, and Prandtl number. The heat capacity CpGas is a derived quantity recomputed automatically after deserialization via the post_read hook calling recomputeDerived().

Definition at line 270 of file EulerEvaluatorSettings.hpp.

Member Function Documentation

◆ DNDS_DECLARE_CONFIG()

template<EulerModel model>
DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::DNDS_DECLARE_CONFIG ( IdealGasProperty  )
inline

Definition at line 281 of file EulerEvaluatorSettings.hpp.

Here is the call graph for this function:

◆ recomputeDerived()

template<EulerModel model>
void DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::recomputeDerived ( )
inline

Recompute derived quantities (CpGas) from gamma and Rgas after deserialization.

Definition at line 299 of file EulerEvaluatorSettings.hpp.

Member Data Documentation

◆ CpGas

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::CpGas = Rgas * gamma / (gamma - 1)

Heat capacity at constant pressure (derived, not serialized).

Definition at line 276 of file EulerEvaluatorSettings.hpp.

◆ CSutherland

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::CSutherland = 110.4

Sutherland constant (K).

Definition at line 278 of file EulerEvaluatorSettings.hpp.

◆ gamma

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::gamma = 1.4

Ratio of specific heats (Cp/Cv).

Definition at line 272 of file EulerEvaluatorSettings.hpp.

◆ muGas

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::muGas = 1

Dynamic viscosity (or reference viscosity for Sutherland).

Definition at line 274 of file EulerEvaluatorSettings.hpp.

◆ muModel

template<EulerModel model>
int DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::muModel = 1

Viscosity model: 0 = constant, 1 = Sutherland, 2 = constant_nu.

Definition at line 279 of file EulerEvaluatorSettings.hpp.

◆ prGas

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::prGas = 0.72

Prandtl number.

Definition at line 275 of file EulerEvaluatorSettings.hpp.

◆ Rgas

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::Rgas = 1

Specific gas constant (J/(kg·K) in dimensional runs).

Definition at line 273 of file EulerEvaluatorSettings.hpp.

◆ TRef

template<EulerModel model>
real DNDS::Euler::EulerEvaluatorSettings< model >::IdealGasProperty::TRef = 273.15

Reference temperature (K) for Sutherland's law.

Definition at line 277 of file EulerEvaluatorSettings.hpp.


The documentation for this struct was generated from the following file: