Running OpenFoam with Docker on my Mac M1 Pro
Ғылым және технология
Docker is a bit like a virtual machine, but not exactly
Docker is faster and more lightweight to use than a virtual machine
Thus if you just want to fulfil one task (use a specific program that runs only a certain specific environment) docker is a great tool
Docker is using containers that are installed on top of your current OS system through the docker software
It doesn’t require to install a full new OS System in a virtual machine, it just takes the components of the system that are required to run the program you want to run.
In this video, I will show you how to install OpenForm with Docker on a Mac M1 Pro.
As you can install docker on Windows and Linux too, it will work exactly the same way on those 2 systems (mostly)!
Chapters of the video:
00:00:00 What is Docker
00:09:42 How to Use Docker
00:15:12 How to Install OpenFoam on Docker
00:21:38 Running OpenFoam
00:24:19 Opening the results with Paraview
You will find all the links I mention in the video on my blog post here:
feaforall.com/running-openfoa...
Пікірлер: 28
Thank you so much!! It's still (a year later) very useful!!👍
Dear sir, may I know hoe to download open docker file and in which format as the command shows "openfoam-docker: No such file or directory".
Thanks very much for doing this. I was able to get up and running quickly because of your work - much appreciated!
Thank you, great explanation and most importantly it works.
Always you are great and amazing
Fantastic video thank you 😇
Amazing, Thank you so much.
Hi Cyprien, great stuff as always! Could you maybe comment on the performance of the OpenFoam calculations on a M1 mac compared to a windows machine (does stuff like GPU work for instance)? Basically, I am trying to find out whether it makes sense to switch to mac to have better performance and faster calculations. Love what you do
lovely!!
Hi. Thanks for the video, it was quite interesting. I wanted to know if you had much experience trying to run everything from a batch script in windows, a python script or anything similar?
im getting [Process Completed] when I make my openfoam-docker file executable. Do you know what the issue might be?
Thanks for this great video! It has really helped me. I was having trouble with some tutorials / applications / commands not being available. Any suggestions?
How have you start the terminal inside? And how have you saved the file?
How did you get OpenFoam on Docker at 11:30?? That step is critical to the process. I cant figure it out
Thank you very much! I got an error "zsh: permission denied: openfoam8-macos" in XQuartz. What might be the problem in my situation?
@Feaforall
Жыл бұрын
Looks like you are trying to run a script that you do not have permission to execute. I would try “chmod +x nameofyourscript”
Sir plz make video foam setup indentation test on foam in abaqus hypermesh (static analysis)
Please.. PLease do more with openCFD on M1 pro 🙏
you're a fucking rockstar mate!!
@Feaforall
Жыл бұрын
😂
@RahJa157
Жыл бұрын
@@Feaforall :) do you have a good reference for leaning plasma dynamics on openFOAM?
Nice video. Can the same procedure be used for Salome Meca? This would be great to run the program on my Mac M1 Pro.
@Feaforall
2 жыл бұрын
So you can run code_aster, that’s for sure. Probably, you can also run Salome, but as soon as you have some graphics and GUI, it becomes harder because then you need to install all the OpenGL and xdisplay related ubuntu packages through docker which is not easy (but doable)
@johanmoens1825
2 жыл бұрын
@@Feaforall Thanks. I wanted to avoid the problems with OPEBGL en xdisplay but i do understand that Docker isn't solving that problem in a easy way. Thanks in advance for your reply.
Performance with docker is slow on M1 Pro for some reason. Is it possible to download OpenFOAM without a vm?
@Feaforall
Жыл бұрын
On Ubuntu Linux, yes, on Mac, I am not sure
Can you make a video of How to download Openfoam and run it step by step for beginners that just know a bit of how to code? Thank you for your work.
Hello! could you help me? I need to put a drop on the fiber (cylinder). What solver should I use? OpenFOAM