mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Hysteresis.
SimulatorFullyImplicitBlackoil reports saturation values at each completed time-step, allowing detection of hysteris behavior.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user