https://mooseframework.inl.gov
CNSFVHLLCFluidEnergyStagnationInletBC.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 
11 #include "NS.h"
12 
13 // Full specialization of the validParams function for this object
15 
18 {
20  params.addClassDescription("Adds the boundary fluid energy flux for HLLC when provided "
21  "stagnation temperature and pressure");
22  return params;
23 }
24 
26  const InputParameters & parameters)
27  : CNSFVHLLCStagnationInletBC(parameters),
28  _ht_elem(getADMaterialProperty<Real>(NS::specific_total_enthalpy))
29 {
30 }
31 
32 ADReal
34 {
36 }
37 
38 ADReal
40 {
42 }
43 
44 ADReal
46 {
50 }
51 
52 ADReal
54 {
58 }
59 
60 ADReal
62 {
64 }
65 
66 ADReal
68 {
70 }
Base class for the HLLC stagnation inlet boundary conditions.
ADReal _p_boundary
pressure on the boundary side
ADReal _SL
the wave speeds
CNSFVHLLCFluidEnergyStagnationInletBC(const InputParameters &parameters)
DualNumber< Real, DNDerivativeType, true > ADReal
const ADMaterialProperty< Real > & _rho_elem
virtual ADReal fluxElem() override
flux functions on elem & from boundary
virtual ADReal conservedVariableElem() override
conserved variable of this equation from elem and boundary
const unsigned int _qp
HLLC stagnation inlet boundary conditions for the conservation of energy equation.
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & boundary, see Toro.
registerADMooseObject("NavierStokesApp", CNSFVHLLCFluidEnergyStagnationInletBC)
ADReal _ht_boundary
enthalpy on the boundary side
const ADMaterialProperty< Real > & _specific_internal_energy_elem
material properties on the elem side of the boundary
ADReal _normal_speed_boundary
these quantities must be computed in preComputeWaveSpeed
const ADMaterialProperty< Real > & _pressure_elem
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string specific_total_enthalpy
Definition: NS.h:69
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
const ADMaterialProperty< Real > & _ht_elem
specific total enthalpy material property on elem side
ADReal _specific_internal_energy_boundary
ADReal _normal_speed_elem
speeds normal to the interface on the element side