Common components for OPM, in particular build system (cmake).
Faults are stored in an OrderedMap with the full string used during construction even if that is longer than 8 characters. When later these faults are e.g. modified whith MULTFLT using only the first 8 characters, the only message the user got was ``` An error occurred while creating the reservoir properties Internal error: Key not found: Unrecoverable errors while loading input: Key not found ``` With this patch we at least add some more context to the error message: ``` Error: An error occurred while creating the reservoir properties Internal error: [/../EclipseState.cpp:362] Could not set fault transmissibility multiplier 5.23166e-10 for fault CFN2_05t: Key ABCD_05q not found. Similar entries are ABCD_05q_extended_width, UABCD_05q_extended_width. ``` |
||
---|---|---|
cmake | ||
docs | ||
etc | ||
examples | ||
external | ||
jenkins | ||
msim | ||
opm | ||
python | ||
redhat | ||
src/opm | ||
test_util | ||
tests | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
changelog.md | ||
CMakeLists_files.cmake | ||
CMakeLists.txt | ||
CopyHeaders.cmake | ||
dune.module | ||
ExtraTests.cmake | ||
GenerateKeywords.cmake | ||
LICENSE | ||
opm-common-prereqs.cmake | ||
README.md |
opm-common: Tools for Eclipse reservoir simulation files
The Open Porous Media (OPM) software suite provides libraries and tools for modeling and simulation of porous media processes, especially for simulating CO2 sequestration and improved and enhanced oil recovery. The Eclipse file format is widely used in the reservoir simulation community. This package provides a library containing code for processing files in Eclipse format, Python binding for accessing Eclipse files and utility code used by other OPM modules (e.g. CMake modules used).
License
The library is distributed under the GNU General Public License, version 3 or later (GPLv3+).
Requirements
- C++17 compatible compiler
- CMake >= 3.10
- Posix compatibility