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