OpenFOAM

From FarmShare

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
== example of running OpenFOAM ==
== example of running OpenFOAM ==
 +
 +
In this example, we login to corn40 and copy the tutorials to our own user area.  Then process the motorbike and use paraFoam to view it in paraview.
 +
 +
Be sure to change /farmshare/user_data/bishopj to a directory of your choosing
<source lang="sh">
<source lang="sh">

Revision as of 15:15, 29 July 2014

OpenFOAM

Open source Field Operation And Manipulation

example of running OpenFOAM

In this example, we login to corn40 and copy the tutorials to our own user area. Then process the motorbike and use paraFoam to view it in paraview.

Be sure to change /farmshare/user_data/bishopj to a directory of your choosing

ssh -X corn40.stanford.edu
. /opt/openfoam222/etc/bashrc
cd /farmshare/user_data/bishopj
cp -rp $FOAM_TUTORIALS foamtut
cd foamtut/incompressible/simpleFoam/motorBike
./Allrun
paraFoam

If you apply a filter you should see something like this:

Motorbike1.png
Personal tools
Toolbox
LANGUAGES