https://mooseframework.inl.gov
FVPorousFlowEnergyTimeDerivative.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 
12 #include "FVTimeKernel.h"
13 
14 class PorousFlowDictator;
15 
20 {
21 public:
24 
25 protected:
26  ADReal computeQpResidual() override;
27 
31  const unsigned int _num_phases;
33  const bool _fluid_present;
34 
38 
42 
46 
50 
54 };
FVPorousFlowEnergyTimeDerivative(const InputParameters &parameters)
const MaterialProperty< Real > & _porosity_old
const ADMaterialProperty< std::vector< Real > > *const _density
Fluid density.
const ADMaterialProperty< Real > & _rock_energy
Internal energy of porous matrix.
const MaterialProperty< std::vector< Real > > *const _saturation_old
const bool _fluid_present
Whether fluid is present.
const ADMaterialProperty< std::vector< Real > > *const _saturation
Fluid phase saturation.
const PorousFlowDictator & _dictator
UserObject that holds information (number of phases, components, etc)
const MaterialProperty< std::vector< Real > > *const _energy_old
const ADMaterialProperty< std::vector< Real > > *const _energy
Internal energy of fluid.
const MaterialProperty< Real > & _rock_energy_old
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const MaterialProperty< std::vector< Real > > *const _density_old
const InputParameters & parameters() const
const ADMaterialProperty< Real > & _porosity
Porosity.
const unsigned int _num_phases
Number of fluid phases.