CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation


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

LinkBack Thread Tools Display Modes
Old   January 11, 2012, 16:56
Unhappy Run OpenFOAM GUI
New Member
Join Date: Nov 2011
Location: The Netherlands
Posts: 17
Rep Power: 8
Caluca is on a distinguished road
I am at a loss here. I have recently switched to Linux and I am having a hard time adjusting to using command lines. I managed to install OpenFOAM 2.1.0. The tutorials as explained in the user guide seem to be command line only. But what I want is just to start OpenFOAM's graphical user interface. Could somebody tell me what the EXACT terminal command is to run the GUI (assuming no symbolic links have been made).
"Do not worry about your difficulties in Mathematics. I can assure you mine are still greater." - Albert Einstein
Caluca is offline   Reply With Quote

Old   January 11, 2012, 18:02
Senior Member
Join Date: Mar 2011
Posts: 174
Rep Power: 8
anon_a is on a distinguished road
The answer you seek is here:
"The short answer is that there is no open-source GUI".

Other people mention some tools but I have not used them so I can not tell you the command or my opinion

Don't worry, the command-line becomes friendlier in time :-) You will get totally used within a week or so
anon_a is offline   Reply With Quote

Old   January 12, 2012, 13:04
Andy Jones
Join Date: Sep 2010
Location: Columbus, Ohio
Posts: 78
Rep Power: 9
andyj is on a distinguished road

I would suggest working thru an hour of tutorials on the Linux command line at:
The tutorials are free.
There are tutorials for Paraview at:

You download the pdf to read the tutorial and also download the tutorial data filess for your version of Paraview. Save both in your documents. Paraview has a GUI.
Once your finish the Linux command line tutorial, you are ready to start on the OpenFoam tutorials. Note that your path to the location of the tutorials in OpenFoam includes your user name.
In Linux, you need to open your file directory Program (Nautalus ect..) to find the paths to various programs.

You really must do the Linux command line tutorial, otherwise you will be lost. Its actually very easy. Takes about an 1/2 hour to one hour (at get eneough experience to run the OpenFoam and Paraview tutorials.
andyj is offline   Reply With Quote

Old   January 12, 2012, 13:36
Andy Jones
Join Date: Sep 2010
Location: Columbus, Ohio
Posts: 78
Rep Power: 9
andyj is on a distinguished road
To start the openfoam tutorials that you have installed to your run directory per the user guide chap 2, lid cavity example, you first navigate to that directory with the cd command.
You may need to use the pwd command to find out where you are at before starting.

cd OpenFOAM/yourusername-2.1.0/run/tutorials/incompressible/icoFoam/cavity

note the /yourusername-2.1.0/

Once you are in the correct directory, you type blockMesh to run the tutorial. Then read the tutorial on Lid Cavity, you type paraFoam, this starts paraview. You then type icoFoam. Its all in the OpenFoam user guide tutorial. You should get the lid cavity example opened up first to take a look at the software working,
Then go back and analyze the blockMeshDict and control files afterwards. In the first example, the lid cavity, you do not edit any blockMeshDict files or control files. They just explain how it is running in the background.

Pay close attention to capitalization and typograpical instructions.. openFoam is not the same as openFOAM.

Linux is similar to windows, you will find having a book on whatever version of Linux you are using essential. Any book on linux available at your local library will have something on the command line. Command line entries for different versions of linux will be the same. Your command prompt might look different though.
You need to be able to move around in the file system with the change directory command ( cd ).

Last edited by andyj; January 12, 2012 at 15:27. Reason: typo
andyj is offline   Reply With Quote

Old   January 12, 2012, 13:45
Andy Jones
Join Date: Sep 2010
Location: Columbus, Ohio
Posts: 78
Rep Power: 9
andyj is on a distinguished road
yourusername is the user name you selected for yourself when you installed Linux.

Again you must start with a tutorial on the
andyj is offline   Reply With Quote

Old   January 12, 2012, 17:42
Default important commands
Senior Member
Join Date: Mar 2009
Posts: 119
Rep Power: 10
klausb is on a distinguished road

have a look at my comments in this thread:

I think these are the most important commands to get started.

klausb is offline   Reply With Quote

Old   January 17, 2012, 09:06
Senior Member
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 601
Blog Entries: 5
Rep Power: 17
elvis will become famous soon enough

discretizer might be of interest for you
or engrid (pre-processing)

Bernhard Gschaider made a wonderful tool pyfoam to make life easier (but not with a GUI). Learn how to use it! (PDF-file)
elvis is offline   Reply With Quote


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
How to run Openfoam in a cluster after I install it xiuying OpenFOAM Installation 5 May 5, 2008 12:54
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33
OpenFOAM 13 and LAM msrinath80 OpenFOAM Running, Solving & CFD 0 December 23, 2006 19:55
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07

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