https://mooseframework.inl.gov
PCNSFVMassHLLC.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 
10 #include "PCNSFVMassHLLC.h"
11 
12 registerMooseObject("NavierStokesApp", PCNSFVMassHLLC);
13 
16 {
18  params.addClassDescription("Implements the mass flux portion of the porous HLLC discretization.");
19  return params;
20 }
21 
23 
24 ADReal
26 {
28 }
29 
30 ADReal
32 {
34 }
35 
36 ADReal
38 {
39  return 1;
40 }
41 
42 ADReal
44 {
45  return 1;
46 }
47 
48 ADReal
50 {
51  return _eps_elem[_qp] * _rho_elem[_qp];
52 }
53 
54 ADReal
56 {
58 }
Implements the advective flux in the porous conservation of mass equation using a HLLC discretization...
const MaterialProperty< Real > & _eps_elem
porosities left == elem, right == neighbor
Definition: PCNSFVHLLC.h:105
virtual ADReal fluxNeighbor() override
virtual ADReal conservedVariableElem() override
DualNumber< Real, DNDerivativeType, true > ADReal
virtual ADReal fluxElem() override
flux functions on elem & neighbor, i.e. standard left/right values of F
ADReal _normal_speed_neighbor
Definition: PCNSFVHLLC.h:68
const ADMaterialProperty< Real > & _rho_elem
densities left == elem, right == neighbor
Definition: PCNSFVHLLC.h:95
Base class for porous HLLC inter-cell flux kernels.
Definition: PCNSFVHLLC.h:23
const unsigned int _qp
registerMooseObject("NavierStokesApp", PCNSFVMassHLLC)
static InputParameters validParams()
PCNSFVMassHLLC(const InputParameters &params)
static InputParameters validParams()
Definition: PCNSFVHLLC.C:17
void addClassDescription(const std::string &doc_string)
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & neighbor, see Toro.
const ADMaterialProperty< Real > & _rho_neighbor
Definition: PCNSFVHLLC.h:96
virtual ADReal hllcNeighbor() override
const MaterialProperty< Real > & _eps_neighbor
Definition: PCNSFVHLLC.h:106
virtual ADReal conservedVariableNeighbor() override
ADReal _normal_speed_elem
speeds normal to the interface
Definition: PCNSFVHLLC.h:67