Skip to content
Snippets Groups Projects
Commit 35b03a28 authored by Pavel Jirásek's avatar Pavel Jirásek
Browse files

Removed Have a fun with OpenFOAM :)

parent 735279ad
No related branches found
No related tags found
No related merge requests found
# OpenFOAM # OpenFOAM
\##A free, open source CFD software package ## A free, open source CFD software package
## Introduction ## Introduction
...@@ -8,26 +8,26 @@ OpenFOAM is a free, open source CFD software package developed by [**OpenCFD Ltd ...@@ -8,26 +8,26 @@ OpenFOAM is a free, open source CFD software package developed by [**OpenCFD Ltd
Homepage: <http://www.openfoam.com/> 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. 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: For example syntax of available OpenFOAM module is:
&lt; 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. 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: Naming convection of the installed versions is following:
openfoam/&lt;>VERSION>>-&lt;>COMPILER<span>>-&lt;</span><span>openmpiVERSION</span><span>>-&lt;</span><span>PRECISION</span><span>></span> openfoam\<VERSION\>-\<COMPILER\>\<openmpiVERSION\>-\<PRECISION\>
- &lt;VERSION>> - version of openfoam - \<VERSION\> - version of openfoam
- &lt;COMPILER> - version of used compiler - \<COMPILER\> - version of used compiler
- &lt;openmpiVERSION> - version of used openmpi/impi - \<openmpiVERSION\> - version of used openmpi/impi
- &lt;PRECISION> - DP/SP – double/single precision - \<PRECISION\> - DP/SP – double/single precision
\###Available OpenFOAM modules ### Available OpenFOAM modules
To check available modules use To check available modules use
...@@ -60,7 +60,7 @@ To create OpenFOAM environment on ANSELM give the commands: ...@@ -60,7 +60,7 @@ To create OpenFOAM environment on ANSELM give the commands:
!!! Note "Note" !!! Note "Note"
Please load correct module with your requirements “compiler - GCC/ICC, precision - DP/SP”. Please load correct module with your requirements “compiler - GCC/ICC, precision - DP/SP”.
Create a project directory within the $HOME/OpenFOAM directory named >&lt;USER>-&lt;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 ```bash
$ mkdir -p $FOAM_RUN $ mkdir -p $FOAM_RUN
...@@ -72,7 +72,7 @@ Project directory is now available by typing: ...@@ -72,7 +72,7 @@ Project directory is now available by typing:
$ cd /home/<USER>/OpenFOAM/<USER>-<OFversion>/run $ cd /home/<USER>/OpenFOAM/<USER>-<OFversion>/run
``` ```
&lt;OFversion> - for example &lt;2.2.1> \<OFversion\> - for example \<2.2.1\>
or or
...@@ -90,7 +90,7 @@ Now you can run the first case for example incompressible laminar flow in a cavi ...@@ -90,7 +90,7 @@ Now you can run the first case for example incompressible laminar flow in a cavi
## Running Serial Applications ## Running Serial Applications
Create a Bash script >test.sh Create a Bash script test.sh
```bash ```bash
#!/bin/bash #!/bin/bash
...@@ -208,7 +208,7 @@ Rename icoFoam.C to My_icoFOAM.C ...@@ -208,7 +208,7 @@ Rename icoFoam.C to My_icoFOAM.C
$ mv icoFoam.C My_icoFoam.C $ mv icoFoam.C My_icoFoam.C
``` ```
Edit >_files_ file in _Make_ directory: Edit _files_ file in _Make_ directory:
```bash ```bash
icoFoam.C icoFoam.C
...@@ -227,7 +227,3 @@ In directory My_icoFoam give the compilation command: ...@@ -227,7 +227,3 @@ In directory My_icoFoam give the compilation command:
```bash ```bash
$ wmake $ wmake
``` ```
* * *
**Have a fun with OpenFOAM :)**
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment