https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlow2PhaseHysPP.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
20{
21public:
23
24 PorousFlow2PhaseHysPP(const InputParameters & parameters);
25
26protected:
27 virtual void initQpStatefulProperties() override;
28 virtual void computeQpProperties() override;
29
32
37 void buildQpPPSS();
38
44 const unsigned int _phase0_porepressure_varnum;
46 const unsigned int _p0var;
52 const unsigned int _phase1_porepressure_varnum;
54 const unsigned int _p1var;
55};
Material designed to calculate the 2 porepressures and 2 saturations, as well as derivatives of them,...
const VariableValue & _phase1_porepressure
Nodal or quadpoint value of porepressure of the one phase (eg, the gas phase)
const unsigned int _phase0_porepressure_varnum
Moose variable number of the phase0 porepressure.
const unsigned int _p0var
PorousFlow variable number of the phase0 porepressure.
const VariableGradient & _phase1_gradp_qp
Gradient(phase1_porepressure) at the qps.
void buildQpPPSS()
Assemble std::vectors of porepressure and saturation at the nodes and quadpoints.
virtual void computeQpProperties() override
const unsigned int _p1var
PorousFlow variable number of the phase1 porepressure.
MaterialProperty< Real > & _pc
Computed nodal or quadpoint values of capillary pressure.
const VariableGradient & _phase0_gradp_qp
Gradient(phase0_porepressure) at the qps.
static InputParameters validParams()
virtual void initQpStatefulProperties() override
const VariableValue & _phase0_porepressure
Nodal or quadpoint value of porepressure of the zero phase (eg, the water phase)
const unsigned int _phase1_porepressure_varnum
Moose variable number of the phase1 porepressure.
Base material designed to calculate and store quantities relevant for hysteretic capillary pressure c...
VariableValueTempl< false > VariableValue
VariableGradientTempl< false > VariableGradient