26 _specific_internal_energy_elem(getADMaterialProperty<Real>(
NS::specific_internal_energy)),
27 _vel_elem(getADMaterialProperty<RealVectorValue>(
NS::velocity)),
28 _speed_elem(getADMaterialProperty<Real>(
NS::speed)),
29 _rho_elem(getADMaterialProperty<Real>(
NS::density)),
30 _pressure_elem(getADMaterialProperty<Real>(
NS::pressure)),
31 _rho_et_elem(getADMaterialProperty<Real>(
NS::total_energy_density)),
32 _ht_elem(getADMaterialProperty<Real>(
NS::specific_total_enthalpy)),
33 _eps_elem(getMaterialProperty<Real>(
NS::porosity))
54 _SL = std::move(wave_speeds[0]);
55 _SM = std::move(wave_speeds[1]);
56 _SR = std::move(wave_speeds[2]);
DualNumber< Real, DNDerivativeType, true > ADReal
Real f(Real x)
Test function for Brents method.
ADRealVectorValue _normal
static InputParameters validParams()
void mooseError(Args &&... args) const
static InputParameters validParams()
const ADMaterialProperty< RealVectorValue > & _vel_elem
PCNSFVHLLCBC(const InputParameters ¶meters)
ADReal _normal_speed_boundary
these quantities must be computed in preComputeWaveSpeed
virtual ADReal fluxElem()=0
flux functions on elem & from boundary
ADReal _normal_speed_elem
speeds normal to the interface on the element side
ADReal _specific_internal_energy_boundary
ADRealVectorValue _vel_boundary
virtual ADReal computeQpResidual() override
virtual ADReal conservedVariableElem()=0
conserved variable of this equation from elem and boundary
const SinglePhaseFluidProperties & _fluid
fluid properties
virtual ADReal conservedVariableBoundary()=0
const ADMaterialProperty< Real > & _rho_elem
virtual ADReal hllcBoundary()=0
const ADMaterialProperty< Real > & _specific_internal_energy_elem
material properties on the elem side of the boundary
const MaterialProperty< Real > & _eps_elem
virtual ADReal fluxBoundary()=0
ADReal _SL
the wave speeds
virtual ADReal hllcElem()=0
HLLC modifications to flux for elem & boundary, see Toro.
virtual void preComputeWaveSpeed()=0
this function is a call back for setting quantities for computing wave speed before calling the wave ...
static std::array< ADReal, 3 > waveSpeed(const ADReal &rho_elem, const ADRealVectorValue &vel_elem, const ADReal &e_elem, Real eps_elem, const ADReal &rho_neighbor, const ADRealVectorValue &vel_neighbor, const ADReal &e_neighbor, Real eps_neighbor, const SinglePhaseFluidProperties &fluid, const ADRealVectorValue &normal)
helper function for computing wave speed
Common class for single phase fluid properties.
static const std::string fluid