https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlow2PhaseHysPS.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 PorousFlow2PhaseHysPS(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 _pvar;
52 const unsigned int _phase1_saturation_varnum;
54 const unsigned int _svar;
55};
Material designed to calculate the 2 porepressures and 2 saturations, as well as derivatives of them,...
const unsigned int _svar
PorousFlow variable number of the phase1 saturation.
static InputParameters validParams()
const VariableGradient & _phase0_gradp_qp
Gradient(phase0_porepressure) at the qps.
const VariableValue & _phase1_saturation
Nodal or quadpoint value of saturation of phase one (the gas phase)
const unsigned int _phase0_porepressure_varnum
Moose variable number of the phase0 porepressure.
const unsigned int _pvar
PorousFlow variable number of the phase0 porepressure.
virtual void computeQpProperties() override
virtual void initQpStatefulProperties() override
void buildQpPPSS()
Assemble std::vectors of porepressure and saturation at the nodes and quadpoints.
MaterialProperty< Real > & _pc
Computed nodal or quadpoint values of capillary pressure.
const VariableValue & _phase0_porepressure
Nodal or quadpoint value of porepressure of phase zero (the liquid phase)
const VariableGradient & _phase1_grads_qp
Gradient(phase1_saturation) at the qps.
const unsigned int _phase1_saturation_varnum
Moose variable number of the phase1 saturation.
Base material designed to calculate and store quantities relevant for hysteretic capillary pressure c...
VariableValueTempl< false > VariableValue
VariableGradientTempl< false > VariableGradient