add YMODULE field property

this is the Young's modulus for each cell in a mechanics model
write this to the .INIT file for relevant models
This commit is contained in:
hnil
2023-08-17 08:23:59 +02:00
committed by Arne Morten Kvarving
parent 3a66f7c9b6
commit 217f8f7b60
4 changed files with 14 additions and 0 deletions

View File

@@ -147,6 +147,7 @@ static const std::unordered_map<std::string, keyword_info<double>> double_keywor
{"THCOIL", keyword_info<double>{}.unit_string("Energy/AbsoluteTemperature*Length*Time")},
{"THCGAS", keyword_info<double>{}.unit_string("Energy/AbsoluteTemperature*Length*Time")},
{"THCWATER",keyword_info<double>{}.unit_string("Energy/AbsoluteTemperature*Length*Time")},
{"YMODULE", keyword_info<double>{}.unit_string("Giga*Pascal")},
{"MULTX", keyword_info<double>{}.init(1.0).mult(true)},
{"MULTX-", keyword_info<double>{}.init(1.0).mult(true)},
{"MULTY", keyword_info<double>{}.init(1.0).mult(true)},

View File

@@ -0,0 +1,11 @@
{
"name": "YMODULE",
"sections": [
"GRID"
],
"description": "The YMODULE item is used to set the Young's modulus for a cell in mechanics models.",
"data": {
"value_type": "DOUBLE",
"dimension": "Ymodule"
}
}

View File

@@ -1152,6 +1152,7 @@ set( keywords
900_OPM/S/SWOFLET
900_OPM/T/TLPMIXPA
900_OPM/V/VAPWAT
900_OPM/Y/YMODULE
900_OPM/W/WATJT
900_OPM/W/WELTRAJ
900_OPM/W/WINJCLN

View File

@@ -444,6 +444,7 @@ namespace {
{"PERMY" , ::Opm::UnitSystem::measure::permeability },
{"PERMZ" , ::Opm::UnitSystem::measure::permeability },
{"NTG" , ::Opm::UnitSystem::measure::identity },
{"YMODULE" , ::Opm::UnitSystem::measure::ymodule },
};
// The INIT file should always contain the NTG property, we