Hi Andreas,
This clarification really helps. It is likely something wrong in my code. Going
back to a smaller test file is an excellent idea.
Many thanks Andreas!
-Shawn
From: Andreas Lauser <[email protected]>
To: [email protected]; Shawn Zhang <[email protected]>
Sent: Monday, July 30, 2012 10:52 AM
Subject: Re: [DuMuX] How to enable restart capability in DumuX
Hi Shawn,
On Monday 30 July 2012 07:38:18 Shawn Zhang wrote:
> What puzzles me is that in my case, tEnd=8000, which should be long enough
> to produce restart files. I have about 125 vtk files written, each about
> 700MB, taking a total of 3 weeks to compute. This renders restart capability
> faiely important. I did not modify any default values on file output
> frequency.
that's strange. writing restart files has been enabled by default since
forever. Are you sure that you did not accidentally delete the .drs files or
that the directory you're looking at is not one where you only copied the vtu
files to?
To investigate this, I would also advice you to use a smaller grid for testing
purposes, so you don't have to wait several days between your tries.
> Also, by setting 1p2c test problem dtInitial=1, tEnd = 10000, I finally got
> a restart file, "outflow_time=245.573_rank=0.drs". After checking the *.pvd
> file, this time corresponds to result file "outflow-00011.vtk".
>
> So how does the time used in default "every-10" corresponds to the
> simulation time "tEnd"?
well, this seems to be quite the expected behavior me. The initial solution is
written to the file "outflow-00001.vtu" and if you add 10, you end up at
number 11...
the simulated time does not have anything to do with the time step number. The
size of the timesteps is controlled by the heuristic "If the newton method
converged quickly, increase the time step size; if it converged slowly (or not
at all) reduce it".
cheers
Andreas
--
Andreas Lauser
Department of Hydromechanics and Modelling of Hydrosystems
University of Stuttgart
Pfaffenwaldring 61
D-70569 Stuttgart
Phone: (+49) 711 685-64719
Fax: (+49) 711 685-60430
http://www.hydrosys.uni-stuttgart.de/
--
Andreas Lauser
Department of Hydromechanics and Modelling of Hydrosystems
University of Stuttgart
Pfaffenwaldring 61
D-70569 Stuttgart
Phone: (+49) 711 685-64719
Fax: (+49) 711 685-60430
www.hydrosys.uni-stuttgart.de
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux