AndreWeiner / ml-cfd-lecture

Lecture material for machine learning applied to computational fluid mechanics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regarding OpenFOAM version

RahulSundar opened this issue · comments

Dear Andre,

Although I see a requirements.txt for the python packages, I would like to know which version of OpenFOAM / Foam-Extend would be compatible. Adding a section in the README.md file about the installation/ usage instructions would be really beneficial.

Thanks and regards,
Rahul Sundar

Dear @RahulSundar,
thanks for this remark. There is a dedicated exercise session for setting up the system (link). All exercises are set up to use Singularity containers to avoid compatibility issues between different OS types and software versions. The current OpenFOAM container comes with OpenFOAM-v2106. Non-ESI versions will most likely not work. If you want to set up OF and PyTorch without containers, have a look at this article.
Best, Andre

Dear @AndreWeiner
Thanks for pointing me to the resource. Glad to know that you are using singularity containers. Saves the hassle of installing and maintaining different versions. However, is it conducive for custom solver development in case we wish to do that? I will go through the article shared by you.
Thanks

You can do with a local installation, you can do with the container, too, e.g., developing solvers, BCs, etc.
Have a look at this exercise. Most likely, the exercise walks you conceptually through all the steps necessary for your development (generating data, creating models, compiling OF code, using the models).
Best, Andre

Hi @RahulSundar,
since there has been no recent activity, I'll close this issue. Feel free to re-open it at some point in the future if needed.
Best, Andre