www.mooseframework.org
PorousFlowAdvectiveFluxCalculatorSaturatedHeat.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
15 
16 template <>
18 
27 {
28 public:
29  PorousFlowAdvectiveFluxCalculatorSaturatedHeat(const InputParameters & parameters);
30 
31 protected:
32  virtual Real computeU(unsigned i) const override;
33 
34  virtual Real computedU_dvar(unsigned i, unsigned pvar) const override;
35 
37  const MaterialProperty<std::vector<Real>> & _enthalpy;
38 
40  const MaterialProperty<std::vector<std::vector<Real>>> & _denthalpy_dvar;
41 };
42 
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 MaterialProperty< std::vector< std::vector< Real > > > & _denthalpy_dvar
Derivative of enthalpy of each phase wrt PorousFlow variables.
Computes the advective flux of heat energy in the given phase, assuming fully-saturated conditions...
Computes the advective flux of fluid of given phase, assuming fully-saturated conditions.
virtual Real computedU_dvar(unsigned i, unsigned pvar) const override
Compute d(u)/d(porous_flow_variable)
InputParameters validParams< PorousFlowAdvectiveFluxCalculatorSaturatedHeat >()