https://mooseframework.inl.gov
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 {
21 public:
23 
24  PorousFlow2PhaseHysPS(const InputParameters & parameters);
25 
26 protected:
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 };
OutputTools< Real >::VariableGradient VariableGradient
const unsigned int _pvar
PorousFlow variable number of the phase0 porepressure.
const VariableGradient & _phase0_gradp_qp
Gradient(phase0_porepressure) at the qps.
const unsigned int _phase1_saturation_varnum
Moose variable number of the phase1 saturation.
static InputParameters validParams()
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.
PorousFlow2PhaseHysPS(const InputParameters &parameters)
const unsigned int _phase0_porepressure_varnum
Moose variable number of the phase0 porepressure.
void buildQpPPSS()
Assemble std::vectors of porepressure and saturation at the nodes and quadpoints. ...
Base material designed to calculate and store quantities relevant for hysteretic capillary pressure c...
virtual void initQpStatefulProperties() override
const unsigned int _svar
PorousFlow variable number of the phase1 saturation.
const VariableValue & _phase1_saturation
Nodal or quadpoint value of saturation of phase one (the gas phase)
virtual void computeQpProperties() override
OutputTools< Real >::VariableValue VariableValue
Material designed to calculate the 2 porepressures and 2 saturations, as well as derivatives of them...
MaterialProperty< Real > & _pc
Computed nodal or quadpoint values of capillary pressure.