Hello all, I shall be thankful if someone could tell me in details how to use 'save()' and 'load()' functions to save and load triangulation information and the nodal values of displacements, strains, stresses, and may be temperature (similar to step44) so that they can be used as initial data in another simulations with the identical triangulation data.
Or if there is some other simpler way. Thanks and regards, Anup. On Tuesday, November 1, 2016 at 6:23:09 PM UTC-5, Anup Basak wrote: > > Dear Jean-Paul and Timo, > > Thank you very much for your reply. > > I would like to use 'save ()' and 'load() ' functions as both of you > suggested, but it is not > fully clear to me how should they be used in the dealii code (I am using a > code similar to step-44 > large deformation problem). Suppose I need to save all the trangulation > information and > data like displacements, stresses, strains, etc. and use them as initial > data on the saved > geometry. > > It would be very helpful if you kindly explain little elaborately and tell > me if any of the examples > has used this idea (or some other reference). > > Thanks a lot. > > Regards, > Anup. > > > > > On Fri, Oct 14, 2016 at 1:51 PM, Timo Heister <heis...@clemson.edu> wrote: > >> .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. >> > > -- 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.