https://mooseframework.inl.gov
CNSFVMassHLLC.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 "CNSFVMassHLLC.h"
11 
12 // Full specialization of the validParams function for this object
13 registerADMooseObject("NavierStokesApp", CNSFVMassHLLC);
14 
17 {
19  params.addClassDescription(
20  "Implements the mass flux portion of the free-flow HLLC discretization.");
21  return params;
22 }
23 
25 
26 ADReal
28 {
30 }
31 
32 ADReal
34 {
36 }
37 
38 ADReal
40 {
41  return 1;
42 }
43 
44 ADReal
46 {
47  return 1;
48 }
49 
50 ADReal
52 {
53  return _rho_elem[_qp];
54 }
55 
56 ADReal
58 {
59  return _rho_neighbor[_qp];
60 }
Implements the advective flux in the conservation of mass equation using a HLLC discretization.
Definition: CNSFVMassHLLC.h:17
static InputParameters validParams()
Definition: CNSFVMassHLLC.C:16
ADReal _normal_speed_neighbor
Definition: CNSFVHLLCBase.h:71
virtual ADReal fluxElem() override
flux functions on elem & neighbor, i.e. standard left/right values of F
Definition: CNSFVMassHLLC.C:27
static InputParameters validParams()
Definition: CNSFVHLLC.C:13
DualNumber< Real, DNDerivativeType, true > ADReal
const ADMaterialProperty< Real > & _rho_neighbor
Definition: CNSFVHLLCBase.h:97
virtual ADReal hllcElem() override
HLLC modifications to flux for elem & neighbor, see Toro.
Definition: CNSFVMassHLLC.C:39
virtual ADReal hllcNeighbor() override
Definition: CNSFVMassHLLC.C:45
const unsigned int _qp
Base class for HLLC inter-cell flux kernels.
Definition: CNSFVHLLC.h:19
ADReal _normal_speed_elem
speeds normal to the interface
Definition: CNSFVHLLCBase.h:70
registerADMooseObject("NavierStokesApp", CNSFVMassHLLC)
virtual ADReal conservedVariableNeighbor() override
Definition: CNSFVMassHLLC.C:57
virtual ADReal fluxNeighbor() override
Definition: CNSFVMassHLLC.C:33
void addClassDescription(const std::string &doc_string)
CNSFVMassHLLC(const InputParameters &params)
Definition: CNSFVMassHLLC.C:24
const ADMaterialProperty< Real > & _rho_elem
densities left == elem, right == neighbor
Definition: CNSFVHLLCBase.h:96
virtual ADReal conservedVariableElem() override
Definition: CNSFVMassHLLC.C:51