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& eclState = gridManager.eclState();
|
||||||
const auto& eclProps = eclState.get3DProperties();
|
const auto& eclProps = eclState.get3DProperties();
|
||||||
|
|
||||||
// since the values specified in the deck do not need to be consistent, we use an
|
// the values specified in the deck do not need to be consistent,
|
||||||
// initial condition that conserves the total mass specified by these values, but
|
// we still don't try to make the consistent.
|
||||||
// for this to work all three phases must be active.
|
useMassConservativeInitialCondition_ = false;
|
||||||
useMassConservativeInitialCondition_ = (FluidSystem::numActivePhases() == 3);
|
|
||||||
|
|
||||||
// make sure all required quantities are enables
|
// make sure all required quantities are enables
|
||||||
if (FluidSystem::phaseIsActive(waterPhaseIdx) && !eclProps.hasDeckDoubleGridProperty("SWAT"))
|
if (FluidSystem::phaseIsActive(waterPhaseIdx) && !eclProps.hasDeckDoubleGridProperty("SWAT"))
|
||||||
|
Loading…
Reference in New Issue
Block a user