https://mooseframework.inl.gov
CNSFVHLLCImplicitBC.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 "CNSFVHLLCImplicitBC.h"
11 
14 {
16  return params;
17 }
18 
20  : CNSFVHLLCBC(parameters)
21 {
22 }
23 
24 void
26 {
31 }
32 
33 ADReal
35 {
36  return fluxElem();
37 }
38 
39 ADReal
41 {
42  return hllcElem();
43 }
44 
45 ADReal
47 {
48  return conservedVariableElem();
49 }
virtual ADReal conservedVariableElem()=0
conserved variable of this equation from elem and boundary
static InputParameters validParams()
Definition: CNSFVHLLCBC.C:16
virtual ADReal hllcBoundary() override
virtual ADReal fluxBoundary() override
static InputParameters validParams()
DualNumber< Real, DNDerivativeType, true > ADReal
const ADMaterialProperty< RealVectorValue > & _vel_elem
virtual ADReal hllcElem()=0
HLLC modifications to flux for elem & boundary, see Toro.
const ADMaterialProperty< Real > & _rho_elem
const unsigned int _qp
virtual ADReal conservedVariableBoundary() override
CNSFVHLLCImplicitBC(const InputParameters &parameters)
const ADMaterialProperty< Real > & _specific_internal_energy_elem
material properties on the elem side of the boundary
ADReal _normal_speed_boundary
these quantities must be computed in preComputeWaveSpeed
virtual ADReal fluxElem()=0
flux functions on elem & from boundary
Base clase for HLLC boundary condition for Euler equation.
Definition: CNSFVHLLCBC.h:20
virtual void preComputeWaveSpeed() override
this function is a call back for setting quantities for computing wave speed before calling the wave ...
ADReal _specific_internal_energy_boundary
ADReal _normal_speed_elem
speeds normal to the interface on the element side
ADRealVectorValue _vel_boundary