www.mooseframework.org
PorousFlow1PhaseP.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 
21 template <bool is_ad>
23 {
24 public:
26 
27  PorousFlow1PhasePTempl(const InputParameters & parameters);
28 
29 protected:
30  virtual void initQpStatefulProperties() override;
31  virtual void computeQpProperties() override;
32 
36  void buildQpPPSS();
37 
43  const unsigned int _porepressure_varnum;
45  const unsigned int _p_var_num;
48 
50 };
51 
const unsigned int _p_var_num
The PorousFlow variable number of the porepressure.
const PorousFlowCapillaryPressure & _pc_uo
Capillary pressure UserObject.
typename Moose::GenericType< VariableValue, is_ad > GenericVariableValue
virtual void initQpStatefulProperties() override
Material designed to calculate fluid phase porepressure and saturation for the single-phase situation...
PorousFlow1PhasePTempl< false > PorousFlow1PhaseP
Base class for capillary pressure for multiphase flow in porous media.
Base class for thermophysical variable materials, which assemble materials for primary variables such...
static InputParameters validParams()
const GenericVariableGradient< is_ad > & _gradp_qp_var
Gradient(_porepressure at quadpoints)
PorousFlow1PhasePTempl< true > ADPorousFlow1PhaseP
void buildQpPPSS()
Assemble std::vectors of porepressure, saturation and temperature at the quadpoints.
PorousFlow1PhasePTempl(const InputParameters &parameters)
virtual void computeQpProperties() override
typename Moose::GenericType< VariableGradient, is_ad > GenericVariableGradient
const GenericVariableValue< is_ad > & _porepressure_var
Nodal or quadpoint value of porepressure of the fluid phase.
const unsigned int _porepressure_varnum
Moose variable number of the porepressure.