Common components for OPM, in particular build system (cmake).
This commit expands the private member function Tables::addOilPVTTables(const EclipseState&) to create structurally correct TAB vector entries from the PVDO (dead oil) input table data when oil is an active phase in a simulation run. Specifically, the result array has the columns [ Po, 1/Bo, 1/(Bo*mu_o), d(1/Bo)/dPo, d(1/(Bo*mu_o))/dPo ] The number of table rows is equal to number of PVT regions times the number of pressure nodes declared in input keyword TABDIMS (NPPVT, Item 4). In other words, the result array is expanded to fill NPPVT rows per PVT region. Fill value +2.0e+20. We have verified the results with ECLIPSE 100. As an OPM extension, we will use the maximum number of active pressure nodes across all PVDO tables if the declared maximum pressure nodes in TABDIMS is too small. This will create a TAB vector that is not compatible with ECLIPSE, but which will nevertheless be useful in the context of ResInsight's flux calculation. |
||
---|---|---|
cmake | ||
debian | ||
docs | ||
etc | ||
examples | ||
external/cjson | ||
jenkins | ||
msim | ||
opm | ||
redhat | ||
src/opm | ||
tests | ||
.gitignore | ||
changelog.md | ||
CMakeLists_files.cmake | ||
CMakeLists.txt | ||
CopyHeaders.cmake | ||
dune.module | ||
ExtraTests.cmake | ||
GenerateKeywords.cmake | ||
LICENSE | ||
opm-common-prereqs.cmake | ||
README.md |
opm-common
Contains common components used throughout all of OPM, in particular CMake modules for the build system.