From 35b03a28b88f06e61edfed10a53f0ddc68df2cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Jir=C3=A1sek?= <pavel.jirasek@vsb.cz> Date: Thu, 26 Jan 2017 15:21:45 +0100 Subject: [PATCH] Removed Have a fun with OpenFOAM :) --- .../software/openfoam.md | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/docs.it4i/anselm-cluster-documentation/software/openfoam.md b/docs.it4i/anselm-cluster-documentation/software/openfoam.md index 5fefbfdd..bd7cc12c 100644 --- a/docs.it4i/anselm-cluster-documentation/software/openfoam.md +++ b/docs.it4i/anselm-cluster-documentation/software/openfoam.md @@ -1,6 +1,6 @@ # OpenFOAM -\##A free, open source CFD software package +## A free, open source CFD software package ## Introduction @@ -8,26 +8,26 @@ OpenFOAM is a free, open source CFD software package developed by [**OpenCFD Ltd Homepage: <http://www.openfoam.com/> -\###Installed version +### Installed version Currently, several version compiled by GCC/ICC compilers in single/double precision with several version of openmpi are available on Anselm. For example syntax of available OpenFOAM module is: -< openfoam/2.2.1-icc-openmpi1.6.5-DP > +\<openfoam\/2.2.1-icc-openmpi1.6.5-DP\> this means openfoam version 2.2.1 compiled by ICC compiler with openmpi1.6.5 in double precision. Naming convection of the installed versions is following: -openfoam/<>VERSION>>-<>COMPILER<span>>-<</span><span>openmpiVERSION</span><span>>-<</span><span>PRECISION</span><span>></span> +openfoam\<VERSION\>-\<COMPILER\>\<openmpiVERSION\>-\<PRECISION\> -- <VERSION>> - version of openfoam -- <COMPILER> - version of used compiler -- <openmpiVERSION> - version of used openmpi/impi -- <PRECISION> - DP/SP – double/single precision +- \<VERSION\> - version of openfoam +- \<COMPILER\> - version of used compiler +- \<openmpiVERSION\> - version of used openmpi/impi +- \<PRECISION\> - DP/SP – double/single precision -\###Available OpenFOAM modules +### Available OpenFOAM modules To check available modules use @@ -60,7 +60,7 @@ To create OpenFOAM environment on ANSELM give the commands: !!! Note "Note" Please load correct module with your requirements “compiler - GCC/ICC, precision - DP/SP”. -Create a project directory within the $HOME/OpenFOAM directory named ><USER>-<OFversion> and create a directory named run within it, e.g. by typing: +Create a project directory within the $HOME/OpenFOAM directory named \<USER\>-\<OFversion\> and create a directory named run within it, e.g. by typing: ```bash $ mkdir -p $FOAM_RUN @@ -72,7 +72,7 @@ Project directory is now available by typing: $ cd /home/<USER>/OpenFOAM/<USER>-<OFversion>/run ``` -<OFversion> - for example <2.2.1> +\<OFversion\> - for example \<2.2.1\> or @@ -90,7 +90,7 @@ Now you can run the first case for example incompressible laminar flow in a cavi ## Running Serial Applications -Create a Bash script >test.sh +Create a Bash script test.sh ```bash #!/bin/bash @@ -208,7 +208,7 @@ Rename icoFoam.C to My_icoFOAM.C $ mv icoFoam.C My_icoFoam.C ``` -Edit >_files_ file in _Make_ directory: +Edit _files_ file in _Make_ directory: ```bash icoFoam.C @@ -227,7 +227,3 @@ In directory My_icoFoam give the compilation command: ```bash $ wmake ``` - -* * * - - **Have a fun with OpenFOAM :)** -- GitLab