Functions
freeflow gridding rules

Functions

FLOW_EXPORT boolvec * flow_points (const char *points_name="*")
 
FLOW_EXPORT boolvec * flow_area (REAL value, const char *area_name="*")
 
FLOW_EXPORT boolvec * flow_curve (REAL value, const char *curve_name="*")
 
FLOW_EXPORT boolvec * flow_contour (const char *contour_name="*")
 
FLOW_EXPORT bool lcm_simple (REAL permeability=1, REAL viscosity=1, REAL multiplier=1)
 

Detailed Description

Function Documentation

bool flow_area ( REAL  value,
const char *  area_name = "*" 
)
Tcl syntax:
flow_area value area_name
bool flow_contour ( const char *  contour_name = "*")
Tcl syntax:
flow_contour contour_name
bool flow_curve ( REAL  value,
const char *  curve_name = "*" 
)
Tcl syntax:
flow_curve value curve_name
bool flow_points ( const char *  points_name = "*")
Tcl syntax:
flow_point value "points_name"
bool lcm_simple ( REAL  permeability = 1,
REAL  viscosity = 1,
REAL  scale = 1 
)
\par Tcl syntax:
lcm_simple permeability viscosity multiplier

\par Description:
This gridding rule implements the law of conservation of mass in the simplest formulation 
(with constant formation permeability and constant liquid viscosity).

\param permeability constant value for a formation permeability ( \form#30).
\param viscosity constant value for liquid viscosity ( \form#32)
\param scale scale factor.

\par Math:

\[ A_{i,j} = -\frac{1}{2} \left(S \cdot \frac{k}{\mu}\right) \left[ \frac{h_y h_z}{h_x} \left(u_{i+1,j} - u_{i,j} \right)^2 + \frac{h_x h_z}{h_y} \left(u_{i,j+1} - u_{i,j} \right)^2 + \frac{h_y h_z}{h_x} \left(u_{i,j} - u_{i-1,j} \right)^2 + \frac{h_x h_z}{h_y} \left(u_{i,j} - u_{i,j-1} \right)^2 \right], \]

where

  • $ k $ - formation permeability ( $ m^2 $)
  • $ \mu $ - liquid viscosity ( $ Pa \cdot sec $)
  • $ S $ - scale factor
  • $ u_{i,j} $ - pressure in (i,j) cell ( $ Pa $)
  • $ h_x, h_y, h_z $ - cell size ( $ m $) in X, Y and Z direction ( $ h_z $ is equal to formation thick )



surfit: gridding and contouring software.