anaflow.tools.coarse_graining.Int_CG_error

Int_CG_error(err, cond_gmean, var, len_scale, roughness=1.0, anis=1, dim=2.0, 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: Int_CG()

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

  • cond_gmean (float) – Geometric-mean conductivity

  • var (float or None, optional) – Variance of log-conductivity.

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

  • roughness (float, optional) – Roughness of the model. Should be positive. Default: 1.0

  • anis (float, optional) – Anisotropy-ratio of the vertical and horizontal corralation-lengths. This is only applied in 3 dimensions. Default: 1.0

  • dim (float, optional) – Dimension of space. Default: 2.0

  • K_well (str or 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