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.  It assumed you are using the bash shell.  If you are not and wish to please see: https://web.stanford.edu/group/farmshare/cgi-bin/wiki/index.php/FAQ#How_do_I_change_my_shell_on_a_cardinal_or_a_corn
+
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 as your default shell.  If you are not and wish to please see: https://web.stanford.edu/group/farmshare/cgi-bin/wiki/index.php/FAQ#How_do_I_change_my_shell_on_a_cardinal_or_a_corn
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

Latest revision as of 16:07, 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 as your default shell. If you are not and wish to please see: https://web.stanford.edu/group/farmshare/cgi-bin/wiki/index.php/FAQ#How_do_I_change_my_shell_on_a_cardinal_or_a_corn

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