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

    Tables::addGasPVTTables(const EclipseState&)

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

    [ Rv, 1/Bg, 1/(Bg*mu_g), d(1/Bg)/dRv, d(1/(Bg*mu_g))/dRv ]

and the ancillary table (base pointer JBPVTG) holds the gas pressure
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 pressure nodes (TABDIMS item 4,
NPPVT) times the number of declared composition nodes (TABDIMS item
6, NRPVT).  In other words, the main result array is expanded to
fill NRPVT rows per gas pressure node per PVT region.  Fill value
-2.0e+20.  We have verified the results with ECLIPSE 100.  The
ancillary table is expanded to the number of declared pressure nodes
for each PVT region.  Here the fill value is +2.0e+20.

As an OPM extension, we will use the maximum number of active
composition and pressure nodes across all PVTG tables if the
declared maximum pressure nodes in TABDIMS is too small.  This will
create 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 gas-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 Gas PVT Output from PVDG 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 Gas PVT Output from PVTG 2019-04-04 14:11:07 +02:00
tests Tables: Add Structurally Correct Gas PVT Output from PVTG 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.