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

openfoam output files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2010, 16:07
Question openfoam output files
  #1
New Member
 
kjmartin
Join Date: Feb 2010
Posts: 1
Rep Power: 0
kjmartin is on a distinguished road
Hi everyone! I am just installing OpenFOAM to try out, and I have a very basic question for the forum at large.

I've installed openfoam-mswin and I am going through the tutorials. I go to the tutorial directory and type "blockMesh" and "icoFoam" and they both report no errors. But when I try to load the results into ParaView, it wants a .openFOAM file, and I don't have any! I've searched my hard drive, and there is nothing. Since I have never used openFOAM before, I have no idea what is supposed to happen, but apparently the tutorial and my computer don't agree about what I am supposed to get out of this.

So, my questions for the forum:
1. What files are generated for you when you use openFOAM?
2. Is there a way to force a .openFOAM file to be created? Something to tack on at the command line?
3. Do I need to run something before I start meshing around?

Thanks, everyone!
kjmartin is offline   Reply With Quote

Old   February 9, 2010, 06:43
Default
  #2
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi!

I have never used the windows version, but in (most) lunix machines I had to recompile ParaView and the PV3FoamReader, as suggested in the README. Is there maybe a .foam file? And is it perhaps possible to convert the OF results into VTK format (with foamToVTK) and open the VTK file in ParaView? Sorry I can't be of more help, hope this gets you on your way a bit.
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   February 9, 2010, 07:02
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 kjmartin,

With openfoam-mswin things get a little bit different... Your question has already been posed and answered starting here

Best regards,
Bruno Santos
wyldckat is offline   Reply With Quote

Old   February 9, 2010, 12:26
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by kjmartin View Post
2. Is there a way to force a .openFOAM file to be created? Something to tack on at the command line?
You can use "paraFoam -touch" to create a $FOAM_CASE.OpenFOAM file.
olesen is offline   Reply With Quote

Old   February 19, 2010, 03:22
Default
  #5
Senior Member
 
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16
shirazbj is on a distinguished road
Quote:
Originally Posted by olesen View Post
You can use "paraFoam -touch" to create a $FOAM_CASE.OpenFOAM file.
Thought paraFoam not available under mswin.
shirazbj is offline   Reply With Quote

Old   February 19, 2010, 06:41
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 shirazbj,

It's possible if you setup an MSys environment and make a few tweaks to the OpenFOAM scripts and you can have a new Linux experience in Windows .

But in straight forward Windows command line, you can use:
Code:
echo. > case.OpenFOAM
If the plugin is properly installed, then it won't matter what is the name of the file, as long as the file extension is respected.
Nonetheless, things might change a bit if there are multiple regions, like in chtMultiRegionFoam.

Best regards,
Bruno Santos
wyldckat is offline   Reply With Quote

Reply

Tags
openfoam-mswin, output file, paraview, windows


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
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 11:46
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 15:08.