www.mooseframework.org
PorousFlow1PhaseP.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef POROUSFLOW1PHASEP_H
9 #define POROUSFLOW1PHASEP_H
10 
11 #include "PorousFlowVariableBase.h"
12 
13 // Forward Declarations
15 class PorousFlow1PhaseP;
16 
17 template <>
18 InputParameters validParams<PorousFlow1PhaseP>();
19 
28 {
29 public:
30  PorousFlow1PhaseP(const InputParameters & parameters);
31 
32 protected:
33  virtual void initQpStatefulProperties() override;
34  virtual void computeQpProperties() override;
35 
39  void buildQpPPSS();
40 
50  virtual Real effectiveSaturation(Real pressure) const;
51 
60  virtual Real dEffectiveSaturation_dP(Real pressure) const;
61 
70  virtual Real d2EffectiveSaturation_dP2(Real pressure) const;
71 
73  const VariableValue & _porepressure_var;
75  const VariableGradient & _gradp_qp_var;
77  const unsigned int _porepressure_varnum;
79  const unsigned int _p_var_num;
84 };
85 
86 #endif // POROUSFLOW1PHASEP_H
virtual Real d2EffectiveSaturation_dP2(Real pressure) const
Second derivative of effective saturation wrt to porepressure.
virtual void initQpStatefulProperties() override
const unsigned int _p_var_num
the PorousFlow variable number of the porepressure
InputParameters validParams< PorousFlow1PhaseP >()
Base class for capillary pressure for multiphase flow in porous media.
virtual void computeQpProperties() override
Base material designed to calculate fluid phase porepressure and saturation for the single-phase situ...
virtual Real dEffectiveSaturation_dP(Real pressure) const
Derivative of effective saturation wrt to porepressure.
PorousFlow1PhaseP(const InputParameters &parameters)
virtual Real effectiveSaturation(Real pressure) const
Effective saturation as a function of porepressure.
const VariableValue & _porepressure_var
Nodal or quadpoint value of porepressure of the fluid phase.
const PorousFlowCapillaryPressure * _pc_uo
Capillary pressure UserObject Note: This pointer can be replaced with a reference once the deprecated...
const std::string pressure
Definition: NS.h:24
const unsigned int _porepressure_varnum
Moose variable number of the porepressure.
Base class for thermophysical variable materials, which assemble materials for primary variables such...
const VariableGradient & _gradp_qp_var
Gradient(_porepressure at quadpoints)
void buildQpPPSS()
Assemble std::vectors of porepressure, saturation and temperature at the quadpoints.