.vtk files are visualization output, which always involves some loss
of information (for example we interpolate linearly to the vertices of
each cell by default), so therefore it is
complicated/inaccurate/undesirable to reconstruct a finite element
solution vector from it. This is the reason nobody has implemented
this inside deal.II so far. You should consider storing the finite
element solution and read that back in or do what J-P suggests.

On Wed, Oct 12, 2016 at 2:29 AM, Jean-Paul Pelteret
<jppelte...@gmail.com> wrote:
> Dear Anup.
>
> I notice that this question has been asked before, but remains without an
> answer. I'm not sure that this is possible - so far, save and load functions
> only read/write to boost archive data structures. You're probably better off
> investigating using these functions instead of a VTK file. That being said,
> if its an ASCII VTK file then it wouldn't be too difficult it wouldn't be
> too difficult to implement such functionality. But things could get tricky
> if you are using parallel data structures.
>
> Regards,
> J-P
>
>
> On Wednesday, October 12, 2016 at 12:59:49 AM UTC+2, Anup Basak wrote:
>>
>> Dear all,
>>
>> I have a solution saved in two .vtk files for a mechanics problem
>> (displacement, stress, strain, temperature etc.
>> at the nodal points). Now let us say I want to use this as initial
>> conditions for another problem (the domain,
>> boundary conditions, and meshes are identical for both the problems).
>> Could anyone please suggest that
>> how should I implement it.
>>
>> Thanks,
>> Anup.
>
> --
> The deal.II project is located at 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_&d=CwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=ItwOC0neOpqcosvpqST2azKxUqBCeihSaE71KljSX5k&s=utGxqw4FA4GTJrqTHK-pMzDeWHX906ycL5y2BTDm5VU&e=
>  
> For mailing list/forum options, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den&d=CwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=ItwOC0neOpqcosvpqST2azKxUqBCeihSaE71KljSX5k&s=NvnyBWAmMqXf1ji8zz6NQ9zrD-5tM-0RXGWHuI48rWQ&e=
>  
> ---
> 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 dealii+unsubscr...@googlegroups.com.
> For more options, visit 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=CwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=ItwOC0neOpqcosvpqST2azKxUqBCeihSaE71KljSX5k&s=Cdt_SsJ9xS_vt6t8lyvpIFqOUHyn-imvC7IVOeNoZJs&e=
>  .



-- 
Timo Heister
http://www.math.clemson.edu/~heister/

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to