https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CNSFVHLLCMassBC.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#include "CNSFVHLLCMassBC.h"
11
14
15template <typename T>
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}
24
25template <>
28{
30 params.addClassDescription("Implements the mass boundary flux portion of the free-flow HLLC "
31 "discretization given specified pressure");
32 return params;
33}
34
35template <typename T>
37{
38}
39
40template <typename T>
43{
44 return this->_normal_speed_elem * this->_rho_elem[this->_qp];
45}
46
47template <typename T>
50{
51 return this->_normal_speed_boundary * this->_rho_boundary;
52}
53
54template <typename T>
57{
58 return 1;
59}
60
61template <typename T>
64{
65 return 1;
66}
67
68template <typename T>
71{
72 return this->_rho_elem[this->_qp];
73}
74
75template <typename T>
78{
79 return this->_rho_boundary;
80}
81
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", CNSFVHLLCSpecifiedMassFluxAndTemperatureMassBC)
const double T
Template class for implementing the advective flux in the conservation of mass equation at boundaries...
virtual ADReal conservedVariableBoundary() override
virtual ADReal conservedVariableElem() override
virtual ADReal fluxBoundary() override
CNSFVHLLCMassBC(const InputParameters &params)
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & boundary, see Toro.
static InputParameters validParams()
virtual ADReal fluxElem() override
flux functions on elem & boundary, i.e. standard left/right values of F
virtual ADReal hllcBoundary() override
void addClassDescription(const std::string &doc_string)