Dear Chucui,

The Triangulation 
<https://dealii.org/9.0.0/doxygen/deal.II/classTriangulation.html#a5ae613e76606c08f919aa6e4bdf5f94a>,
 DoFHandler 
<https://dealii.org/9.0.0/doxygen/deal.II/classDoFHandler.html#aee69e8dd102b00e6e2e706ab43ea6c2a>
 and Vector 
<https://dealii.org/9.0.0/doxygen/deal.II/classVector.html#a753f299ab91013f742448f5bfc0f4b68>
 classes support serialization, that is to say that they have built-in save() / 
load() functions. The GridIn::read_vtk() 
<https://dealii.org/9.0.0/doxygen/deal.II/classGridIn.html#a058cd187cea704428ac1118410cd0fb8>
 function can supposedly construct a triangulation from a solution vector, but 
I’m not sure if this is working at the moment (see this GitHub issue 
<https://github.com/dealii/dealii/issues/7296>). I don’t think that there 
exists a mechanism to read in the numerical data from VTK file as of yet. So I 
would suggest that you utilise the serialization capabilities, which should 
allow a complete restart of a simulation from any tilmestep. I understand that 
this is what the ASPECT library <https://aspect.geodynamics.org/> does.

Although it does not directly help you restart a simulation using VTK data, I 
hope that you find this information useful.

Best,
Jean-Paul

> On 04 Nov 2018, at 07:16, [email protected] wrote:
> 
> Hi All,
> 
> I am running a code where the system I want to solve is time-dependent, which 
> means:
> <快快快.JPG>
> 
> 
> So, I want to solve u_{n+1} by using u_{n} in each time step n.
> If my code is broken suddenly ,at time step n=1000 for example, how to 
> restart it from time step t_n = 1001, not t_n=1? And in each time step, I 
> have a output VTK file of solution u.
> 
> Thank you in advance!
> 
> Best,
> Chucui
> 
> -- 
> The deal.II project is located at http://www.dealii.org/ 
> <http://www.dealii.org/>
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en 
> <https://groups.google.com/d/forum/dealii?hl=en>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> <快快快.JPG>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to