https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CNSFVFluidEnergyHLLC.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
13namespace nms = NS;
14
15// Full specialization of the validParams function for this object
17
20{
23 "Implements the fluid energy flux portion of the free-flow HLLC discretization.");
24 return params;
25}
26
28 : CNSFVHLLC(params),
29 _ht_elem(getADMaterialProperty<Real>(nms::specific_total_enthalpy)),
30 _ht_neighbor(getNeighborADMaterialProperty<Real>(nms::specific_total_enthalpy))
31{
32}
33
39
45
53
61
67
DualNumber< Real, DNDerivativeType, true > ADReal
registerADMooseObject("NavierStokesApp", CNSFVFluidEnergyHLLC)
Implements the advective flux in the conservation of fluid energy equation using a HLLC discretizatio...
virtual ADReal hllcNeighbor() override
virtual ADReal fluxElem() override
flux functions on elem & neighbor, i.e. standard left/right values of F
const ADMaterialProperty< Real > & _ht_neighbor
static InputParameters validParams()
virtual ADReal conservedVariableNeighbor() override
CNSFVFluidEnergyHLLC(const InputParameters &params)
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & neighbor, see Toro.
const ADMaterialProperty< Real > & _ht_elem
enthalpies left == elem, right == neighbor
virtual ADReal conservedVariableElem() override
virtual ADReal fluxNeighbor() override
const ADMaterialProperty< Real > & _pressure_elem
pressures left == elem, right == neighbor
ADReal _normal_speed_neighbor
const ADMaterialProperty< Real > & _rho_elem
densities left == elem, right == neighbor
const ADMaterialProperty< Real > & _rho_neighbor
const ADMaterialProperty< Real > & _rho_et_elem
const ADMaterialProperty< Real > & _rho_et_neighbor
ADReal _normal_speed_elem
speeds normal to the interface
const ADMaterialProperty< Real > & _pressure_neighbor
ADReal _SL
the wave speeds
Base class for HLLC inter-cell flux kernels.
Definition CNSFVHLLC.h:20
static InputParameters validParams()
Definition CNSFVHLLC.C:13
const unsigned int _qp
void addClassDescription(const std::string &doc_string)