PATHS
Recognised by the OPM Flow parserRUNSPEC
PATHS allows the user to define alias directory filenames to avoid long filenames with the INCLUDE, IMPORT, RESTART or GDFILE keywords. To use the alias with the aforementioned keywords PATHS should be prefixed with the $ symbol.
Notes:
Multiple entries must be on separate lines (see the example).
The keyword is terminated by a “/”.
- Records
- One or more records, each terminated by
/ - Items per record
- 2
Parameters
| No. | Name | Description | Type | Default |
|---|---|---|---|---|
| 1 | PathNamemanual: ALIAS | A character string enclosed in quotes defining the alias. | STRING | None |
| 2 | PathValuemanual: DIRC | A character string enclosed in quotes defining the directory filename. | STRING | None |
Example
--
-- PATH PATH
-- ALIAS DIRECTORY FILENAME
PATHS
'GRID' '/DISK1/NORNE/2017/GRID-INCLUDES' /
'SCHD' '/DISK1/NORNE/2017/SCHD-INCLUDES' /
/
The above example defines “GRID” and “SCHD” aliases in the RUNSPEC section than can be used in the GRID and SCHEDULE sections of the input deck. The next example shows how to use the “GRID” alias with the INCLUDE keyword in the GRID section.
--
-- LOAD INCLUDE FILES
--
INCLUDE
'$GRID/PORO.INC' /
INCLUDE
'$GRID/PERMX.INC' /
INCLUDE
'$GRID/NTG.INC' /
Here the porosity, permeability and net-to-gross arrays are loaded in the GRID section using the directory filename aliases declared in the RUNSPEC section.Manual source: parts/chapters/subsections/5.3/PATHS.fodt