https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PCNSFVHLLCMomentumBC.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 PCNSFVHLLCMomentumBC : 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
const double T
PCNSFVHLLCMomentumBC< PCNSFVHLLCSpecifiedPressureBC > PCNSFVHLLCSpecifiedPressureMomentumBC
PCNSFVHLLCMomentumBC< PCNSFVHLLCSpecifiedMassFluxAndTemperatureBC > PCNSFVHLLCSpecifiedMassFluxAndTemperatureMomentumBC
Template class for implementing the advective flux plus pressure terms in the porous conservation of ...
virtual ADReal fluxBoundary() override
virtual ADReal conservedVariableBoundary() override
virtual ADReal hllcBoundary() override
virtual ADReal conservedVariableElem() override
virtual ADReal fluxElem() override
flux functions on elem & boundary, i.e. standard left/right values of F
static void addCommonParams(InputParameters &params)
const unsigned int _index
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & boundary, see Toro.
static InputParameters validParams()