www.mooseframework.org
PorousFlow1PhaseMD_Gaussian.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 
16 template <>
18 
26 {
27 public:
28  PorousFlow1PhaseMD_Gaussian(const InputParameters & parameters);
29 
30 protected:
31  virtual void initQpStatefulProperties() override;
32  virtual void computeQpProperties() override;
33 
35  const Real _al;
36 
38  const Real _al2;
39 
41  const Real _logdens0;
42 
44  const Real _bulk;
45 
47  const Real _recip_bulk;
48 
50  const Real _recip_bulk2;
51 
53  const VariableValue & _md_var;
54 
56  const VariableGradient & _gradmd_qp_var;
57 
59  const unsigned int _md_varnum;
60 
62  const unsigned int _pvar;
63 
64  virtual void buildPS();
65 };
66 
validParams< PorousFlow1PhaseMD_Gaussian >
InputParameters validParams< PorousFlow1PhaseMD_Gaussian >()
Definition: PorousFlow1PhaseMD_Gaussian.C:16
PorousFlow1PhaseMD_Gaussian::_md_var
const VariableValue & _md_var
Nodal or quadpoint value of mass-density of the fluid phase.
Definition: PorousFlow1PhaseMD_Gaussian.h:53
PorousFlow1PhaseMD_Gaussian
Material designed to calculate fluid-phase porepressure and saturation for the single-phase situation...
Definition: PorousFlow1PhaseMD_Gaussian.h:25
PorousFlow1PhaseMD_Gaussian::_gradmd_qp_var
const VariableGradient & _gradmd_qp_var
Gradient(_mass-density at quadpoints)
Definition: PorousFlow1PhaseMD_Gaussian.h:56
PorousFlow1PhaseMD_Gaussian::_bulk
const Real _bulk
Fluid density = _dens0*exp(P/_bulk)
Definition: PorousFlow1PhaseMD_Gaussian.h:44
PorousFlowVariableBase
Base class for thermophysical variable materials, which assemble materials for primary variables such...
Definition: PorousFlowVariableBase.h:25
PorousFlow1PhaseMD_Gaussian::_md_varnum
const unsigned int _md_varnum
Moose variable number of the mass-density.
Definition: PorousFlow1PhaseMD_Gaussian.h:59
PorousFlow1PhaseMD_Gaussian::_al
const Real _al
Gaussian parameter: saturation = exp(-(al*p)^2)
Definition: PorousFlow1PhaseMD_Gaussian.h:35
PorousFlow1PhaseMD_Gaussian::_recip_bulk
const Real _recip_bulk
1/_bulk/_al
Definition: PorousFlow1PhaseMD_Gaussian.h:47
PorousFlow1PhaseMD_Gaussian::computeQpProperties
virtual void computeQpProperties() override
Definition: PorousFlow1PhaseMD_Gaussian.C:69
PorousFlow1PhaseMD_Gaussian::buildPS
virtual void buildPS()
Definition: PorousFlow1PhaseMD_Gaussian.C:139
PorousFlow1PhaseMD_Gaussian::_pvar
const unsigned int _pvar
PorousFlow variable number of the mass-density.
Definition: PorousFlow1PhaseMD_Gaussian.h:62
PorousFlow1PhaseMD_Gaussian::_logdens0
const Real _logdens0
Fluid density = _dens0*exp(P/_bulk)
Definition: PorousFlow1PhaseMD_Gaussian.h:41
PorousFlow1PhaseMD_Gaussian::_al2
const Real _al2
_al2 = al*al
Definition: PorousFlow1PhaseMD_Gaussian.h:38
PorousFlow1PhaseMD_Gaussian::_recip_bulk2
const Real _recip_bulk2
(1/_bulk)^2
Definition: PorousFlow1PhaseMD_Gaussian.h:50
PorousFlowVariableBase.h
PorousFlow1PhaseMD_Gaussian::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: PorousFlow1PhaseMD_Gaussian.C:62
PorousFlow1PhaseMD_Gaussian::PorousFlow1PhaseMD_Gaussian
PorousFlow1PhaseMD_Gaussian(const InputParameters &parameters)
Definition: PorousFlow1PhaseMD_Gaussian.C:38