OpenFoam city case

OpenFOAM (Open Field Operation and Manipulation) Toolbox is a free,
open source Computational Fluid Dynamics  software package produced by
OpenCFD Ltd. It has a large user base across most areas of engineering
and science, from both commercial and academic organisations. OpenFOAM
has an extensive range of features to solve anything from complex
fluid flows involving chemical reactions, turbulence and heat
transfer, to solid dynamics and electromagnetics.

For Site Admins:

Application Profile
Application version Cores/Job Memory/Job Input/Job  Output/Job Walltime/Job Users
1.7 1 500MB 1-200MB 1-100MB 0-12 hours  2

Estimated number of jobs per day ( or week or month): 100
Estimated job submission frequency (constant flow or occasional
submission): occasional sub
Planned start date: in prod since 2011
Planned completion date: 31.12.2013

Contact

Institution: HES-SO
Application contact person name and email: Roberto Putzu, roberto.putzu AT hesge.ch
SMSCG contact person: Marko Niinimaki

Application and Project Description 

OpenFOAM, the  Open Field Operation and Manipulation Toolbox,
http://www.openfoam.com. The OpenFOAM (Open Field Operation and Manipulation) Toolbox is a
free, open source Computational Fluid Dynamics  software package.
OpenFOAM includes over 80 solver applications that simulate specific
problems in engineering mechanics and over 170 utility applications
that perform pre- and post-processing tasks, e.g. meshing, data
visualisation, etc.. Typical cases include modeling and simulation of liquids, gases
(airflow), porous matter.

Value

 

http://www.openfoam.org/dev.php states that the user base is thousands
of users. OpenFOAM is probably the best known Computational Fluid
Mechanics software

INSTALLATION INSTRUCTIONS

Compile and install the OpenFOAM and ThirdPaty packages
from here http://www.openfoam.org/archive/1.7.0/download/source.php
Recommended location /opt/OpenFOAM (the installation program will
create /opt/OpenFOAM/OpenFOAM-1.7.x)

RUNTIME file APPS/BIO/OPENFOAM-1.7 

#!/bin/bash
# shared directory for application installation
export application_base_path=/YOUR/PATH/OpenFOAM/OpenFOAM-1.7.1
# version
openfoam_version='1.7'

case "$1" in
0 )
     # just a simple init
     source $application_base_path/etc/bashrc
;;

1 )
     # just a simple init
     source $application_base_path/etc/bashrc
;;

2 )

;;

* )
     # Now, calling argument is wrong or missing.
     # If call was made from NorduGrid ARC, it is considered
     # an error. If this script is to be used also to initialize
     # MPI environment for local jobs in cluster, raising error here
     # could be improper.
     return 1
;;
esac

 


EXAMPLE xrsl file (notice, data for test will be downloaded from grid storage element).

(executable="flange/Allrun")
(inputfiles=("flange/0/T" "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/smscg/OpenFoam/flange/0/T")
("flange/Allrun" "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/smscg/OpenFoam/flange/Allrun")
("flange/constant/polyMesh/boundary" "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/smscg/OpenFoam/flange/constant/polyMesh/boundary")
("flange/constant/transportProperties" "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/smscg/OpenFoam/flange/constant/transportProperties")
("flange/flange.ans" "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/smscg/OpenFoam/flange/flange.ans)
("flange/system/controlDict" "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/smscg/OpenFoam/flange/system/controlDict")
("flange/system/fvSchemes" "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/smscg/OpenFoam/flange/system/fvSchemes")
("flange/system/fvSolution" "srm://dpm.lhep.unibe.ch/dpm/lhep.unibe.ch/home/smscg/OpenFoam/flange/system/fvSolution"))
(gmlog="gmlog")
(stdout="std.out")
(stderr="std.err")
(jobname="OpenFoam_test")
(outputFiles=("." ""))
(runTimeEnvironment="APPS/BIO/OPENFOAM-1.7")