https://mooseframework.inl.gov
CNSFVHLLCFluidEnergyImplicitBC.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("Implements an implicit advective boundary flux for the fluid energy "
21  "equation for an HLLC discretization");
22  return params;
23 }
24 
26  : CNSFVHLLCImplicitBC(parameters),
27  _ht_elem(getADMaterialProperty<Real>(NS::specific_total_enthalpy))
28 {
29 }
30 
31 ADReal
33 {
35 }
36 
37 ADReal
39 {
40  return _rho_et_elem[_qp] / _rho_elem[_qp] +
43 }
44 
45 ADReal
47 {
48  return _rho_et_elem[_qp];
49 }
HLLC implicit boundary conditions.
registerADMooseObject("NavierStokesApp", CNSFVHLLCFluidEnergyImplicitBC)
const ADMaterialProperty< Real > & _ht_elem
specific total enthalpy material property on elem side
ADReal _SL
the wave speeds
CNSFVHLLCFluidEnergyImplicitBC(const InputParameters &parameters)
virtual ADReal conservedVariableElem() override
conserved variable of this equation from elem and boundary
static InputParameters validParams()
DualNumber< Real, DNDerivativeType, true > ADReal
const ADMaterialProperty< Real > & _rho_elem
const unsigned int _qp
virtual ADReal fluxElem() override
flux functions on elem & from boundary
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
HLLC implicit boundary conditions for the energy conservation equation.
void addClassDescription(const std::string &doc_string)
ADReal _normal_speed_elem
speeds normal to the interface on the element side
const ADMaterialProperty< Real > & _rho_et_elem
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & boundary, see Toro.