![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
Freundlich isotherm implementation of IsothermType. More...


Public Member Functions | |
| procedure | derivative (this, c, n) |
| Evaluate derivative of the isotherm at a given node. | |
| type(freundlichisothermtype) function | constructor (kf, a) |
| Constructor for Freundlich isotherm. | |
| procedure(derivative_if), deferred | derivative (this, c, n) |
Public Attributes | |
| real(dp), dimension(:), pointer | kf => null() |
| Freundlich constant. | |
| real(dp), dimension(:), pointer | a => null() |
| Freundlich exponent. | |
Sorbed concentration is cs = Kf*c^a.
However, this expression has a singularity at c = 0 when a < 1, leading to infinite derivative. To avoid this, the Freundlich isotherm is modified as follows.
Modified Sorbed concentration is cs = Kf*(c + eps)^a - Kf*eps^a where eps = (K/(a*Kf))^(1/(a-1)) and K is a large constant (default 10). This ensures that the derivative at c = 0 is below K.
Definition at line 23 of file FreundlichIsotherm.f90.
| type(freundlichisothermtype) function freundlichisothermmodule::freundlichisothermtype::constructor | ( | real(dp), dimension(:), intent(in), pointer | kf, |
| real(dp), dimension(:), intent(in), pointer | a ) |
Definition at line 39 of file FreundlichIsotherm.f90.
| procedure freundlichisothermmodule::freundlichisothermtype::derivative | ( | class(freundlichisothermtype), intent(in) | this, |
| real(dp), dimension(:), intent(in) | c, | ||
| integer(i4b), intent(in) | n ) |
| [in] | c | concentration array |
| [in] | n | node index |
Definition at line 28 of file FreundlichIsotherm.f90.

|
pure virtualinherited |
| [in] | this | isotherm object |
| [in] | c | concentration array |
| [in] | n | node index |
Definition at line 13 of file IsothermInterface.f90.
| real(dp), dimension(:), pointer freundlichisothermmodule::freundlichisothermtype::a => null() |
Definition at line 25 of file FreundlichIsotherm.f90.
| real(dp), dimension(:), pointer freundlichisothermmodule::freundlichisothermtype::kf => null() |
Definition at line 24 of file FreundlichIsotherm.f90.