Common components for OPM, in particular build system (cmake).
We support both standard and multisegmented wells, but do not output every known PLT array. Notably missing are - WELLPLT - Brine flow rate (CONSRAT) - Phase flow rates through tubing (CONxTUB) Computing CONNXT for multisegmented wells is somewhat involved, and requires sorting the connections according to branch number, segments, and tubing lengths. We use an ancillary structure, an array of indices into a WellConnections object, along with a custom predicate to perform this sorting. As an implementation detail, we handle PLT data for multisegmented wells as an extension of the PLT data for regular/standard wells. This extension is realised through dynamic polymorphism. Add unit tests to cover PLT data for both well types. |
||
---|---|---|
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