anaflow.tools.coarse_graining.K_CG_error

K_CG_error(err, cond_gmean, var, len_scale, anis, K_well='KH', prop=1.6)[source]

Calculating the radial-point for given error.

Calculating the radial-point where the relative error of the farfield value is less than the given tollerance. See: K_CG()

Parameters
  • err (float) – Given relative error for the farfield conductivity

  • cond_gmean (float) – Geometric-mean conductivity.

  • var (float) – Variance of the log-conductivity.

  • len_scale (float) – Corralation-length of log-conductivity.

  • anis (float) – Anisotropy-ratio of the vertical and horizontal corralation-lengths.

  • K_well (string/float, optional) – Explicit conductivity value at the well. One can choose between the harmonic mean ("KH"), the arithmetic mean ("KA") or an arbitrary float value. Default: "KH"

  • prop (float, optional) – Proportionality factor used within the upscaling procedure. Default: 1.6

Returns

rad – Radial point, where the relative error is less than the given one.

Return type

float

Examples

>>> K_CG_error(0.01, 0.001, 1, 10, 1, 2)
19.612796453639845