https://mooseframework.inl.gov
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 
19 template <typename T>
20 class PCNSFVHLLCMomentumBC : public T
21 {
22 public:
24  static void addCommonParams(InputParameters & params);
25  PCNSFVHLLCMomentumBC(const InputParameters & params);
26 
27 protected:
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 
51 template <>
static void addCommonParams(InputParameters &params)
virtual ADReal conservedVariableElem() override
static InputParameters validParams()
virtual ADReal fluxBoundary() override
DualNumber< Real, DNDerivativeType, true > ADReal
PCNSFVHLLCMomentumBC(const InputParameters &params)
const unsigned int _index
PCNSFVHLLCMomentumBC< PCNSFVHLLCSpecifiedMassFluxAndTemperatureBC > PCNSFVHLLCSpecifiedMassFluxAndTemperatureMomentumBC
Template class for implementing the advective flux plus pressure terms in the porous conservation of ...
virtual ADReal conservedVariableBoundary() override
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & boundary, see Toro.
virtual ADReal hllcBoundary() override
virtual ADReal fluxElem() override
flux functions on elem & boundary, i.e. standard left/right values of F
PCNSFVHLLCMomentumBC< PCNSFVHLLCSpecifiedPressureBC > PCNSFVHLLCSpecifiedPressureMomentumBC