WeaklyCompressibleEOS Struct Reference

Developer Documentation: MeltPoolDG::Flow::WeaklyCompressibleEOS Struct Reference
Developer Documentation
MeltPoolDG::Flow::WeaklyCompressibleEOS Struct Reference

#include <equation_of_state.hpp>

Static Public Member Functions

template<EOSIsConservativeValueView ValueView, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto thermodynamic_pressure (const ValueView &value_view, const MaterialView &material_view)
 
template<EOSIsConservativeValueView ValueView, EOSIsGradientView GradientView, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto grad_temperature (const ValueView &value_view, const GradientView &gradient_view, const MaterialView &material_view)
 
template<EOSIsConservativeValueView ValueView, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto speed_of_sound (const ValueView &value_view, const MaterialView &material_view)
 
template<EOSIsConservativeValueView ValueView, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto temperature (const ValueView &value_view, const MaterialView &material_view)
 
template<typename ValueType , EOSIsConservativeValueView ValueView, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto inner_energy_from_pressure (const ValueType &, const ValueView &, const MaterialView &)
 
template<typename ValueView , WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto specific_internal_energy (const ValueView &value_view, const MaterialView &)
 
template<int dim, EOSIsWritableConservativeValueView WritableConservativeValueView, EOSIsPrimitiveValueView PrimitiveValueView, WeaklyCompressibleIsMaterialView 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, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE void MeltPoolDG::Flow::WeaklyCompressibleEOS::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 weakly compressible fluid.

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, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::WeaklyCompressibleEOS::grad_temperature ( const ValueView &  value_view,
const GradientView &  gradient_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the gradient of the temperature for a weakly compressible fluid 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, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::WeaklyCompressibleEOS::inner_energy_from_pressure ( const ValueType &  ,
const ValueView &  ,
const MaterialView &   
)
inlinestatic

Compute the inner energy from a given pressure for a weakly compressible fluid with the given material properties.

Note
This function is not valid for the weakly compressible equation of state. The inner energy does not depend on pressure, but only on temperature.
Exceptions
Thefunction call is asserted.

◆ specific_internal_energy()

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

Compute the specific internal energy from a given flow state and material properties for a weakly compressible fluid.

Parameters
value_viewView providing access to the flow state.

◆ speed_of_sound()

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

Compute the speed of sound for a weakly compressible fluid 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, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::WeaklyCompressibleEOS::temperature ( const ValueView &  value_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the temperature for a weakly compressible fluid 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, WeaklyCompressibleIsMaterialView MaterialView>
static DEAL_II_ALWAYS_INLINE auto MeltPoolDG::Flow::WeaklyCompressibleEOS::thermodynamic_pressure ( const ValueView &  value_view,
const MaterialView &  material_view 
)
inlinestatic

Compute the thermodynamic pressure for a weakly compressible fluid 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: