CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation on Windows, Mac and other Unsupported Platforms (http://www.cfd-online.com/Forums/openfoam-installation-windows-mac/)
-   -   openfoam output files (http://www.cfd-online.com/Forums/openfoam-installation-windows-mac/72514-openfoam-output-files.html)

kjmartin February 8, 2010 16:07

openfoam output files
 
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!

gwierink February 9, 2010 06:43

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.

wyldckat February 9, 2010 07:02

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

olesen February 9, 2010 12:26

Quote:

Originally Posted by kjmartin (Post 245398)
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.

shirazbj February 19, 2010 03:22

Quote:

Originally Posted by olesen (Post 245510)
You can use "paraFoam -touch" to create a $FOAM_CASE.OpenFOAM file.

Thought paraFoam not available under mswin.

wyldckat February 19, 2010 06:41

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


All times are GMT -4. The time now is 18:00.