mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Various bugfixes in computing effective ToddLongstaff parameters
The most significant bug was in the computation of effective saturation fraction for the gas phase. The current implementation differs from the manual.
This commit is contained in:
@@ -237,7 +237,7 @@ namespace Opm {
|
||||
const std::vector<PhasePresence>
|
||||
phaseCondition() const {return this->phaseCondition_;}
|
||||
|
||||
void ToddLongstaffModel(std::vector<ADB> viscosity, std::vector<ADB> density, std::vector<ADB> saturations, const Opm::PhaseUsage pu);
|
||||
void ToddLongstaffModel(std::vector<ADB>& viscosity, std::vector<ADB>& density, const std::vector<ADB>& saturations, const Opm::PhaseUsage pu);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user