https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
37
43
51
59
65
DualNumber< Real, DNDerivativeType, true > ADReal
registerADMooseObject("NavierStokesApp", CNSFVHLLCFluidEnergyStagnationInletBC)
ADReal _specific_internal_energy_boundary
ADReal _normal_speed_elem
speeds normal to the interface on the element side
const ADMaterialProperty< Real > & _specific_internal_energy_elem
material properties on the elem side of the boundary
ADReal _SL
the wave speeds
ADReal _normal_speed_boundary
these quantities must be computed in preComputeWaveSpeed
const ADMaterialProperty< Real > & _pressure_elem
const ADMaterialProperty< Real > & _rho_elem
HLLC stagnation inlet boundary conditions for the conservation of energy equation.
const ADMaterialProperty< Real > & _ht_elem
specific total enthalpy material property on elem side
virtual ADReal fluxElem() override
flux functions on elem & from boundary
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & boundary, see Toro.
virtual ADReal conservedVariableElem() override
conserved variable of this equation from elem and boundary
CNSFVHLLCFluidEnergyStagnationInletBC(const InputParameters &parameters)
Base class for the HLLC stagnation inlet boundary conditions.
ADReal _p_boundary
pressure on the boundary side
static InputParameters validParams()
ADReal _ht_boundary
enthalpy on the boundary side
const unsigned int _qp
void addClassDescription(const std::string &doc_string)