https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowRelativePermeabilityBW.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
14
21template <bool is_ad>
23{
24public:
26
28
29protected:
31 virtual Real dRelativePermeability(Real seff) const override;
32
34 const Real _sn;
35
37 const Real _ss;
38
40 const Real _kn;
41
43 const Real _ks;
44
46 const Real _c;
47};
48
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowRelativePermeabilityBWTempl< false > PorousFlowRelativePermeabilityBW
PorousFlowRelativePermeabilityBWTempl< true > ADPorousFlowRelativePermeabilityBW
Material that calculates the Broadbridge-White relative permeability P Broadbridge,...
const Real _kn
BW's low relative permeability.
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
const Real _ks
BW's high relative permeability.
virtual GenericReal< is_ad > relativePermeability(GenericReal< is_ad > seff) const override
Relative permeability equation (must be overriden in derived class)
Base class for PorousFlow relative permeability materials.