Re: [deal.II] Re: using .vtk file as initial condition

2016-11-08 Thread Wolfgang Bangerth
It seems that using block_write() and block_read would be easier to store data and reuse them as initial conditions on identical geometry and mesh compared to using boost:serialization. In sequential computations, that is probably true. (i) Suppose I want to store my 'Solution' vector to the z

Re: [deal.II] Re: using .vtk file as initial condition

2016-11-08 Thread Anup Basak
Hello all, It seems that using block_write() and block_read would be easier to store data and reuse them as initial conditions on identical geometry and mesh compared to using boost:serialization. However, I have some issues and quires (I do not use parallelization in my code). I shall be than

Re: [deal.II] Re: using .vtk file as initial condition

2016-11-07 Thread Wolfgang Bangerth
On 11/07/2016 06:11 PM, Anup Basak wrote: It seems that to work with load() and save() one needs to work with boost packages. I was wondering if it is already inbuilt in dealii packages or I need to install boost and build it separately. It's all there already, ready for you to use :-) W. --

Re: [deal.II] Re: using .vtk file as initial condition

2016-11-07 Thread Anup Basak
Hello all, It seems that to work with load() and save() one needs to work with boost packages. I was wondering if it is already inbuilt in dealii packages or I need to install boost and build it separately. Thanks, Anup. On Mon, Nov 7, 2016 at 8:39 AM, Anup Basak wrote: > Thank you Jean-Paul a

[deal.II] Re: using .vtk file as initial condition

2016-11-07 Thread Anup Basak
Thank you Jean-Paul and Prof. Bangerth for the references. I will work on it now. Regards, Anup. On Tuesday, October 11, 2016 at 5:59:49 PM UTC-5, Anup Basak wrote: > > Dear all, > > I have a solution saved in two .vtk files for a mechanics problem > (displacement, stress, strain, temperature e

Re: [deal.II] Re: using .vtk file as initial condition

2016-11-06 Thread Wolfgang Bangerth
On 11/06/2016 06:43 PM, Anup Basak wrote: 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 the

Re: [deal.II] Re: using .vtk file as initial condition

2016-11-06 Thread Jean-Paul Pelteret
Dear Anup, Probably the simplest way to find examples of the save and load functionality is to look through deal.II's unit tests . Here are a list of tests that are related to the save functionality $ grep --include=\*.{h,cpp,cc} -rnw '.' -e

Re: [deal.II] Re: using .vtk file as initial condition

2016-11-06 Thread Anup Basak
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

Re: [deal.II] Re: using .vtk file as initial condition

2016-11-01 Thread Anup Basak
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

Re: [deal.II] Re: using .vtk file as initial condition

2016-10-14 Thread Timo Heister
.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

[deal.II] Re: using .vtk file as initial condition

2016-10-11 Thread Jean-Paul Pelteret
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