added: RST CONV support for polymer, solvent and brine

This commit is contained in:
Arne Morten Kvarving
2024-01-22 09:58:06 +01:00
parent e585e14ef6
commit 873102e9ea
5 changed files with 35 additions and 30 deletions

View File

@@ -1504,8 +1504,9 @@ void EclGenericOutputBlackoilModule<FluidSystem,Scalar>::
assignGlobalFieldsToSolution(data::Solution& sol)
{
if (!this->cnvData_.empty()) {
constexpr std::array names = {"CNV_OIL", "CNV_GAS", "CNV_WAT"};
for (size_t i = 0; i < 3; ++i) {
constexpr const std::array names{"CNV_OIL", "CNV_GAS", "CNV_WAT",
"CNV_PLY", "CNV_SAL", "CNV_SOL"};
for (std::size_t i = 0; i < names.size(); ++i) {
if (!this->cnvData_[i].empty()) {
sol.insert(names[i], this->cnvData_[i], data::TargetType::RESTART_SOLUTION);
}