Fix unit for salt concentration in WSALT

This commit is contained in:
Tor Harald Sandve 2020-08-11 15:53:44 +02:00
parent 24b66d8bb4
commit 32a47bf79a
2 changed files with 3 additions and 2 deletions

View File

@ -32,7 +32,7 @@ Opm::WellBrineProperties Opm::WellBrineProperties::serializeObject()
void Opm::WellBrineProperties::handleWSALT(const DeckRecord& rec)
{
this->m_saltConcentration = rec.getItem("CONCENTRATION").get<UDAValue>(0).get<double>();
this->m_saltConcentration = rec.getItem("CONCENTRATION").get<UDAValue>(0).getSI();
}
bool Opm::WellBrineProperties::operator!=(const WellBrineProperties& other) const

View File

@ -11,7 +11,8 @@
},
{
"name": "CONCENTRATION",
"value_type": "UDA"
"value_type": "UDA",
"dimension": "Salinity"
}
]
}