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, 09:40
Default paraFoam- how to save *.foam
  #1
New Member
 
Sebastian
Join Date: Aug 2011
Location: Poland, Poznań
Posts: 23
Rep Power: 15
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, 09: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, 10:10
Default
  #3
New Member
 
Sebastian
Join Date: Aug 2011
Location: Poland, Poznań
Posts: 23
Rep Power: 15
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, 11:37
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
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, 04:47
Default
  #5
New Member
 
Sebastian
Join Date: Aug 2011
Location: Poland, Poznań
Posts: 23
Rep Power: 15
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, 09:41
Default
  #6
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17
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, 09:52
Default
  #7
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
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, 11:19
Default
  #8
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17
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 10:00
[OpenFOAM] pointVectorField in ParaFoam s_braendli ParaView 0 April 22, 2010 09:36
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes ParaView 2 September 11, 2009 10:12
[OpenFOAM] Parafoam basic questions qtian ParaView 0 July 20, 2007 12:52
[OpenFOAM] ParaFoam OF 14 decomposed cases philippose ParaView 4 April 18, 2007 06:17


All times are GMT -4. The time now is 23:54.