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