CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   ParaView to KiwiViewer (iPad) (http://www.cfd-online.com/Forums/openfoam/95943-paraview-kiwiviewer-ipad.html)

donuwe January 8, 2012 18:57

ParaView to KiwiViewer (iPad)
 
Hi Guys,

I've a short question:

How can I export a File from ParaView to KwiViewer.

Regards,

wyldckat January 9, 2012 07:05

Greetings donuwe,

I'm not certain that you'll be able to see anything other then the geometry itself, but according to the description on their front-page, you can use the VTK files. For that, in ParaView you can export data to VTK (File->Save...?).

If it's OpenFOAM results, run:
Code:

foamToVTK
It'll create a folder named "VTK".

For more options:
Code:

foamToVTK -help
Let us know if it works! I'm curious to see/know if it works!

Best regards,
Bruno

gonpe January 9, 2012 10:30

Quote:

Originally Posted by wyldckat (Post 338439)
Greetings donuwe,

I'm not certain that you'll be able to see anything other then the geometry itself, but according to the description on their front-page, you can use the VTK files. For that, in ParaView you can export data to VTK (File->Save...?).

If it's OpenFOAM results, run:
Code:

foamToVTK
It'll create a folder named "VTK".

For more options:
Code:

foamToVTK -help
Let us know if it works! I'm curious to see/know if it works!

Best regards,
Bruno

That sounds about right. KiwiViewer will read vtk files. The only downside is transferring the files to the iPad. You will need to create a dropbox account or e-mail the file to yourself.

I must say I was impressed by how smooth the viewer is. I hope they add some more functionality in the future. Some sort of layer control would be great.

Goncalo

tunkers January 10, 2012 00:20

Quote:

Originally Posted by gonpe (Post 338479)
That sounds about right. KiwiViewer will read vtk files. The only downside is transferring the files to the iPad. You will need to create a dropbox account or e-mail the file to yourself.

I have used paraview to generate AVI movies of transient simulation results, then on the iPad use OPlayerHD lite which can view native AVI's without needing to convert to another format. There is a free version of this app which has small banner ads, or can be purchased to get rid of the ads. The nice thing is that OPlayer supports wifi transfer of AVI files to the ipad, so you don't need to use dropbox, itunes or anything like that

gonpe January 10, 2012 10:10

Thanks for the info. I'll check it out.

Goncalo

patmarion January 12, 2012 11:41

Hi, KiwiViewer developer here...

You can use ParaView to export your data for KiwiViewer. With your data selected in ParaView, you can go to the Information tab and look at the data Type. If it says Polygonal Mesh, then the data is suitable for KiwiViewer. If it is Unstructured Grid or Multi-block Dataset, then you will have to apply some filters to convert the data.

For Multi-block Dataset, apply the Merge Blocks filter to convert the data to Unstructured Grid. Next, with Unstructured Grid data, apply the Extract Surface filter to convert the data to Polygonal Mesh.

Now, with the Polygonal Mesh selected you can use File -> Save Data to save out to a format that KiwiViewer can read- vtp, vtk, stl, obj, etc.

Finally, as Goncalo points out, you can get the data into KiwiViewer through email or DropBox. For more information, you can visit:


http://kiwiviewer.org/kiwiviewer/hel...mentation.html


We love to hear your feedback, you can email me, or use kiwiviewer@public.kitware.com or paraview@paraview.org

Pat


All times are GMT -4. The time now is 01:35.