2.0.0b8
catchment modelling framework
|
BROKEN: This class calculates the adsorption equilibrium between sorbat and sorbent using the Freundlich isotherme. More...
BROKEN: This class calculates the adsorption equilibrium between sorbat and sorbent using the Freundlich isotherme.
Freundlich isotherme:
\[\frac{x_{ad}}{m} = K c^n\]
where
CMF stores in a solute storage the total mass of a tracer and needs to calculate the free tracer mass. The eq. above can not be rearanged to get \(x_{free}\) from \(x_{tot}\). Instead, the value is iterated using regula falsi. If n is near to 1, using LinearAdsorption will speed up your calculations.
The simplest physically based adsorption model by Langmuir (LangmuirAdsorption) has also a analytical solution and is hence calculated faster then Freundlich.
Public Member Functions | |
FreundlichAdsorbtion (real K, real n, real m, real epsilon=1e-12, int maxiter=100) | |
FreundlichAdsorbtion * | copy (real m=-1) const |
returns a copy of the Adsorption object. | |
real | freesolute (real xt, real V) const |
Returns the mass of dissolved tracer as a function of the total tracer mass in the solute storage and the water volume. | |
real | totalsolute (real xf, real V) const |
Returns the total mass of the tracer from the dissolved concetration in tracer unit/m3. | |
FreundlichAdsorbtion | ( | real | K, |
real | n, | ||
real | m, | ||
real | epsilon = 1e-12, | ||
int | maxiter = 100 ) |
K,n | Freundlich coefficents |
m | Mass of sorbent in units of tracer |
epsilon | Tolerance of regula falsi iteration for the calculation of dissolved tracer from total trace, default = 1e-12 |
maxiter | Maximum number of iterations, default = 100 |
|
virtual |
returns a copy of the Adsorption object.
If the adsorption is depending on the sorbent mass, you can give a positive value for the sorbent mass m. If the value is not given or negative, m is used from the original object.
Implements Adsorption.
|
virtual |
Returns the mass of dissolved tracer as a function of the total tracer mass in the solute storage and the water volume.
xt | \(x_t\) the total tracer mass in the storage |
V | \(V m^3\) the water volume in the storage |
Implements Adsorption.
|
virtual |
Returns the total mass of the tracer from the dissolved concetration in tracer unit/m3.
xf | \(x_f\) the dissolved tracer mass in the storage |
V | \(V m^3\) the water volume in the storage |
Implements Adsorption.