Hysteresis.

SimulatorFullyImplicitBlackoil reports saturation values at each
completed time-step, allowing detection of hysteris behavior.
This commit is contained in:
osae
2014-02-18 14:50:29 +01:00
parent 9d9fed2a5f
commit 305512cc21
5 changed files with 28 additions and 5 deletions

View File

@@ -905,6 +905,15 @@ namespace Opm
}
return adbCapPressures;
}
/// Saturation update for hysteresis behavior.
/// \param[in] cells Array of n cell indices to be associated with the saturation values.
void BlackoilPropsAdFromDeck::updateSatHyst(const std::vector<double>& saturation,
const std::vector<int>& cells)
{
const int n = cells.size();
satprops_->updateSatHyst(n, cells.data(), saturation.data());
}
} // namespace Opm