https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowRelativePermeabilityConst.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
18template <bool is_ad>
21{
22public:
24
26
27protected:
29 virtual Real dRelativePermeability(Real seff) const override;
30
32 const Real _relperm;
33};
34
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowRelativePermeabilityConstTempl< true > ADPorousFlowRelativePermeabilityConst
PorousFlowRelativePermeabilityConstTempl< false > PorousFlowRelativePermeabilityConst
Base class for PorousFlow relative permeability materials.
This class sets a constant relative permeability.
const Real _relperm
Constant relative permeability.
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
virtual GenericReal< is_ad > relativePermeability(GenericReal< is_ad > seff) const override
Relative permeability equation (must be overriden in derived class)