anaflow.tools.coarse_graining.T_CG_error

T_CG_error(err, trans_gmean, var, len_scale, T_well=None, 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: T_CG()

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

  • trans_gmean (float) – Geometric-mean transmissivity.

  • var (float) – Variance of log-transmissivity.

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

  • T_well (float, optional) – Explicit transmissivity value at the well. Harmonic mean by default.

  • 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

>>> T_CG_error(0.01, 0.001, 1, 10, 2)
34.91045016779039