https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
CNSFVHLLCFluidEnergyBC< T > Class Template Reference

Template class for implementing the advective flux in the conservation of fluid energy equation at boundaries when using a HLLC discretization. More...

#include <CNSFVHLLCFluidEnergyBC.h>

Inheritance diagram for CNSFVHLLCFluidEnergyBC< T >:
[legend]

Public Member Functions

 CNSFVHLLCFluidEnergyBC (const InputParameters &params)
 
InputParameters validParams ()
 
InputParameters validParams ()
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Member Functions

virtual ADReal fluxElem () override
 flux functions on elem & boundary, i.e. standard left/right values of F
 
virtual ADReal fluxBoundary () override
 
virtual ADReal hllcElem () override
 HLLC modifications to flux for elem & boundary, see Toro.
 
virtual ADReal hllcBoundary () override
 
virtual ADReal conservedVariableElem () override
 
virtual ADReal conservedVariableBoundary () override
 

Detailed Description

template<typename T>
class CNSFVHLLCFluidEnergyBC< T >

Template class for implementing the advective flux in the conservation of fluid energy equation at boundaries when using a HLLC discretization.

Definition at line 20 of file CNSFVHLLCFluidEnergyBC.h.

Constructor & Destructor Documentation

◆ CNSFVHLLCFluidEnergyBC()

template<typename T >
CNSFVHLLCFluidEnergyBC< T >::CNSFVHLLCFluidEnergyBC ( const InputParameters params)

Definition at line 38 of file CNSFVHLLCFluidEnergyBC.C.

38 : T(params)
39{
40}
const double T

Member Function Documentation

◆ conservedVariableBoundary()

template<typename T >
ADReal CNSFVHLLCFluidEnergyBC< T >::conservedVariableBoundary ( )
overrideprotectedvirtual

Definition at line 85 of file CNSFVHLLCFluidEnergyBC.C.

86{
87 return this->_rho_et_boundary;
88}

◆ conservedVariableElem()

template<typename T >
ADReal CNSFVHLLCFluidEnergyBC< T >::conservedVariableElem ( )
overrideprotectedvirtual

conserved variable of this equation This is not just _u_elem/_u_boundary to allow using different sets of variables in the future

Definition at line 78 of file CNSFVHLLCFluidEnergyBC.C.

79{
80 return this->_rho_et_elem[this->_qp];
81}

◆ fluxBoundary()

template<typename T >
ADReal CNSFVHLLCFluidEnergyBC< T >::fluxBoundary ( )
overrideprotectedvirtual

Definition at line 51 of file CNSFVHLLCFluidEnergyBC.C.

52{
53 return this->_normal_speed_boundary * this->_rho_boundary * this->_ht_boundary;
54}

◆ fluxElem()

template<typename T >
ADReal CNSFVHLLCFluidEnergyBC< T >::fluxElem ( )
overrideprotectedvirtual

flux functions on elem & boundary, i.e. standard left/right values of F

Definition at line 44 of file CNSFVHLLCFluidEnergyBC.C.

45{
46 return this->_normal_speed_elem * this->_rho_elem[this->_qp] * this->_ht_elem[this->_qp];
47}

◆ hllcBoundary()

template<typename T >
ADReal CNSFVHLLCFluidEnergyBC< T >::hllcBoundary ( )
overrideprotectedvirtual

Definition at line 68 of file CNSFVHLLCFluidEnergyBC.C.

69{
70 return this->_rho_et_boundary / this->_rho_boundary +
71 (this->_SM - this->_normal_speed_boundary) *
72 (this->_SM + this->_pressure_boundary / this->_rho_boundary /
73 (this->_SR - this->_normal_speed_boundary));
74}

◆ hllcElem()

template<typename T >
ADReal CNSFVHLLCFluidEnergyBC< T >::hllcElem ( )
overrideprotectedvirtual

HLLC modifications to flux for elem & boundary, see Toro.

Definition at line 58 of file CNSFVHLLCFluidEnergyBC.C.

59{
60 return this->_rho_et_elem[this->_qp] / this->_rho_elem[this->_qp] +
61 (this->_SM - this->_normal_speed_elem) *
62 (this->_SM + this->_pressure_elem[this->_qp] / this->_rho_elem[this->_qp] /
63 (this->_SL - this->_normal_speed_elem));
64}

◆ validParams() [1/3]

template<typename T >
InputParameters CNSFVHLLCFluidEnergyBC< T >::validParams ( )
static

Definition at line 17 of file CNSFVHLLCFluidEnergyBC.C.

18{
19 InputParameters params = T::validParams();
21 "Implements the fluid energy boundary flux portion of the free-flow HLLC "
22 "discretization given specified mass fluxes and fluid temperature");
23 return params;
24}
void addClassDescription(const std::string &doc_string)

◆ validParams() [2/3]

◆ validParams() [3/3]

Definition at line 28 of file CNSFVHLLCFluidEnergyBC.C.

29{
32 "Implements the fluid energy boundary flux portion of the free-flow HLLC "
33 "discretization given specified pressure");
34 return params;
35}

The documentation for this class was generated from the following files: