mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Obey the input given by the deck.
Don't try to make the initial condition consistent for explicitly given initial values.
This commit is contained in:
parent
fb27ebd4eb
commit
154e4fd97a
@ -1529,10 +1529,9 @@ private:
|
||||
const auto& eclState = gridManager.eclState();
|
||||
const auto& eclProps = eclState.get3DProperties();
|
||||
|
||||
// since the values specified in the deck do not need to be consistent, we use an
|
||||
// initial condition that conserves the total mass specified by these values, but
|
||||
// for this to work all three phases must be active.
|
||||
useMassConservativeInitialCondition_ = (FluidSystem::numActivePhases() == 3);
|
||||
// the values specified in the deck do not need to be consistent,
|
||||
// we still don't try to make the consistent.
|
||||
useMassConservativeInitialCondition_ = false;
|
||||
|
||||
// make sure all required quantities are enables
|
||||
if (FluidSystem::phaseIsActive(waterPhaseIdx) && !eclProps.hasDeckDoubleGridProperty("SWAT"))
|
||||
|
Loading…
Reference in New Issue
Block a user