www.mooseframework.org
PorousFlowRelativePermeabilityVG.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 
13 #include "PorousFlowVanGenuchten.h"
14 
16 
17 template <>
19 
33 {
34 public:
35  PorousFlowRelativePermeabilityVG(const InputParameters & parameters);
36 
37 protected:
38  virtual Real relativePermeability(Real seff) const override;
39  virtual Real dRelativePermeability(Real seff) const override;
40 
42  const Real _m;
43 
45  const bool _wetting;
46 
48  const Real _cut;
49 
51  const Real _cub0;
53  const Real _cub1;
55  const Real _cub2;
57  const Real _cub3;
58 };
59 
PorousFlowRelativePermeabilityVG::_cub2
const Real _cub2
Parameter of the cubic.
Definition: PorousFlowRelativePermeabilityVG.h:55
PorousFlowRelativePermeabilityVG::_wetting
const bool _wetting
Whether to use the wetting or non-wetting van Genuchten expression.
Definition: PorousFlowRelativePermeabilityVG.h:45
PorousFlowRelativePermeabilityBase.h
PorousFlowVanGenuchten.h
PorousFlowRelativePermeabilityVG
Material to calculate van Genuchten-type relative permeability of an arbitrary phase given the satura...
Definition: PorousFlowRelativePermeabilityVG.h:32
PorousFlowRelativePermeabilityBase
Base class for PorousFlow relative permeability materials.
Definition: PorousFlowRelativePermeabilityBase.h:24
PorousFlowRelativePermeabilityVG::dRelativePermeability
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
Definition: PorousFlowRelativePermeabilityVG.C:83
PorousFlowRelativePermeabilityVG::_m
const Real _m
van Genuchten exponent m for the specified phase
Definition: PorousFlowRelativePermeabilityVG.h:42
PorousFlowRelativePermeabilityVG::_cub0
const Real _cub0
Parameter of the cubic.
Definition: PorousFlowRelativePermeabilityVG.h:51
PorousFlowRelativePermeabilityVG::_cub1
const Real _cub1
Parameter of the cubic.
Definition: PorousFlowRelativePermeabilityVG.h:53
PorousFlowRelativePermeabilityVG::_cut
const Real _cut
Start of cubic smoothing.
Definition: PorousFlowRelativePermeabilityVG.h:48
PorousFlowRelativePermeabilityVG::PorousFlowRelativePermeabilityVG
PorousFlowRelativePermeabilityVG(const InputParameters &parameters)
Definition: PorousFlowRelativePermeabilityVG.C:40
PorousFlowRelativePermeabilityVG::_cub3
const Real _cub3
Parameter of the cubic.
Definition: PorousFlowRelativePermeabilityVG.h:57
validParams< PorousFlowRelativePermeabilityVG >
InputParameters validParams< PorousFlowRelativePermeabilityVG >()
Definition: PorousFlowRelativePermeabilityVG.C:17
PorousFlowRelativePermeabilityVG::relativePermeability
virtual Real relativePermeability(Real seff) const override
Relative permeability equation (must be overriden in derived class)
Definition: PorousFlowRelativePermeabilityVG.C:68