https://mooseframework.inl.gov
Public Member Functions | Static Public Member Functions | List of all members
PCNSFVHLLCMassBC< T > Class Template Reference

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

#include <PCNSFVHLLCMassBC.h>

Inheritance diagram for PCNSFVHLLCMassBC< T >:
[legend]

Public Member Functions

 PCNSFVHLLCMassBC (const InputParameters &params)
 
template<>
InputParameters validParams ()
 
template<>
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 More...
 
virtual ADReal fluxBoundary () override
 
virtual ADReal hllcElem () override
 HLLC modifications to flux for elem & boundary, see Toro. More...
 
virtual ADReal hllcBoundary () override
 
virtual ADReal conservedVariableElem () override
 
virtual ADReal conservedVariableBoundary () override
 

Detailed Description

template<typename T>
class PCNSFVHLLCMassBC< T >

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

Definition at line 20 of file PCNSFVHLLCMassBC.h.

Constructor & Destructor Documentation

◆ PCNSFVHLLCMassBC()

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

Definition at line 36 of file PCNSFVHLLCMassBC.C.

36  : T(params)
37 {
38 }

Member Function Documentation

◆ conservedVariableBoundary()

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

Definition at line 77 of file PCNSFVHLLCMassBC.C.

78 {
79  return this->_eps_boundary * this->_rho_boundary;
80 }

◆ conservedVariableElem()

template<typename T >
ADReal PCNSFVHLLCMassBC< 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 PCNSFVHLLCMassBC.C.

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

◆ fluxBoundary()

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

Definition at line 49 of file PCNSFVHLLCMassBC.C.

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

◆ fluxElem()

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

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

Definition at line 42 of file PCNSFVHLLCMassBC.C.

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

◆ hllcBoundary()

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

Definition at line 63 of file PCNSFVHLLCMassBC.C.

64 {
65  return 1;
66 }

◆ hllcElem()

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

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

Definition at line 56 of file PCNSFVHLLCMassBC.C.

57 {
58  return 1;
59 }

◆ validParams() [1/3]

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

Definition at line 17 of file PCNSFVHLLCMassBC.C.

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

◆ validParams() [2/3]

Definition at line 27 of file PCNSFVHLLCMassBC.C.

28 {
30  params.addClassDescription("Implements the mass boundary flux portion of the porous HLLC "
31  "discretization given specified pressure");
32  return params;
33 }
void addClassDescription(const std::string &doc_string)

◆ validParams() [3/3]


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