Home
Name Modified Size InfoDownloads / Week
OpenFOAM.7z 2013-01-07 34.1 MB
Readme.txt 2012-12-06 1.2 kB
sonicFoam_forwardStep.7z 2012-11-09 55.9 kB
Totals: 3 Items   34.1 MB 0
Installation and Run Instructions

1. Install OpenMPI for windows (link provided below) make sure you tick ADD to path while installing
2. Extract folder OpenFOAM from archive (7z is the recommended app, link provided below)
3. Place OpenFOAM to destination of your choice
4. Go to OpenFOAM folder and run DOS_MODE.bat
5. Happy (open)foaming! 

Example:
Download forwardStep Tutorial case using sonicFoam solver (file Name: sonicFoam_forwardStep.7z)
The case is an identical copy from OF's original installation. 

Without MPI:
Run DOS_MODE.bat then type the following (The first step may differ for you):
>cd sonicFoam_forwardStep
>blockMesh
>sonicFoam


With OpenMPI:
Run DOS_MODE.bat then type the following (The first step may differ for you):
>cd sonicFoam_forwardStep
>blockMesh
>decomposePar
>mpirun -np 4 sonicFoam.exe -parallel

NOTE: The .exe is IMPORTANT else OpenMPI will complain that it cannot locate the binary :)!


Useful links

a) OpenMPI for Windows (x64) 

http://www.open-mpi.org/software/ompi/v1.6/downloads/OpenMPI_v1.6.1-1_win64.exe


b) Utility to extract archive 

http://downloads.sourceforge.net/sevenzip/7z920-x64.msi


Source: Readme.txt, updated 2012-12-06