www.mooseframework.org
PorousFlowHeatEnergy.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 #include "PorousFlowDictator.h"
14 
20 {
21 public:
23 
25 
26 protected:
27  virtual Real computeIntegral() override;
28  virtual Real computeQpIntegral() override;
29 
32 
34  const unsigned int _num_phases;
35 
37  const std::string _base_name;
39  const bool _has_total_strain;
42 
44  const bool _fluid_present;
45 
48 
50  std::vector<unsigned int> _phase_index;
51 
54 
57 
60 
63 
66 
69 };
const MaterialProperty< std::vector< Real > > *const _fluid_density
Nodal fluid density.
virtual Real computeQpIntegral() override
const bool _fluid_present
Whether fluid is present.
const MaterialProperty< Real > & _porosity
Porosity.
const MaterialProperty< RankTwoTensor > *const _total_strain
Value of total strain calculated by a Tensor Mechanics strain calculator, if it exists, otherwise nullptr.
const MaterialProperty< Real > & _rock_energy_nodal
Nodal rock energy density.
Postprocessor produces the sum of heat energy of the porous skeleton and/or fluid components in a reg...
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
const unsigned int _num_phases
Number of fluid phases.
const std::string _base_name
base name used in the Tensor Mechanics strain calculator
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseVariable *const _var
The variable for the corresponding PorousFlowEnergyTimeDerivative Kernel: this provides test function...
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const MaterialProperty< std::vector< Real > > *const _energy_nodal
Internal energy of the phases, evaluated at the nodes.
std::vector< unsigned int > _phase_index
The phase indices that this Postprocessor is restricted to.
const bool _include_porous_skeleton
Whether to include the heat energy of the porous skeleton in the calculations.
const InputParameters & parameters() const
virtual Real computeIntegral() override
PorousFlowHeatEnergy(const InputParameters &parameters)
const MaterialProperty< std::vector< Real > > *const _fluid_saturation_nodal
Nodal fluid saturation.
const bool _has_total_strain
Whether there is a Material called _base_name_total_strain.
static InputParameters validParams()