Common components for OPM, in particular build system (cmake).
Go to file
Bård Skaflestad c5eca4b1e4 Tables: Add Structurally Correct Oil PVT Output from PVTO
This commit expands the private member function

    Tables::addOilPVTTables(const EclipseState&)

to create structurally correct TAB vector entries from the PVTO
(live oil) input table data when oil is an active phase in a
simulation run.  Specifically, the main result array has the columns

    [ Po, 1/Bo, 1/(Bo*mu_o), d(1/Bo)/dPo, d(1/(Bo*mu_o))/dPo ]

and the ancillary table (base pointer JBPVTO) holds the composition
nodes.

Note that while we do create structurally correct output tables, we
do not fill in undersaturated states that have been defaulted in the
input table.

The number of table rows in the main table is equal to number of PVT
regions times the number of declared composition nodes (TABDIMS item
6, NRPVT) times the number of declared pressure nodes (TABDIMS item
4, NPPVT).  In other words, the main result array is expanded to
fill NPPVT rows per Rs node per PVT region.  Fill value +2.0e+20.
We have verified the results with ECLIPSE 100.  The ancillary table
is expanded to number of declared composition nodes for each PVT
region.  Fill value +2.0e+20.

As an OPM extension, we will use the maximum number of active
pressure and composition nodes across all PVTO tables if the
declared maximum pressure nodes in TABDIMS is too small.  This will
create a TAB vector representations that are not compatible with
ECLIPSE, but which will nevertheless be useful in the context of
ResInsight's flux calculation.

Add unit tests for all supported oil-related PVT tables.
2019-04-04 14:11:07 +02:00
cmake opm_add_test(): add condition to specify if a test ought to be compiled by default 2019-03-07 12:44:28 +01:00
debian Bump versions 2018-10-02 15:43:01 +02:00
docs typo 2015-06-18 12:06:38 +02:00
etc tab completors: be quiet even if the which command would like to complain 2019-03-07 09:33:15 +01:00
examples mark constructor explicit 2019-02-27 11:14:36 +01:00
external/cjson changed: switch to the shared opm build system 2018-02-12 13:36:49 +01:00
jenkins added: array of extra cmake parameters for each module 2019-03-28 11:45:40 +01:00
msim ACTIONX: Works with WELOPEN and msim 2019-02-02 17:35:56 +01:00
opm Tables: Add Structurally Correct Oil PVT Output from PVCDO 2019-04-04 14:11:07 +02:00
redhat fixed: redhat packaging 2019-03-06 11:14:05 +01:00
src/opm Tables: Add Structurally Correct Oil PVT Output from PVTO 2019-04-04 14:11:07 +02:00
tests Tables: Add Structurally Correct Oil PVT Output from PVTO 2019-04-04 14:11:07 +02:00
.gitignore Import opm-output 2018-03-05 10:30:59 +01:00
changelog.md Changelog December 2016 2017-01-03 10:48:10 +01:00
CMakeLists_files.cmake Add class RFTConfig to manage when RFTs should be created 2019-04-03 19:46:07 +02:00
CMakeLists.txt Add optional code for well testing 2019-03-19 16:51:46 +01:00
CopyHeaders.cmake changed: use a two-tiered process for code gen 2018-06-18 10:07:52 +02:00
dune.module Bump versions 2018-10-02 15:43:01 +02:00
ExtraTests.cmake Added test for parsing EDITNNC 2018-11-21 22:14:27 +01:00
GenerateKeywords.cmake Add error mode DELAYED_EXIT1 to collect all errors 2019-01-07 12:38:05 +01:00
LICENSE Initial commit 2015-03-18 01:59:50 -05:00
opm-common-prereqs.cmake Rephrase comment into more proper English 2018-07-10 15:57:10 +02:00
README.md remove travis build status from README.md 2018-01-04 12:07:46 +01:00

opm-common

Contains common components used throughout all of OPM, in particular CMake modules for the build system.