OpenFOAM

From FarmShare

(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
== 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.
+
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. It assumed you are using the bash shell.  If you are not and wish to please see:
Be sure to change /farmshare/user_data/bishopj to a directory of your choosing
Be sure to change /farmshare/user_data/bishopj to a directory of your choosing
Line 11: Line 11:
<source lang="sh">
<source lang="sh">
ssh -X corn40.stanford.edu
ssh -X corn40.stanford.edu
 +
. /opt/openfoam222/etc/bashrc
. /opt/openfoam222/etc/bashrc
cd /farmshare/user_data/bishopj
cd /farmshare/user_data/bishopj

Revision as of 16:02, 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. It assumed you are using the bash shell. If you are not and wish to please see:

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