18 params.
addClassDescription(
"Heat advection by a fluid. The fluid is assumed to have a single " 19 "phase, and the advection is fully upwinded");
26 _enthalpy(getMaterialProperty<
std::vector<
Real>>(
"PorousFlow_fluid_phase_enthalpy_nodal")),
27 _denthalpy_dvar(getMaterialProperty<
std::vector<
std::vector<
Real>>>(
28 "dPorousFlow_fluid_phase_enthalpy_nodal_dvar"))
31 mooseError(
"PorousFlowFullySaturatedUpwindHeatAdvection should not be used for multi-phase " 32 "scenarios as it does not include relative-permeability effects");
virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override
The derivative of mobility with respect to PorousFlow variable pvar.
const MaterialProperty< std::vector< std::vector< Real > > > & _dfluid_density_node_dvar
Derivative of the fluid density for each phase wrt PorousFlow variables (at the node) ...
registerMooseObject("PorousFlowApp", PorousFlowFullySaturatedUpwindHeatAdvection)
Advection of heat via flux of a single-phase fluid.
const MaterialProperty< std::vector< Real > > & _fluid_viscosity
Viscosity of each component in each phase.
PetscErrorCode PetscOptionItems *PetscErrorCode DM dm
const MaterialProperty< std::vector< std::vector< Real > > > & _dfluid_viscosity_dvar
Derivative of the fluid viscosity for each phase wrt PorousFlow variables.
static InputParameters validParams()
virtual Real mobility(unsigned nodenum, unsigned phase) const override
The mobility of the fluid.
static InputParameters validParams()
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
const MaterialProperty< std::vector< std::vector< Real > > > & _denthalpy_dvar
Derivative of the enthalpy wrt PorousFlow variables.
unsigned int numPhases() const
The number of fluid phases.
const MaterialProperty< std::vector< Real > > & _enthalpy
Enthalpy of each phase.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
PorousFlowFullySaturatedUpwindHeatAdvection(const InputParameters ¶meters)
const MaterialProperty< std::vector< Real > > & _fluid_density_node
Fluid density for each phase (at the node)