19 "Computes the advective flux of heat energy in the given phase, assuming fully-saturated "
20 "conditions. Hence this UserObject is only relevant to single-phase situations. "
21 "Explicitly, the UserObject computes (density * enthalpy / viscosity) * (- permeability * "
22 "(grad(P) - density * gravity)), using the Kuzmin-Turek FEM-TVD multidimensional "
23 "stabilization scheme");
30 _enthalpy(getMaterialProperty<
std::vector<Real>>(
"PorousFlow_fluid_phase_enthalpy_nodal")),
31 _denthalpy_dvar(getMaterialProperty<
std::vector<
std::vector<Real>>>(
32 "dPorousFlow_fluid_phase_enthalpy_nodal_dvar"))
registerMooseObject("PorousFlowApp", PorousFlowAdvectiveFluxCalculatorSaturatedHeat)
const unsigned int _phase
The phase.
Computes the advective flux of heat energy in the given phase, assuming fully-saturated conditions.
const MaterialProperty< std::vector< std::vector< Real > > > & _denthalpy_dvar
Derivative of enthalpy of each phase wrt PorousFlow variables.
const MaterialProperty< std::vector< Real > > & _enthalpy
Enthalpy of each phase.
virtual Real computedU_dvar(unsigned i, unsigned pvar) const override
Compute d(u)/d(porous_flow_variable)
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem)
static InputParameters validParams()
PorousFlowAdvectiveFluxCalculatorSaturatedHeat(const InputParameters ¶meters)
Computes the advective flux of fluid of given phase, assuming fully-saturated conditions.
static InputParameters validParams()
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem)
virtual Real computedU_dvar(unsigned i, unsigned pvar) const override
Compute d(u)/d(porous_flow_variable)