You are on page 1of 4

15.08.

2017 Install OpenFOAM for W ndows

Facebook

L nkedIn

GooglePlus

YouTube

DOWNLOAD

Why OpenFOAM?
Products
Serv ces
References
News
About us
Contacts

Install OpenFOAM for W ndows


OpenFOAM for W ndows Descr pt on

Download OpenFOAM for W ndows

When runn ng OpenFOAM n W ndows we recommend to use Cygw n software to keep the workflow cons stent w th L nux as much as poss ble. There are many other ways
of us ng OpenFOAM for W ndows, depend ng on your prev ous exper ences, preferred applcat ons and other c rcumstances. Th s page descr bes just one of those ways.

After downloaded OpenFOAM for W ndows nstallat on f le, s mply run t. We recommend to follow the nstallat on default opt ons.

Example 1 : f rst case run

1. run OpenFOAM for W ndows

2. $ mc

Example 2 : run mc command runs mdn ght commander, wh ch s truly powerful tool when work ng n termnal, note you can always sw tch by ctrl+o to
command lne to run commands and aga n ctrl+o back to manage f les
OpenFOAM for
W ndows n 3. $ run
parallel run alas jumps to your work ng d rectory

4. $ cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity ./

copy the cav ty tutor al case here

5. $ cd cavity
Example 3 : change d rectory to cav ty
create new 6. $ blockMesh.exe
solver
create the computat onal mesh
(comp lat on)
7. $ icoFoam.exe

http://www.cfdsupport.com/ nstall-openfoam-for-w ndows.html 1/4


15.08.2017 Install OpenFOAM for W ndows
run the solver

8. $ paraFoam

Example 4 : v ew results n ParaV ew


motorB ke

Please contact us for further


nformat on.

1. run OpenFOAM for W ndows

2. $ mc

3. $ run

4. $ cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily ./

5. $ cd pitzDaily

6. $ cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/motorBike/system/decomposeParDict ./system/

7. $ blockMesh.exe

8. $ decomposePar.exe

9. $ mpiexec -n 6 simpleFoam -parallel

10. $ reconstructPar.exe

11. $ paraFoam

1. run OpenFOAM for W ndows

2. $ mc

3. $ run

4. $ mkdir myFirstWindowsOpenFOAMSolver

5. $ cd myFirstWindowsOpenFOAMSolver

6. $ cp -r $FOAM_SOLVERS/incompressible/icoFoam/* ./

7. $ sed -i "s/\/icoFoam/\/myFirstWindowsOpenFOAMSolver/g" Make/files

8. $ wmake

9. $ run

10. $ cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity ./

11. $ cd cavity/

12. $ blockMesh.exe

13. $ myFirstWindowsOpenFOAMSolver.exe

14. $ paraFoam

http://www.cfdsupport.com/ nstall-openfoam-for-w ndows.html 2/4


15.08.2017 Install OpenFOAM for W ndows

1. run OpenFOAM for W ndows

2. $ mc

3. $ run

4. $ cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/motorBike ./

5. $ cd motorBike

6. $ find ./ -type f | xargs sed -i "s/WM_PROJECT_DIR/OPENFOAM_INSTALL_PATH/g"

7. $ ./Allrun

8. $ paraFoam

YourEma l@

Stay Informed about news n OpenFOAM and our company. We do not lke Spam. You can unsubscr be anyt me.

Th s offer ng s not approved or endorsed by OpenCFD L mted, producer and d str butor of the OpenFOAM software and owner
of the OPENFOAM and OpenCFD trade marks.

http://www.cfdsupport.com/ nstall-openfoam-for-w ndows.html 3/4


15.08.2017 Install OpenFOAM for W ndows

nfo@cfdsupport.com +420 212 243 883 CFD support, s.r.o., Sokolovsk 270/201, 19000 Praha 9, Czech Republc

http://www.cfdsupport.com/ nstall-openfoam-for-w ndows.html 4/4

You might also like