Visualizing OpenFOAM VTK files in GiD

Moderator: GiD Team

Post Reply
Hosam
Posts: 10
Joined: Thu Mar 12, 2015 10:13 am

Visualizing OpenFOAM VTK files in GiD

Post by Hosam »

Hi,

We have VTK results generated by OpenFOAM and want to use GiD for post-processing. Is this possible?

Thanks!
Hosam
User avatar
escolano
Posts: 1922
Joined: Sun Sep 05, 1982 10:51 pm

Re: Visualizing OpenFOAM VTK files in GiD

Post by escolano »

Go to postprocess and use Files->Import->Vtk...
Hosam
Posts: 10
Joined: Thu Mar 12, 2015 10:13 am

Re: Visualizing OpenFOAM VTK files in GiD

Post by Hosam »

Thanks!
Hosam
Posts: 10
Joined: Thu Mar 12, 2015 10:13 am

Re: Visualizing OpenFOAM VTK files in GiD

Post by Hosam »

escolano wrote:Go to postprocess and use Files->Import->Vtk...
It worked for only one vtk file at a time. Is it possible to visualize a series of VTK files (each one corresponding to a time step), for example:
sim_0.vtk
sim_1.vtk
sim_2.vtk
sim_3.vtk
sim_4.vtk
sim_5.vtk
sim_6.vtk
sim_7.vtk
sim_8.vtk
sim_9.vtk
.
.


to generate an animation for example, or a graph over time?

Thanks,
Hosam
User avatar
escolano
Posts: 1922
Joined: Sun Sep 05, 1982 10:51 pm

Re: Visualizing OpenFOAM VTK files in GiD

Post by escolano »

the dialog window of Files->Import->Vtk... allow the selection of multiple files,
select all vtk files: sim_XX.vtk

The time step will be obtained from XX (Vtk unfortunatelly doesn't support the concept of time step, and this value is codified as a trick in the filenames)

Then you will have in GiD a results along the time and you could do animations, show graphs along the time, etc.
Hosam
Posts: 10
Joined: Thu Mar 12, 2015 10:13 am

Re: Visualizing OpenFOAM VTK files in GiD

Post by Hosam »

It worked. Thanks!
Post Reply