From edf272b10a18200aa2e899b759958f8147ab0855 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 6 Jun 2017 22:37:39 +0200 Subject: [PATCH 1/2] add support for the the SPOLY keyword i.e. this allows to specify the initial polymer concentration within the reservoir. --- lib/eclipse/EclipseState/Eclipse3DProperties.cpp | 1 + lib/eclipse/share/keywords/000_Eclipse100/S/SPOLY | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 lib/eclipse/share/keywords/000_Eclipse100/S/SPOLY diff --git a/lib/eclipse/EclipseState/Eclipse3DProperties.cpp b/lib/eclipse/EclipseState/Eclipse3DProperties.cpp index ae2b7dc73..d93b57987 100644 --- a/lib/eclipse/EclipseState/Eclipse3DProperties.cpp +++ b/lib/eclipse/EclipseState/Eclipse3DProperties.cpp @@ -370,6 +370,7 @@ namespace Opm { supportedDoubleKeywords.emplace_back( "PRESSURE", 0.0 , "Pressure" ); supportedDoubleKeywords.emplace_back( "SWAT", 0.0 , "1" ); supportedDoubleKeywords.emplace_back( "SGAS", 0.0 , "1" ); + supportedDoubleKeywords.emplace_back( "SPOLY", 0.0 , "Density" ); supportedDoubleKeywords.emplace_back( "RS", 0.0, "1" ); supportedDoubleKeywords.emplace_back( "RV", 0.0, "1" ); diff --git a/lib/eclipse/share/keywords/000_Eclipse100/S/SPOLY b/lib/eclipse/share/keywords/000_Eclipse100/S/SPOLY new file mode 100644 index 000000000..7f8171464 --- /dev/null +++ b/lib/eclipse/share/keywords/000_Eclipse100/S/SPOLY @@ -0,0 +1,8 @@ +{ + "name" : "SPOLY" , + "sections" : ["SOLUTION", "SPECIAL"], + "data" : { + "value_type" : "DOUBLE", + "dimension" : "Density" + } +} From b680eb867636b74e7d6b6197755935f7ddaacb38 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Mon, 12 Jun 2017 10:53:03 +0200 Subject: [PATCH 2/2] add SSOL to the double grid properties the keyword is already present, but as far as I can see it was not yet treated as a grid property. --- lib/eclipse/EclipseState/Eclipse3DProperties.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/eclipse/EclipseState/Eclipse3DProperties.cpp b/lib/eclipse/EclipseState/Eclipse3DProperties.cpp index d93b57987..57bcd2dd5 100644 --- a/lib/eclipse/EclipseState/Eclipse3DProperties.cpp +++ b/lib/eclipse/EclipseState/Eclipse3DProperties.cpp @@ -370,6 +370,7 @@ namespace Opm { supportedDoubleKeywords.emplace_back( "PRESSURE", 0.0 , "Pressure" ); supportedDoubleKeywords.emplace_back( "SWAT", 0.0 , "1" ); supportedDoubleKeywords.emplace_back( "SGAS", 0.0 , "1" ); + supportedDoubleKeywords.emplace_back( "SSOL", 0.0 , "1" ); supportedDoubleKeywords.emplace_back( "SPOLY", 0.0 , "Density" ); supportedDoubleKeywords.emplace_back( "RS", 0.0, "1" ); supportedDoubleKeywords.emplace_back( "RV", 0.0, "1" );