Use IncompPropertiesSinglePhase in compute_tof.
Work in progress. The rationale is that only single-phase flow solve is required for tof and tracer computations.
This commit is contained in:
parent
3d73bd3c72
commit
6df973a218
@ -36,7 +36,7 @@
|
||||
#include <opm/core/utility/parameters/ParameterGroup.hpp>
|
||||
|
||||
#include <opm/core/props/IncompPropertiesBasic.hpp>
|
||||
#include <opm/core/props/IncompPropertiesFromDeck.hpp>
|
||||
#include <opm/core/props/IncompPropertiesSinglePhase.hpp>
|
||||
|
||||
#include <opm/core/linalg/LinearSolverFactory.hpp>
|
||||
|
||||
@ -121,7 +121,7 @@ try
|
||||
// Grid init
|
||||
grid.reset(new GridManager(deck));
|
||||
// Rock and fluid init
|
||||
props.reset(new IncompPropertiesFromDeck(deck, eclipseState, *grid->c_grid()));
|
||||
props.reset(new IncompPropertiesSinglePhase(deck, eclipseState, *grid->c_grid()));
|
||||
// Wells init.
|
||||
wells.reset(new Opm::WellsManager(eclipseState , 0 , *grid->c_grid(), props->permeability()));
|
||||
// Gravity.
|
||||
|
Loading…
Reference in New Issue
Block a user