www.mooseframework.org
PorousFlow2PhasePS.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 PorousFlow2PhasePS;
16 
17 template <>
18 InputParameters validParams<PorousFlow2PhasePS>();
19 
25 {
26 public:
27  PorousFlow2PhasePS(const InputParameters & parameters);
28 
29 protected:
34  void buildQpPPSS();
35 
36  virtual void initQpStatefulProperties() override;
37  virtual void computeQpProperties() override;
38 
40  const VariableValue & _phase0_porepressure;
42  const VariableGradient & _phase0_gradp_qp;
44  const unsigned int _phase0_porepressure_varnum;
46  const unsigned int _pvar;
48  const VariableValue & _phase1_saturation;
50  const VariableGradient & _phase1_grads_qp;
52  const unsigned int _phase1_saturation_varnum;
54  const unsigned int _svar;
57 };
58 
PorousFlow2PhasePS::_phase1_saturation
const VariableValue & _phase1_saturation
Nodal or quadpoint value of saturation of phase one (eg, the gas phase)
Definition: PorousFlow2PhasePS.h:48
PorousFlow2PhasePS::_svar
const unsigned int _svar
PorousFlow variable number of the phase1 saturation.
Definition: PorousFlow2PhasePS.h:54
PorousFlow2PhasePS::_phase1_grads_qp
const VariableGradient & _phase1_grads_qp
Gradient(phase1_saturation) at the qps.
Definition: PorousFlow2PhasePS.h:50
PorousFlow2PhasePS::PorousFlow2PhasePS
PorousFlow2PhasePS(const InputParameters &parameters)
Definition: PorousFlow2PhasePS.C:32
PorousFlow2PhasePS::_pc_uo
const PorousFlowCapillaryPressure & _pc_uo
Capillary pressure UserObject.
Definition: PorousFlow2PhasePS.h:56
PorousFlow2PhasePS::_phase1_saturation_varnum
const unsigned int _phase1_saturation_varnum
Moose variable number of the phase1 saturation.
Definition: PorousFlow2PhasePS.h:52
PorousFlowCapillaryPressure
Base class for capillary pressure for multiphase flow in porous media.
Definition: PorousFlowCapillaryPressure.h:39
PorousFlow2PhasePS::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: PorousFlow2PhasePS.C:61
validParams< PorousFlow2PhasePS >
InputParameters validParams< PorousFlow2PhasePS >()
Definition: PorousFlow2PhasePS.C:17
PorousFlow2PhasePS::_phase0_porepressure_varnum
const unsigned int _phase0_porepressure_varnum
Moose variable number of the phase0 porepressure.
Definition: PorousFlow2PhasePS.h:44
PorousFlow2PhasePS::computeQpProperties
virtual void computeQpProperties() override
Definition: PorousFlow2PhasePS.C:68
PorousFlow2PhasePS
Material designed to calculate fluid-phase porepressures and saturations at nodes and qps using a spe...
Definition: PorousFlow2PhasePS.h:24
PorousFlowVariableBase
Base class for thermophysical variable materials, which assemble materials for primary variables such...
Definition: PorousFlowVariableBase.h:25
PorousFlow2PhasePS::_pvar
const unsigned int _pvar
PorousFlow variable number of the phase0 porepressure.
Definition: PorousFlow2PhasePS.h:46
PorousFlow2PhasePS::_phase0_porepressure
const VariableValue & _phase0_porepressure
Nodal or quadpoint value of porepressure of phase zero (eg, the liquid phase)
Definition: PorousFlow2PhasePS.h:40
PorousFlow2PhasePS::_phase0_gradp_qp
const VariableGradient & _phase0_gradp_qp
Gradient(phase0_porepressure) at the qps.
Definition: PorousFlow2PhasePS.h:42
PorousFlow2PhasePS::buildQpPPSS
void buildQpPPSS()
Assemble std::vectors of porepressure and saturation at the nodes and quadpoints.
Definition: PorousFlow2PhasePS.C:117
PorousFlowVariableBase.h