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

paraFoam- how to save *.foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2011, 08:40
Default paraFoam- how to save *.foam
  #1
New Member
 
Sebastian
Join Date: Aug 2011
Location: Poland, Poznań
Posts: 23
Rep Power: 14
Sebaj is on a distinguished road
Welcome everyone,

maybe someone know, how to save file " *.foam "? i'm working on cluster and i can't visualize my results..

using command paraFoam -touch it create only empty file.

i wish check my results on my own laptop (copy file *.foam to my laptop..)

Sebaj is offline   Reply With Quote

Old   August 2, 2011, 08:59
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi

*.foam is always an empty file which helps paraView to realize that there is a case there with folders and all that stuff.

In order to see your data you can run paraFoam (or paraView, loading the *.foam file) directly on the cluster (remember to enable X) or you will be forced to download all the data to your own computer.
Phicau is offline   Reply With Quote

Old   August 2, 2011, 09:10
Default
  #3
New Member
 
Sebastian
Join Date: Aug 2011
Location: Poland, Poznań
Posts: 23
Rep Power: 14
Sebaj is on a distinguished road
thanks,

so there is no chance to save data with time step in format .foam?
i can see my results on the cluster, but it's very slowly and slash? all the time.. so i wonder that is any other way to check results?

Sebaj is offline   Reply With Quote

Old   August 2, 2011, 10:37
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
You can use foamToVTK -time X to save your results in a VTK file which you can copy to your local computer and visualize with paraview.
akidess is offline   Reply With Quote

Old   August 3, 2011, 03:47
Default
  #5
New Member
 
Sebastian
Join Date: Aug 2011
Location: Poland, Poznań
Posts: 23
Rep Power: 14
Sebaj is on a distinguished road
Thanks,

It's works

i just save results by foamToVTK -allPatches it's also copy every time step.
Sebaj is offline   Reply With Quote

Old   August 4, 2011, 08:41
Default
  #6
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16
linch is on a distinguished road
Hi guys.

I have a rather simple question:

paraFoam creates a .OpenFOAM file, but paraview associates the .foam file type with OF. How can I make the paraFoam to create ".foam" files instead of ".OpenFOAM"
linch is offline   Reply With Quote

Old   August 4, 2011, 08:52
Default
  #7
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Illya, paraFoam is a bash script located in /OpenFOAM/OpenFOAM-1.6.x/bin/paraFoam (adapt to your version accordingly). You can easily edit that bash script to create .foam files instead of .OpenFOAM files. Please be aware that by doing so, you will invoke a different file reader plugin in paraview! (Native plugin vs. OpenCFD plugin)
akidess is offline   Reply With Quote

Old   August 4, 2011, 10:19
Default
  #8
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 16
linch is on a distinguished road
Thanks Anton!
linch 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
[OpenFOAM] Weird Problem with ParaFoam via SSH cwang5 ParaView 2 July 19, 2010 09:00
[OpenFOAM] pointVectorField in ParaFoam s_braendli ParaView 0 April 22, 2010 08:36
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes ParaView 2 September 11, 2009 09:12
[OpenFOAM] Parafoam basic questions qtian ParaView 0 July 20, 2007 11:52
[OpenFOAM] ParaFoam OF 14 decomposed cases philippose ParaView 4 April 18, 2007 05:17


All times are GMT -4. The time now is 19:50.