[DuMuX] Calculation of Original Oil in Place(OOIP)

2018-11-07 Thread Ranjeet kumar
Hi all, I want to calculate original oil in place for 2p problem where OOIP = 10^4 * element.volume()*phi*(1-Sw)/Bo. I have implemented as follow in the constructor of spatialparams.hh file: Sw_ = 0.4; for (const auto& element : elements(gridView)) { auto geo =

Re: [DuMuX] Restart from vtu files

2018-11-07 Thread Bernd Flemisch
Hi Nikolai, you can have a look at test_2p_fv.cc in test/porousmediumflow/2p/implicit/incompressible, lines 137ff. The entry for test_2p_incompressible_tpfa_restart in CMakeLists.txt should show you how you can trigger the functionality from the command line. Type make