www.mooseframework.org
PorousFlowRelativePermeabilityCorey.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 
21 template <bool is_ad>
24 {
25 public:
27 
29 
30 protected:
31  virtual GenericReal<is_ad> relativePermeability(GenericReal<is_ad> seff) const override;
32  virtual Real dRelativePermeability(Real seff) const override;
33 
35  const Real _n;
36 };
37 
PorousFlowRelativePermeabilityCoreyTempl< true > ADPorousFlowRelativePermeabilityCorey
const Real _n
Corey exponent n for the specified phase.
Material to calculate Corey-type relative permeability of an arbitrary phase given the effective satu...
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
Base class for PorousFlow relative permeability materials.
PorousFlowRelativePermeabilityCoreyTempl< false > PorousFlowRelativePermeabilityCorey
virtual GenericReal< is_ad > relativePermeability(GenericReal< is_ad > seff) const override
Relative permeability equation (must be overriden in derived class)
PorousFlowRelativePermeabilityCoreyTempl(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
typename Moose::GenericType< Real, is_ad > GenericReal