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

FoamToGMV

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2007, 12:26
Default I am new to OpenFoam. I get th
  #1
Senior Member
 
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 17
skabilan is on a distinguished road
I am new to OpenFoam. I get the following error message when I use foamToGMV:

--> FOAM FATAL IO ERROR : cannot open file

file: /home/skabilan/workdir/openfoam/weibel/weibel/constant/conversionProperties at line 0.

Thanks for your help!
skabilan is offline   Reply With Quote

Old   July 14, 2007, 13:19
Default The error message suggests tha
  #2
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
The error message suggests that the foamToGMV utility requires a file named conversionProperties to be present in the constant directory. You can either ask someone if they have a sample file or reverse-engineer the contents of the file yourself by creating it.
msrinath80 is offline   Reply With Quote

Old   July 14, 2007, 13:35
Default Thanks! I tried creating a fil
  #3
Senior Member
 
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 17
skabilan is on a distinguished road
Thanks! I tried creating a file but I get the following error. I need to get the header right for the conversionProperties file. Any help is appreciated.

--> FOAM FATAL IO ERROR : problem while reading header for object conversionProperties

file: /home/skabilan/workdir/openfoam/weibel/weibel/constant/conversionProperties at line 1.

From function regIOobject::readStream(const word&)
in file db/regIOobject/regIOobjectRead.C at line 75.

FOAM exiting
skabilan is offline   Reply With Quote

Old   July 14, 2007, 15:34
Default Try copying the standard heade
  #4
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Try copying the standard headers from say blockMeshDict and try again. If that works, you'll get a new error message stating which variable was not defined. Then you create this variable inside the file and try to figure out its format based on the next error message. I know this can be tiresome, but it is also a sure way to get the utility to work.
msrinath80 is offline   Reply With Quote

Old   May 21, 2008, 08:09
Default I converted engine simulation
  #5
Member
 
Tomislav Sencic
Join Date: Mar 2009
Posts: 42
Rep Power: 17
tsencic is on a distinguished road
I converted engine simulation results with foamToGMV, but the mesh is not moving. To convert the node coordinates there should be a file region0/points in each time directory. Where can I find such file?
tsencic is offline   Reply With Quote

Old   June 10, 2008, 19:54
Default Hi Tomislav, Where did you
  #6
Senior Member
 
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 17
skabilan is on a distinguished road
Hi Tomislav,

Where did you get the conversionProperties file? which OpenFOAM looks for when we try the foamToGmv.

Thanks
Senthil
skabilan is offline   Reply With Quote

Old   August 24, 2012, 13:21
Default
  #7
New Member
 
Anonymous
Join Date: Aug 2012
Posts: 8
Rep Power: 13
Tiffany is on a distinguished road
Hi Senthil,

I know this is an old thread, but I was wondering if you were able to make or get a sample of the conversionProperties file. I'm trying to use foamToGMV as well and wanted to see if you already had a sample you wouldn't mind sharing.

Thanks
Tiffany is offline   Reply With Quote

Old   August 24, 2012, 17:31
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Tiffany,

Since this is pretty much the only thread specific for foamToGMV, I guess we might as well finish it off with a proper solution

I've checked the source code and did some tests. Here is the wiki page that shows all that probably you'll need to know: http://openfoamwiki.net/index.php/FoamToGMV

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 24, 2012, 20:05
Default
  #9
New Member
 
Anonymous
Join Date: Aug 2012
Posts: 8
Rep Power: 13
Tiffany is on a distinguished road
Thank you, Bruno. That was exactly was I was looking for!
Tiffany 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



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