Fix unit for salt concentration in WSALT
This commit is contained in:
parent
24b66d8bb4
commit
32a47bf79a
@ -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
|
||||
|
@ -11,7 +11,8 @@
|
||||
},
|
||||
{
|
||||
"name": "CONCENTRATION",
|
||||
"value_type": "UDA"
|
||||
"value_type": "UDA",
|
||||
"dimension": "Salinity"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user