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 
27 template <bool is_ad>
29 {
30 public:
32 
34 
35 protected:
36  virtual GenericReal<is_ad> relativePermeability(GenericReal<is_ad> seff) const override;
37  virtual Real dRelativePermeability(Real seff) const override;
38 
40  const Real _m;
41 
43  const bool _wetting;
44 
46  const Real _cut;
47 
49  const Real _cub0;
51  const Real _cub1;
53  const Real _cub2;
55  const Real _cub3;
56 };
57 
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
PorousFlowRelativePermeabilityVGTempl< false > PorousFlowRelativePermeabilityVG
virtual GenericReal< is_ad > relativePermeability(GenericReal< is_ad > seff) const override
Relative permeability equation (must be overriden in derived class)
Material to calculate van Genuchten-type relative permeability of an arbitrary phase given the satura...
Base class for PorousFlow relative permeability materials.
PorousFlowRelativePermeabilityVGTempl< true > ADPorousFlowRelativePermeabilityVG
const Real _m
van Genuchten exponent m for the specified phase
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
PorousFlowRelativePermeabilityVGTempl(const InputParameters &parameters)
typename Moose::GenericType< Real, is_ad > GenericReal
const bool _wetting
Whether to use the wetting or non-wetting van Genuchten expression.