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

paraFoam- how to save *.foam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 22
Rep Power: 5
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
Posts: 237
Rep Power: 7
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 online now   Reply With Quote

Old   August 2, 2011, 09:10
Default
  #3
New Member
 
Sebastian
Join Date: Aug 2011
Location: Poland, Poznań
Posts: 22
Rep Power: 5
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: Delft, Netherlands
Posts: 919
Rep Power: 17
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: 22
Rep Power: 5
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: 174
Rep Power: 7
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: Delft, Netherlands
Posts: 919
Rep Power: 17
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: 174
Rep Power: 7
linch is on a distinguished road
Thanks Anton!
linch is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird Problem with ParaFoam via SSH cwang5 OpenFOAM Paraview & paraFoam 2 July 19, 2010 09:00
pointVectorField in ParaFoam s_braendli OpenFOAM Paraview & paraFoam 0 April 22, 2010 08:36
Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit nanes OpenFOAM Paraview & paraFoam 2 September 11, 2009 09:12
Parafoam basic questions qtian OpenFOAM Paraview & paraFoam 0 July 20, 2007 11:52
ParaFoam OF 14 decomposed cases philippose OpenFOAM Paraview & paraFoam 4 April 18, 2007 05:17


All times are GMT -4. The time now is 11:36.