24 params.addRequiredParam<UserObjectName>(
NS::fluid,
"fluid userobject");
25 params.addRequiredCoupledVar(
NS::pressure,
"The pressure");
26 params.addRequiredCoupledVar(
NS::T_fluid,
"The fluid temperature");
30 params.addClassDescription(
"Provides access to variables for a primitive variable set " 31 "of pressure, temperature, and superficial velocity");
32 params.addRequiredParam<MaterialPropertyName>(
NS::porosity,
"the porosity");
41 _grad_var_pressure(adCoupledGradient(
NS::
pressure)),
42 _pressure_dot(_is_transient ? adCoupledDot(
NS::
pressure) : _ad_zero),
43 _var_T_fluid(adCoupledValue(
NS::
T_fluid)),
44 _grad_var_T_fluid(adCoupledGradient(
NS::
T_fluid)),
45 _T_fluid_dot(_is_transient ? adCoupledDot(
NS::
T_fluid) : _ad_zero),
105 mooseError(
"You must couple in a superficial y-momentum when solving 2D or 3D problems.");
108 mooseError(
"You must couple in a superficial z-momentum when solving 3D problems.");
119 const VectorValue<ADReal> superficial_momentum = {
162 const auto velocity_dot =
163 VectorValue<ADReal>(sup_vel_x_dot, sup_vel_y_dot, sup_vel_z_dot) /
_epsilon[
_qp];
164 const auto et_dot = e_dot +
_velocity[
_qp] * velocity_dot;
static const std::string superficial_density
static const std::string total_energy_density
virtual bool isCoupled(const std::string &var_name, unsigned int i=0) const
const ADVariableValue & _var_sup_mom_z_dot
static const std::string momentum_x
const ADVariableValue & _var_T_fluid
static const std::string superficial_velocity
const ADVariableGradient & _grad_var_T_fluid
ADMaterialProperty< Real > & _T_fluid
registerMooseObject("NavierStokesApp", PorousMixedVarMaterial)
ADMaterialProperty< Real > & _sup_mom_x
ADMaterialProperty< Real > & _rho_et
static InputParameters validParams()
static const std::string speed
ADMaterialProperty< Real > & _mom_y
ADMaterialProperty< Real > & _sup_rho_dot
static const std::string momentum
virtual void computeQpProperties() override
static const std::string superficial_momentum_y
ADMaterialProperty< RealVectorValue > & _grad_pressure
ADMaterialProperty< Real > & _sup_mom_z
const ADVariableValue & _var_sup_mom_z
const ADVariableGradient & _grad_var_sup_mom_z
static const std::string velocity_z
static const std::string superficial_momentum_x
const SinglePhaseFluidProperties & _fluid
fluid properties
static const std::string density
This object takes a mixed porous-flow variable set (pressure, rho epsilon U, T_fluid) and computes al...
static const std::string fluid
static const std::string superficial_momentum_z
ADMaterialProperty< RealVectorValue > & _grad_T_fluid
const MaterialProperty< Real > & _epsilon
porosity
static const std::string velocity_x
ADMaterialProperty< Real > & _sup_mom_z_dot
ADMaterialProperty< RealVectorValue > & _grad_sup_vel_z
static const std::string specific_internal_energy
ADMaterialProperty< Real > & _sup_mom_x_dot
ADMaterialProperty< Real > & _vel_x
const ADVariableValue & _pressure_dot
static const std::string porosity
ADMaterialProperty< RealVectorValue > & _mom
static const std::string T_fluid
const ADVariableGradient & _grad_var_pressure
static InputParameters validParams()
ADMaterialProperty< Real > & _vel_z
virtual unsigned int dimension() const
static const std::string superficial_velocity_y
ADMaterialProperty< Real > & _mom_x
ADMaterialProperty< Real > & _sup_vel_x
ADMaterialProperty< Real > & _mom_z
ADMaterialProperty< Real > & _pressure
properties: primitives
const ADVariableValue & _var_pressure
primitive variables
Common class for single phase fluid properties.
static const std::string velocity_y
ADMaterialProperty< Real > & _ht
ADMaterialProperty< Real > & _sup_mom_y
std::string grad(const std::string &var)
ADMaterialProperty< RealVectorValue > & _velocity
static const std::string momentum_y
const ADVariableGradient & _grad_var_sup_mom_y
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string v
template ADReal computeSpeed< ADReal >(const libMesh::VectorValue< ADReal > &velocity)
static const std::string specific_total_enthalpy
ADMaterialProperty< Real > & _sup_rho_et_dot
const ADVariableValue & _var_sup_mom_y
ADMaterialProperty< Real > & _sup_vel_y
static const std::string pressure
const ADVariableValue & _var_sup_mom_x
void mooseError(Args &&... args) const
ADMaterialProperty< Real > & _speed
static const std::string superficial_total_energy_density
const ADVariableGradient & _grad_var_sup_mom_x
ADMaterialProperty< RealVectorValue > & _grad_sup_vel_x
static const std::string velocity
ADMaterialProperty< Real > & _vel_y
static const std::string momentum_z
PorousMixedVarMaterial(const InputParameters ¶meters)
ADMaterialProperty< RealVectorValue > & _sup_vel
ADMaterialProperty< Real > & _rho
ADMaterialProperty< Real > & _e
ADMaterialProperty< Real > & _sup_vel_z
ADMaterialProperty< Real > & _sup_mom_y_dot
const ADVariableValue & _var_sup_mom_x_dot
static const std::string superficial_velocity_z
std::string time_deriv(const std::string &var)
const ADVariableValue & _var_sup_mom_y_dot
ADMaterialProperty< RealVectorValue > & _grad_sup_vel_y
static const std::string superficial_velocity_x
const ADVariableValue & _T_fluid_dot