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 test_2p_incompressible_tpfa
ctest -R test_2p_incompressible_tpfa
in the build folder to see it working.
The call to createPVNameFunction in line 142 of test_2p_fv.cc will
change slightly once MR 1212 is merged,
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/merge_requests/1212.
Kind regards
Bernd
On 11/05/2018 02:52 PM, Nikolai Andrianov wrote:
Dear DuMuX experts,
Please advise what is the easiest way to re-initialize a DuMuX run
from vtu/vtp files.
After a pretty long run (several days) DuMuX stopped because the
simulation time was over; however, I would like to continue the run
starting from the last saved vtu file. (I have seen some files for
creating restarts in dumux/io/restart.hh but I did not envoke it
explicitly.)
I have managed to read a vtu from a standalone executable using native
vtk methods (reading the file using GetCellData of
vtkUnstructuredGrid). For that I needed to install vtk using sudo
apt-get install libvtk5-dev, and compile the executable with vtk
libraries).
How can I compile DuMuX using the vtk libraries? Essentially, I need
to pass a string like -I/usr/include/include/vtk-5.10 -lvtkCommon etc
to g++.
Thank you,
Nikolai
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
--
_______________________________________________________________
Bernd Flemisch phone: +49 711 685 69162
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email: [email protected]
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_______________________________________________________________
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux