Software at OSC |
OpenFOAM, ParaViewIntroductionOpenFOAM and ParaView are installed in /usr/local for ease of access for all users. OpenFOAM is a suite of computational fluid dynamics applications. It contains myriad solvers, both compressible and incompressible, as well as many utilities and libraries. More information can be found at http://www.opencfd.co.uk/openfoam/features.html. ParaView is a visualization toolkit for CFD problems. VersionsOpenFOAM version 1.5 is available at OSC. AvailabilityOpenFOAM is available on the BALE and Glenn clusters. UsageSerial ExecutionFor serial execution of the program, you must must first set up your software environment. OpenFOAM requires the following OSC modules:
This can be accomplished in most account by typing the following commands: (on BALE only)
On Glenn and BALE:
You can then start any of the OpenFOAM utilities by the associated command: blockMesh or icoFoam or sonicFoam ... To run OpenFOAM in batch mode, the following example batch script will provide you with a template. ======================================== OpenFOAM can be run in parallel as well. Parallel jobs must be submitted via the batch system. IMPORTANT: To run in parallel, you need to also create the "decomposeParDict" file in the system directory. If you do not create this file, the decomposePar command will fail. An example of a parallel batch script follows, which will run the model on 12 processors (three nodes, where each node has 4 processors): ========================================
/home/yourusername/parallel_OpenFOAM
|-- 0
| |-- R
| |-- U
| |-- epsilon
| |-- k
| |-- nuTilda
| `-- p
|-- parallel_OpenFOAM.OpenFOAM
|-- constant
| |-- RASProperties
| |-- polyMesh
| | |-- blockMeshDict
| | `-- boundary
| |-- transportProperties
| `-- turbulenceProperties
|-- state0.pvsm
|-- state250.pvsm
|-- state500.pvsm
\-- system
|-- controlDict
|-- decomposeParDict
|-- fvSchemes
`-- fvSolution
DocumentationDocumentation is online at http://www.opencfd.co.uk/openfoam/doc/index.html.
|
