https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CNSFVHLLCMomentumBC.h
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#pragma once
11
14
19template <typename T>
20class CNSFVHLLCMomentumBC : public T
21{
22public:
24 static void addCommonParams(InputParameters & params);
26
27protected:
29 virtual ADReal fluxElem() override;
30 virtual ADReal fluxBoundary() override;
32
34 virtual ADReal hllcElem() override;
35 virtual ADReal hllcBoundary() override;
37
40 virtual ADReal conservedVariableElem() override;
41 virtual ADReal conservedVariableBoundary() override;
43
44 const unsigned int _index;
45};
46
50
51template <>
DualNumber< Real, DNDerivativeType, true > ADReal
CNSFVHLLCMomentumBC< CNSFVHLLCSpecifiedPressureBC > CNSFVHLLCSpecifiedPressureMomentumBC
CNSFVHLLCMomentumBC< CNSFVHLLCSpecifiedMassFluxAndTemperatureBC > CNSFVHLLCSpecifiedMassFluxAndTemperatureMomentumBC
const double T
Template class for implementing the advective flux plus pressure terms in the conservation of momentu...
virtual ADReal fluxElem() override
flux functions on elem & boundary, i.e. standard left/right values of F
static void addCommonParams(InputParameters &params)
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & boundary, see Toro.
virtual ADReal hllcBoundary() override
virtual ADReal fluxBoundary() override
static InputParameters validParams()
virtual ADReal conservedVariableElem() override
const unsigned int _index
virtual ADReal conservedVariableBoundary() override