go to your project directory cd campus*/ // make run directory mkdir run // copy the tutorial to your user run directory before running cp -r // list the directories-first level tree -L 1 // list the directories-second level tree -L 2 // show modules already loaded module list // show available modules on the cluster module avail // reserve one node single // load OpenFOAM module load openfoam/2.2.2 source $foamDotFile foamCompiler=ThirdParty WM_COMPILER=Gcc45 WM_MPLIB=SYSTEMOPENMPI // convert fluent mesh to openfoam mesh fluentMeshToFoam kampus_grid.msh -scale 0.001 // check the mesh quality checkMesh // to generate initial conditions potentialFoam // run steady state case on 1 processor simpleFoam // run transient case on 1 processor pimpleFoam // run the case in parallel for 6 processors // decompose the numerical domain for each processor decomposePar bsub -n 6 mpirun pimpleFoam -parallel // reconstruction of the domain from each processor reconstructPar // data visualization paraFoam // additional useful commands rm -rf 0.* //removes time directories rm -rf processor* //removes processor directories // if you want to change the number of processors vim system/decomposeParDict // if you want to change the time step or total time of the simulation vim system/controlDict