https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PCNSFVFluidEnergyHLLC.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
14
17{
20 "Implements the fluid energy flux portion of the porous HLLC discretization.");
21 return params;
22}
23
25 : PCNSFVHLLC(params),
26 _ht_elem(getADMaterialProperty<Real>(NS::specific_total_enthalpy)),
27 _ht_neighbor(getNeighborADMaterialProperty<Real>(NS::specific_total_enthalpy))
28{
29}
30
36
42
50
58
64
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", PCNSFVFluidEnergyHLLC)
const unsigned int _qp
void addClassDescription(const std::string &doc_string)
Implements the advective flux in the porous conservation of fluid energy equation using a HLLC discre...
virtual ADReal conservedVariableNeighbor() override
PCNSFVFluidEnergyHLLC(const InputParameters &params)
virtual ADReal conservedVariableElem() override
virtual ADReal fluxNeighbor() override
const ADMaterialProperty< Real > & _ht_elem
enthalpies left == elem, right == neighbor
virtual ADReal hllcNeighbor() override
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & neighbor, see Toro.
static InputParameters validParams()
const ADMaterialProperty< Real > & _ht_neighbor
virtual ADReal fluxElem() override
flux functions on elem & neighbor, i.e. standard left/right values of F
Base class for porous HLLC inter-cell flux kernels.
Definition PCNSFVHLLC.h:24
static InputParameters validParams()
Definition PCNSFVHLLC.C:17
ADReal _SR
Definition PCNSFVHLLC.h:63
const ADMaterialProperty< Real > & _pressure_neighbor
Definition PCNSFVHLLC.h:101
const ADMaterialProperty< Real > & _rho_neighbor
Definition PCNSFVHLLC.h:96
ADReal _SL
the wave speeds
Definition PCNSFVHLLC.h:61
ADReal _normal_speed_elem
speeds normal to the interface
Definition PCNSFVHLLC.h:67
const ADMaterialProperty< Real > & _rho_elem
densities left == elem, right == neighbor
Definition PCNSFVHLLC.h:95
const ADMaterialProperty< Real > & _pressure_elem
pressures left == elem, right == neighbor
Definition PCNSFVHLLC.h:100
ADReal _normal_speed_neighbor
Definition PCNSFVHLLC.h:68
const MaterialProperty< Real > & _eps_elem
porosities left == elem, right == neighbor
Definition PCNSFVHLLC.h:105
ADReal _SM
Definition PCNSFVHLLC.h:62
const ADMaterialProperty< Real > & _rho_et_neighbor
Definition PCNSFVHLLC.h:81
const ADMaterialProperty< Real > & _rho_et_elem
total energies left == elem, right == neighbor
Definition PCNSFVHLLC.h:80
const MaterialProperty< Real > & _eps_neighbor
Definition PCNSFVHLLC.h:106