/root/tmp/opm-core-release-2015.10-final/opm/core/props/IncompPropertiesShadow.hpp Override certain properties with values from elsewhere. This allows mixing of property objects from several sources, such as rock and fluid properties from a file but unsaturated properties from a function. Care must be taken to setup the shadowing so no inconsistencies arise.
std::vector<double> poro;
IncompPropertiesFromDeck fromDeck(deck, grid);
simulate (IncompPropertiesShadow(fromDeck).usePorosity(poro));
|