www.mooseframework.org
PorousFlow2PhasePP.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "PorousFlowVariableBase.h"
13 
15 class PorousFlow2PhasePP;
16 
17 template <>
18 InputParameters validParams<PorousFlow2PhasePP>();
19 
25 {
26 public:
27  PorousFlow2PhasePP(const InputParameters & parameters);
28 
29 protected:
30  virtual void initQpStatefulProperties() override;
31  virtual void computeQpProperties() override;
32 
37  Real buildQpPPSS();
38 
40  const VariableValue & _phase0_porepressure;
42  const VariableGradient & _phase0_gradp_qp;
44  const unsigned int _phase0_porepressure_varnum;
46  const unsigned int _p0var;
48  const VariableValue & _phase1_porepressure;
50  const VariableGradient & _phase1_gradp_qp;
52  const unsigned int _phase1_porepressure_varnum;
54  const unsigned int _p1var;
57 };
58 
PorousFlow2PhasePP::_phase0_porepressure_varnum
const unsigned int _phase0_porepressure_varnum
Moose variable number of the phase0 porepressure.
Definition: PorousFlow2PhasePP.h:44
PorousFlow2PhasePP::_p1var
const unsigned int _p1var
PorousFlow variable number of the phase1 porepressure.
Definition: PorousFlow2PhasePP.h:54
PorousFlow2PhasePP::_phase1_porepressure_varnum
const unsigned int _phase1_porepressure_varnum
Moose variable number of the phase1 porepressure.
Definition: PorousFlow2PhasePP.h:52
PorousFlow2PhasePP::_phase0_porepressure
const VariableValue & _phase0_porepressure
Nodal or quadpoint value of porepressure of the zero phase (eg, the water phase)
Definition: PorousFlow2PhasePP.h:40
PorousFlowCapillaryPressure
Base class for capillary pressure for multiphase flow in porous media.
Definition: PorousFlowCapillaryPressure.h:39
PorousFlow2PhasePP::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: PorousFlow2PhasePP.C:62
PorousFlow2PhasePP::_phase1_gradp_qp
const VariableGradient & _phase1_gradp_qp
Gradient(phase1_porepressure) at the qps.
Definition: PorousFlow2PhasePP.h:50
validParams< PorousFlow2PhasePP >
InputParameters validParams< PorousFlow2PhasePP >()
Definition: PorousFlow2PhasePP.C:17
PorousFlow2PhasePP::_phase1_porepressure
const VariableValue & _phase1_porepressure
Nodal or quadpoint value of porepressure of the one phase (eg, the gas phase)
Definition: PorousFlow2PhasePP.h:48
PorousFlow2PhasePP::buildQpPPSS
Real buildQpPPSS()
Assemble std::vectors of porepressure and saturation at the nodes and quadpoints, and return the capi...
Definition: PorousFlow2PhasePP.C:132
PorousFlowVariableBase
Base class for thermophysical variable materials, which assemble materials for primary variables such...
Definition: PorousFlowVariableBase.h:25
PorousFlow2PhasePP::_phase0_gradp_qp
const VariableGradient & _phase0_gradp_qp
Gradient(phase0_porepressure) at the qps.
Definition: PorousFlow2PhasePP.h:42
PorousFlow2PhasePP::_pc_uo
const PorousFlowCapillaryPressure & _pc_uo
Capillary pressure UserObject.
Definition: PorousFlow2PhasePP.h:56
PorousFlow2PhasePP::computeQpProperties
virtual void computeQpProperties() override
Definition: PorousFlow2PhasePP.C:69
PorousFlow2PhasePP
Base material designed to calculate fluid phase porepressure and saturation for the two-phase situati...
Definition: PorousFlow2PhasePP.h:24
PorousFlow2PhasePP::_p0var
const unsigned int _p0var
PorousFlow variable number of the phase0 porepressure.
Definition: PorousFlow2PhasePP.h:46
PorousFlow2PhasePP::PorousFlow2PhasePP
PorousFlow2PhasePP(const InputParameters &parameters)
Definition: PorousFlow2PhasePP.C:34
PorousFlowVariableBase.h