# IT4Innovations # LK 2022 name = 'OpenFOAM' version = '9' homepage = 'https://www.openfoam.org/' description = """OpenFOAM is a free, open source CFD software package. 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.""" toolchain = {'name': 'foss', 'version': '2021a'} source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive'] sources = ['version-%(version)s.tar.gz'] patches = ['OpenFOAM-%(version)s-cleanup.patch'] checksums = [ '0c48fb56e2fbb4dd534112811364d3b2dc12106e670a6486b361e4f864b435ee', # version-9.tar.gz '4b638891f32badde1a5b1b364bc3bd5e0eda180b9d9a8afdf797d5818b8b494e', # OpenFOAM-9-cleanup.patch ] builddependencies = [ ('Bison', '3.7.6'), ('CMake', '3.20.1'), ('flex', '2.6.4'), ] dependencies = [ ('libreadline', '8.1'), ('ncurses', '6.2'), # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes) ('METIS', '5.1.0'), ('SCOTCH', '6.1.0'), ('CGAL', '4.14.3'), ('ParaView', '5.9.1', '-mpi'), ('gnuplot', '5.4.2'), ] #execute {cmd="source /apps/all/OpenFOAM/9-foss-2021a/OpenFOAM-9/etc/bashrc",modeA={"load"}} moduleclass = 'cae'