COMPAREECL(1) | User Commands | COMPAREECL(1) |
compareECL - Comparator for Eclipse files
compareECL compares ECLIPSE files (restart (.RST), unified restart (.UNRST), initial (.INIT), summary (.SMRY), unified summary (.UNSMRY) or .RFT) and gridsizes (from .EGRID or .GRID file) from two simulations. The program takes four arguments:
1. Case number 1, reference case (full path without extension) 2. Case number 2, test case (full path without extension) 3. Absolute tolerance 4. Relative tolerance (between 0 and 1)
In addition, the program takes these options (which must be given before the arguments):
-a Run a full analysis of errors.
-k Specify specific keyword to compare (capitalized), for examples -k PRESSURE or -k WOPR:A-1H
-x Allow extra keywords in case number 2. These additional keywords (not found in case number1) will be ignored in the comparison.
compareECL -k PRESSURE <path to first casefile> <path to second casefile> 1e-3 1e-5 compareECL -t INIT -k PORO <path to first casefile> <path to second casefile> 1e-3 1e-5 compareECL -i <path to first casefile> <path to second casefile> 0.01 1e-6
Exceptions are thrown (and hence program exits) when deviations are larger than the specified tolerances, or when the number of cells does not match -- either in the grid file or for a specific keyword. Information about the keyword, keyword occurrence (zero based) and cell coordinate is printed when an exception is thrown. For more information about how the cases are compared, see the documentation of the EclFilesComparator class.
October 2022 | compareECL 2022.10 |