https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowHeatEnergy.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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{
21public:
23
25
26protected:
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;
42
44 const bool _fluid_present;
45
48
50 std::vector<unsigned int> _phase_index;
51
54
57
60
63
66
69};
const InputParameters & parameters() const
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
Postprocessor produces the sum of heat energy of the porous skeleton and/or fluid components in a reg...
MooseVariable *const _var
The variable for the corresponding PorousFlowEnergyTimeDerivative Kernel: this provides test function...
virtual Real computeQpIntegral() override
const MaterialProperty< std::vector< Real > > *const _fluid_saturation_nodal
Nodal fluid saturation.
static InputParameters validParams()
const MaterialProperty< std::vector< Real > > *const _energy_nodal
Internal energy of the phases, evaluated at the nodes.
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
const unsigned int _num_phases
Number of fluid phases.
virtual Real computeIntegral() override
const MaterialProperty< Real > & _rock_energy_nodal
Nodal rock energy density.
const MaterialProperty< Real > & _porosity
Porosity.
const bool _fluid_present
Whether fluid is present.
std::vector< unsigned int > _phase_index
The phase indices that this Postprocessor is restricted to.
const MaterialProperty< std::vector< Real > > *const _fluid_density
Nodal fluid density.
const std::string _base_name
base name used in the Tensor Mechanics strain calculator
const MaterialProperty< RankTwoTensor > *const _total_strain
Value of total strain calculated by a Tensor Mechanics strain calculator, if it exists,...
const bool _include_porous_skeleton
Whether to include the heat energy of the porous skeleton in the calculations.
const bool _has_total_strain
Whether there is a Material called _base_name_total_strain.