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

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

#include <PCNSFVHLLCFluidEnergyBC.h>

Inheritance diagram for PCNSFVHLLCFluidEnergyBC< T >:
[legend]

Public Member Functions

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

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

Definition at line 20 of file PCNSFVHLLCFluidEnergyBC.h.

Constructor & Destructor Documentation

◆ PCNSFVHLLCFluidEnergyBC()

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

Definition at line 36 of file PCNSFVHLLCFluidEnergyBC.C.

36  : T(params)
37 {
38 }

Member Function Documentation

◆ conservedVariableBoundary()

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

Definition at line 85 of file PCNSFVHLLCFluidEnergyBC.C.

86 {
87  return this->_eps_boundary * this->_rho_et_boundary;
88 }

◆ conservedVariableElem()

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

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

◆ fluxBoundary()

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

Definition at line 50 of file PCNSFVHLLCFluidEnergyBC.C.

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

◆ fluxElem()

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

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

Definition at line 42 of file PCNSFVHLLCFluidEnergyBC.C.

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

◆ hllcBoundary()

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

Definition at line 68 of file PCNSFVHLLCFluidEnergyBC.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 PCNSFVHLLCFluidEnergyBC< T >::hllcElem ( )
overrideprotectedvirtual

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

Definition at line 58 of file PCNSFVHLLCFluidEnergyBC.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 PCNSFVHLLCFluidEnergyBC< T >::validParams ( )
static

Definition at line 17 of file PCNSFVHLLCFluidEnergyBC.C.

18 {
20  params.addClassDescription("Implements the fluid energy 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 PCNSFVHLLCFluidEnergyBC.C.

28 {
30  params.addClassDescription("Implements the fluid energy 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: