Publication type: Course material
Title: Tutorial on OpenFOAM & kaleidosim : compile and run custom OpenFOAM solvers in the cloud using kaleidosim
Authors: Boiger, Gernot Kurt
Sharman, Darren
Michel Rivero, Jhimy
Siyahhan, Bercan
Boldrini, Marlon
Lienhard, Viktor
et. al: No
Issue Date: Jun-2021
Publisher / Ed. Institution: ZHAW School of Engineering, ICP Institute of Computational Physics
Language: English
Subjects: OpenFOAM; Kaleidosim; Compile; Custom solvers; Cloud; Simulation; Multiphysics; CFD
Subject (DDC): 005: Computer programming, programs and data
530: Physics
Abstract: In this video Prof. G. Boiger of ICP Institute of Computational Physics ZHAW Zurich University of Applied Sciences shows how to compile and run custom OpenFOAM solvers in the cloud using Kaleidosim. This feature was inspired by colleagues from our aR&D team here at ICP/ZHAW like Bercan Siyahhan, Marlon Boldrini and Viktor Lienhard as well as by customers, contributors and friends of Kaleidosim Technologies AG like: Dr. Christian Witz of TU-Graz (see: christian.witz@tu-graz.at) or Dr. József Nagy to whom special thanks go out. How it works: 1.) Copy & Paste any folder of any self-composed OpenFoam application into the OpenFoam case folder you wish to upload and run in Kaleidosim #cloud platform. 2.) Zip case folder containing case set-up & source code of self-composed OpenFoam application(s). 3.) Set up an OpenFoam project within Kaleidosim cloud platform & start case creation wizard (if unsure how: press 'Show Tutorial' button top-right at Kaleidosim - Dashboard). 4.) In Kaleidosim case-creation-wizard 'Step-2 Choose OpenFoam Solver': choose any standard OpenFoam solver from the list; Even if you do not intend to use it since you are after compiling & running your own application(s). 5.) In Kaleidosim case-creation-wizard 'Step-4 Additional Parameters': enter a bash-script which will step-by-step do the following: 5.1.) Change from case-directory into directory of Library1 (if present), clean links/environment variables using wclean and compile by using wmake libso. Like so: cd ./Library1 wclean wmake libso 5.2) Change back to case-directory, change into directory of SolverA (or any application, if present), clean links/environment variables using wclean and compile by using wmake. Like so: cd .. cd ./SolverA wclean wmake 5.3) Change back to case-directory, and run case using your freshly compiled application SolverA on any number of cores Num_Cores in accordance with the hardware you chose previously in 'Step-3 Computing resources'. Like so: cd .. decomposePar mpirun --allow-run-as-root -np Num_Cores SolverA -parallel reconstructPar rm -r processor* Keep in mind: ... that Ubuntu and OpenFoam installation on Kaleidosim basically work 1:1 equivalently to any local installation. So the wmake compilation procedure does exactly what it would do locally. ... that the code you compile just exists on the very virtual machine(s) you spin-up in order to run your case(s). This means: i) As soon as running of the case(s) is completed and results are moved into storage, the virtual machine(s) are closed and the compiled version of your source code is gone. ii) You will have to repeat the exact same procedure whenever you would like to run self-compiled OpenFoam applications. iii) This is completely safe. No one else will be able to access and/or use your temporarily compiled software, because access to your Kaleidosim account as well as to the virtual machines you spin-up is always encrypted.
Further description: YouTube
URI: https://youtu.be/3QoQAlaCQxk
https://digitalcollection.zhaw.ch/handle/11475/23830
License (according to publishing contract): Not specified
Departement: School of Engineering
Organisational Unit: Institute of Computational Physics (ICP)
Published as part of the ZHAW project: GeoCloud – Simulation Software for Cloud-based Digital Microstructure Design of New Fuel Cell Materials
Appears in collections:Publikationen School of Engineering

Files in This Item:
There are no files associated with this item.
Show full item record
Boiger, G. K., Sharman, D., Michel Rivero, J., Siyahhan, B., Boldrini, M., & Lienhard, V. (2021). Tutorial on OpenFOAM & kaleidosim : compile and run custom OpenFOAM solvers in the cloud using kaleidosim. ZHAW School of Engineering, ICP Institute of Computational Physics. https://youtu.be/3QoQAlaCQxk
Boiger, G.K. et al. (2021) Tutorial on OpenFOAM & kaleidosim : compile and run custom OpenFOAM solvers in the cloud using kaleidosim. ZHAW School of Engineering, ICP Institute of Computational Physics. Available at: https://youtu.be/3QoQAlaCQxk.
G. K. Boiger, D. Sharman, J. Michel Rivero, B. Siyahhan, M. Boldrini, and V. Lienhard, Tutorial on OpenFOAM & kaleidosim : compile and run custom OpenFOAM solvers in the cloud using kaleidosim. ZHAW School of Engineering, ICP Institute of Computational Physics, 2021. [Online]. Available: https://youtu.be/3QoQAlaCQxk
BOIGER, Gernot Kurt, Darren SHARMAN, Jhimy MICHEL RIVERO, Bercan SIYAHHAN, Marlon BOLDRINI und Viktor LIENHARD, 2021. Tutorial on OpenFOAM & kaleidosim : compile and run custom OpenFOAM solvers in the cloud using kaleidosim [online]. ZHAW School of Engineering, ICP Institute of Computational Physics. Verfügbar unter: https://youtu.be/3QoQAlaCQxk
Boiger, Gernot Kurt, Darren Sharman, Jhimy Michel Rivero, Bercan Siyahhan, Marlon Boldrini, and Viktor Lienhard. 2021. Tutorial on OpenFOAM & Kaleidosim : Compile and Run Custom OpenFOAM Solvers in the Cloud Using Kaleidosim. ZHAW School of Engineering, ICP Institute of Computational Physics. https://youtu.be/3QoQAlaCQxk.
Boiger, Gernot Kurt, et al. Tutorial on OpenFOAM & Kaleidosim : Compile and Run Custom OpenFOAM Solvers in the Cloud Using Kaleidosim. ZHAW School of Engineering, ICP Institute of Computational Physics, 2021, https://youtu.be/3QoQAlaCQxk.


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.