https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlow1PhaseP.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
15
21template <bool is_ad>
23{
24public:
26
27 PorousFlow1PhasePTempl(const InputParameters & parameters);
28
29protected:
30 virtual void initQpStatefulProperties() override;
31 virtual void computeQpProperties() override;
32
36 void buildQpPPSS();
37
43 const unsigned int _porepressure_varnum;
45 const unsigned int _p_var_num;
48
50};
51
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
Moose::GenericType< VariableGradient, is_ad > GenericVariableGradient
PorousFlow1PhasePTempl< true > ADPorousFlow1PhaseP
PorousFlow1PhasePTempl< false > PorousFlow1PhaseP
Material designed to calculate fluid phase porepressure and saturation for the single-phase situation...
const unsigned int _p_var_num
The PorousFlow variable number of the porepressure.
const GenericVariableGradient< is_ad > & _gradp_qp_var
Gradient(_porepressure at quadpoints)
const unsigned int _porepressure_varnum
Moose variable number of the porepressure.
static InputParameters validParams()
const PorousFlowCapillaryPressure & _pc_uo
Capillary pressure UserObject.
virtual void initQpStatefulProperties() override
virtual void computeQpProperties() override
const GenericVariableValue< is_ad > & _porepressure_var
Nodal or quadpoint value of porepressure of the fluid phase.
void buildQpPPSS()
Assemble std::vectors of porepressure, saturation and temperature at the quadpoints.
Base class for capillary pressure for multiphase flow in porous media.
Base class for thermophysical variable materials, which assemble materials for primary variables such...