https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowRelativePermeabilityBase.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
19template <bool is_ad>
72
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowRelativePermeabilityBaseTempl< false > PorousFlowRelativePermeabilityBase
PorousFlowRelativePermeabilityBaseTempl< true > ADPorousFlowRelativePermeabilityBase
Base class for all PorousFlow materials that provide phase-dependent properties.
Base class for PorousFlow relative permeability materials.
const Real _s_res
Residual saturation of specified phase.
MaterialProperty< Real > *const _drelative_permeability_ds
Derivative of relative permeability wrt phase saturation.
virtual Real dRelativePermeability(Real seff) const =0
Derivative of relative permeability with respect to effective saturation.
GenericMaterialProperty< Real, is_ad > & _relative_permeability
Relative permeability material property.
const Real _dseff_ds
Derivative of effective saturation with respect to saturation.
virtual GenericReal< is_ad > effectiveSaturation(GenericReal< is_ad > saturation) const
Effective saturation of fluid phase.
virtual GenericReal< is_ad > relativePermeability(GenericReal< is_ad > seff) const =0
Relative permeability equation (must be overriden in derived class)
const Real _scaling
Relative permeability is multiplied by this quantity.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _saturation
Saturation material property.
const Real _sum_s_res
Sum of residual saturations over all phases.