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

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

#include <CNSFVHLLCMassBC.h>

Inheritance diagram for CNSFVHLLCMassBC< T >:
[legend]

Public Member Functions

 CNSFVHLLCMassBC (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 CNSFVHLLCMassBC< T >

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

Definition at line 20 of file CNSFVHLLCMassBC.h.

Constructor & Destructor Documentation

◆ CNSFVHLLCMassBC()

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

Definition at line 36 of file CNSFVHLLCMassBC.C.

36 : T(params)
37{
38}
const double T

Member Function Documentation

◆ conservedVariableBoundary()

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

Definition at line 77 of file CNSFVHLLCMassBC.C.

78{
79 return this->_rho_boundary;
80}

◆ conservedVariableElem()

template<typename T >
ADReal CNSFVHLLCMassBC< 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 70 of file CNSFVHLLCMassBC.C.

71{
72 return this->_rho_elem[this->_qp];
73}

◆ fluxBoundary()

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

Definition at line 49 of file CNSFVHLLCMassBC.C.

50{
51 return this->_normal_speed_boundary * this->_rho_boundary;
52}

◆ fluxElem()

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

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

Definition at line 42 of file CNSFVHLLCMassBC.C.

43{
44 return this->_normal_speed_elem * this->_rho_elem[this->_qp];
45}

◆ hllcBoundary()

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

Definition at line 63 of file CNSFVHLLCMassBC.C.

64{
65 return 1;
66}

◆ hllcElem()

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

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

Definition at line 56 of file CNSFVHLLCMassBC.C.

57{
58 return 1;
59}

◆ validParams() [1/3]

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

Definition at line 17 of file CNSFVHLLCMassBC.C.

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

◆ validParams() [2/3]

◆ validParams() [3/3]

Definition at line 27 of file CNSFVHLLCMassBC.C.

28{
30 params.addClassDescription("Implements the mass boundary flux portion of the free-flow HLLC "
31 "discretization given specified pressure");
32 return params;
33}

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