Merge pull request #641 from totto82/freeBC

Add input keywords for setting free boundary conditions
This commit is contained in:
Joakim Hove
2019-02-08 18:18:14 +01:00
committed by GitHub
3 changed files with 22 additions and 0 deletions

View File

@@ -443,6 +443,10 @@ namespace Opm {
supportedDoubleKeywords.emplace_back( "THCGAS", 0.0, "Energy/AbsoluteTemperature*Length*Time", true);
supportedDoubleKeywords.emplace_back( "THCWATER", 0.0, "Energy/AbsoluteTemperature*Length*Time", true);
// free flow boundary conditions
for( const auto& kw : { "FREEBCX", "FREEBCY", "FREEBCZ", "FREEBCX-", "FREEBCY-", "FREEBCZ-" } )
supportedDoubleKeywords.emplace_back( kw, 0.0, "1", true );
return supportedDoubleKeywords;
}

View File

@@ -0,0 +1,17 @@
{"name" : "FREEBC" ,
"sections" : ["SOLUTION"],
"deck_names" : [
"FREEBCX",
"FREEBCX-",
"FREEBCY",
"FREEBCY-",
"FREEBCZ",
"FREEBCZ-"
],
"data" : {
"value_type" : "DOUBLE",
"dimension":"1",
"default":0
}
}

View File

@@ -451,6 +451,7 @@ set( keywords
001_Eclipse300/Z/ZFACTORS
002_Frontsim/N/NOGRAV
900_OPM/F/FREEBC
900_OPM/G/GCOMPIDX
900_OPM/G/GRUPRIG
900_OPM/G/GASDENT