CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Paraview: what are necessary files when copying OF result files to new directory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2011, 16:56
Default Paraview: what are necessary files when copying OF result files to new directory
  #1
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Hi,

I copied my OF result files to a new directory for later analysis. I also
  • created a foo.foam file there
  • soft linked the original system and constant directories (the mesh was built with blockMesh)
But I cannot visualize results with Paraview in that new directory. Paraview's object inspector shows the Cell Arrays, but the Mesh regions is empty.

What else does Paraview need?

Thanks,

Mirko
mirko is offline   Reply With Quote

Old   May 19, 2011, 06:17
Default
  #2
Member
 
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
Hi,
try this out in you case folder:
"touch foo.foam"
then try to import it to paraview (you'll need a newer version of paraview; don't now exactly starting from which version paraview can directly import .foam files)

Ciao,
sabin.ceuca is offline   Reply With Quote

Old   May 19, 2011, 08:15
Default
  #3
Member
 
longamon's Avatar
 
David Aljure
Join Date: Mar 2011
Location: CTTC Universidad Politécnica de Catalunya. Spain
Posts: 38
Rep Power: 15
longamon is on a distinguished road
you can convert your files to VTK with foamToVTK function.
longamon is offline   Reply With Quote

Old   May 19, 2011, 10:10
Default
  #4
Member
 
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
Hi,
you can do this yes..
Quote:
Originally Posted by longamon View Post
you can convert your files to VTK with foamToVTK function.
but you will just waste time and use free space, it is not needed anymore with the newer versions of paraview
sabin.ceuca is offline   Reply With Quote

Old   May 20, 2011, 14:47
Default
  #5
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Quote:
Originally Posted by sabin.ceuca View Post
Hi,
try this out in you case folder:
"touch foo.foam"
then try to import it to paraview (you'll need a newer version of paraview; don't now exactly starting from which version paraview can directly import .foam files)

Ciao,
Thanks, I already had that.

I rechecked my files, and added a few missing things. Now I can see the mesh, but not the fields.

I looked into paraview's documentation, but could not find info on what exactly paraview needs to view OF results.

I solved my problem by going the other route - I just don't move the files around :-)
mirko is offline   Reply With Quote

Old   May 20, 2011, 14:49
Default
  #6
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Quote:
Originally Posted by sabin.ceuca View Post
Hi,
you can do this yes..

but you will just waste time and use free space, it is not needed anymore with the newer versions of paraview
What is the purpose of the VTK files? Is it to view the results using other post-processing software?

Thanks
mirko is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Post Processing Partial Result files Sans CFX 6 September 27, 2013 22:24
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
Editing Time in Result files Erich CFX 6 May 15, 2007 22:51
Problems with result files Kasper CFX 5 December 14, 2006 03:41
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


All times are GMT -4. The time now is 16:40.