StiffenedGasEOS Struct Reference

Developer Documentation: MeltPoolDG::Flow::StiffenedGasEOS Struct Reference
Developer Documentation
MeltPoolDG::Flow::StiffenedGasEOS Struct Reference

#include <equation_of_state.hpp>

Static Public Member Functions

template<EOSIsConservativeValueView ValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto thermodynamic_pressure (const ValueView &value_view, const MaterialView &material_view)
 
template<EOSIsConservativeValueView ValueView, EOSIsGradientView GradientView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto grad_temperature (const ValueView &value_view, const GradientView &gradient_view, const MaterialView &material_view)
 
template<EOSIsConservativeValueView ValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto speed_of_sound (const ValueView &value_view, const MaterialView &material_view)
 
template<EOSIsConservativeValueView ValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto temperature (const ValueView &value_view, const MaterialView &material_view)
 
template<typename ValueType , EOSIsConservativeValueView ValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto inner_energy_from_pressure (const ValueType &pressure, const ValueView &, const MaterialView &material_view)
 
template<typename ValueView , StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto specific_internal_energy (const ValueView &value_view, const MaterialView &material_view)
 
template<int dim, EOSIsWritableConservativeValueView WritableConservativeValueView, EOSIsPrimitiveValueView PrimitiveValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE void conservative_from_primitive (WritableConservativeValueView &conservative_value_view, const PrimitiveValueView &primitive_value_view, const MaterialView &material_view)
 

Member Function Documentation

◆ conservative_from_primitive()

template<int dim, EOSIsWritableConservativeValueView WritableConservativeValueView, EOSIsPrimitiveValueView PrimitiveValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE void MeltPoolDG::Flow::StiffenedGasEOS::conservative_from_primitive ( WritableConservativeValueView &  conservative_value_view,
const PrimitiveValueView &  primitive_value_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the set of conserved variables (density, momentum, total energy) from the given state of primitive variables (pressure, velocity, temperature) for a stiffened gas.

Parameters
conservative_value_viewView providing writable access to the flow state in conservative variables, which is computed.
primitive_value_viewView providing access to the flow state in primitive variables.
material_viewView providing access to the material properties.

◆ grad_temperature()

template<EOSIsConservativeValueView ValueView, EOSIsGradientView GradientView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::StiffenedGasEOS::grad_temperature ( const ValueView &  value_view,
const GradientView &  gradient_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the gradient of the temperature for a stiffened gas from the given flow state and material properties.

Parameters
value_viewView providing access to the flow state.
gradient_viewView providing access to the gradients of the flow state.
material_viewView providing access to the material properties.
Returns
Gradient of the temperature resulting from the given flow state and material properties.

◆ inner_energy_from_pressure()

template<typename ValueType , EOSIsConservativeValueView ValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::StiffenedGasEOS::inner_energy_from_pressure ( const ValueType &  pressure,
const ValueView &  ,
const MaterialView &  material_view 
)
inlinestatic

Compute the inner energy from a given pressure for a stiffened gas with the given material properties.

Parameters
pressurePressure for which the inner energy should be computed.
material_viewView providing access to the material properties.
Returns
Inner energy resulting from the given pressure and material properties.

◆ specific_internal_energy()

template<typename ValueView , StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::StiffenedGasEOS::specific_internal_energy ( const ValueView &  value_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the specific internal energy from a given flow state and material properties for a stiffened gas.

Parameters
value_viewView providing access to the flow state.
material_viewView providing access to the material properties.

◆ speed_of_sound()

template<EOSIsConservativeValueView ValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::StiffenedGasEOS::speed_of_sound ( const ValueView &  value_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the speed of sound for a stiffened gas from the given flow state and material properties.

Parameters
value_viewView providing access to the flow state.
material_viewView providing access to the material properties.
Returns
Speed of sound resulting from the given flow state and material properties.

◆ temperature()

template<EOSIsConservativeValueView ValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::StiffenedGasEOS::temperature ( const ValueView &  value_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the temperature for a stiffened gas from the given flow state and material properties.

Parameters
value_viewView providing access to the flow state.
material_viewView providing access to the material properties.
Returns
Temperature resulting from the given flow state and material properties.

◆ thermodynamic_pressure()

template<EOSIsConservativeValueView ValueView, StiffenedGasIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::StiffenedGasEOS::thermodynamic_pressure ( const ValueView &  value_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the thermodynamic pressure for a stiffened gas from the given flow state.

Parameters
value_viewView providing access to the flow state.
material_viewView providing access to the material properties.
Returns
Pressure resulting from the given flow state and material properties.

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