Skip to content

Commit

Permalink
Merge pull request #1118 from joakim-hove/add-rho-keyword
Browse files Browse the repository at this point in the history
Added OPM keyword RHO.
  • Loading branch information
joakim-hove authored Aug 17, 2017
2 parents 868e49b + 6dda21e commit 9d3d43b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/eclipse/EclipseState/Eclipse3DProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ namespace Opm {
for( const auto& kw : { "PERMXY", "PERMYZ", "PERMZX" } )
supportedDoubleKeywords.emplace_back( kw, nan, distributeTopLayer, "Permeability" );

/* A pure OPM keyword */
supportedDoubleKeywords.emplace_back( "RHO", nan, "Density" );

/* the transmissibility keywords for neighboring connections. note that
* these keywords don't seem to require a post-processor
*/
Expand Down
2 changes: 2 additions & 0 deletions lib/eclipse/share/keywords/900_OPM/R/RHO
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"name" : "RHO" , "sections" : ["GRID"], "data" : {"value_type" : "DOUBLE" , "default" : 0 , "dimension":"Density"}}

3 changes: 2 additions & 1 deletion lib/eclipse/share/keywords/keyword_list.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -385,5 +385,6 @@ set( keywords
900_OPM/G/GRUPRIG
900_OPM/M/MINPVFIL
900_OPM/O/OCOMPIDX
900_OPM/R/RHO
900_OPM/T/TLPMIXPA)

0 comments on commit 9d3d43b

Please sign in to comment.