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

  • @svetlanashmeleva6542
    @svetlanashmeleva654221 күн бұрын

    Thank you so much!! It's still (a year later) very useful!!👍

  • @ShivamPandey-sd4ys
    @ShivamPandey-sd4ys10 ай бұрын

    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".

  • @joxterjones2563
    @joxterjones2563 Жыл бұрын

    Thanks very much for doing this. I was able to get up and running quickly because of your work - much appreciated!

  • @IndiraYessenaliyeva
    @IndiraYessenaliyeva Жыл бұрын

    Thank you, great explanation and most importantly it works.

  • @essaali9823
    @essaali98232 жыл бұрын

    Always you are great and amazing

  • @MrMaartenmostert
    @MrMaartenmostert6 ай бұрын

    Fantastic video thank you 😇

  • @SandeshLamsal2013
    @SandeshLamsal20134 ай бұрын

    Amazing, Thank you so much.

  • @cyrildelaporte5376
    @cyrildelaporte53762 жыл бұрын

    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

  • @RahJa157
    @RahJa157 Жыл бұрын

    lovely!!

  • @jamienash5263
    @jamienash5263 Жыл бұрын

    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?

  • @Rahul-eg2cf
    @Rahul-eg2cf Жыл бұрын

    im getting [Process Completed] when I make my openfoam-docker file executable. Do you know what the issue might be?

  • @julietonyinyechukwunwagwuu5694
    @julietonyinyechukwunwagwuu56942 жыл бұрын

    Thanks for this great video! It has really helped me. I was having trouble with some tutorials / applications / commands not being available. Any suggestions?

  • @carmenvesescanto9198
    @carmenvesescanto919810 ай бұрын

    How have you start the terminal inside? And how have you saved the file?

  • @devinb3172
    @devinb31728 ай бұрын

    How did you get OpenFoam on Docker at 11:30?? That step is critical to the process. I cant figure it out

  • @adilabeldinov2966
    @adilabeldinov2966 Жыл бұрын

    Thank you very much! I got an error "zsh: permission denied: openfoam8-macos" in XQuartz. What might be the problem in my situation?

  • @Feaforall

    @Feaforall

    Жыл бұрын

    Looks like you are trying to run a script that you do not have permission to execute. I would try “chmod +x nameofyourscript”

  • @ABHI-oj6um
    @ABHI-oj6um7 ай бұрын

    Sir plz make video foam setup indentation test on foam in abaqus hypermesh (static analysis)

  • @RahJa157
    @RahJa157 Жыл бұрын

    Please.. PLease do more with openCFD on M1 pro 🙏

  • @RahJa157
    @RahJa157 Жыл бұрын

    you're a fucking rockstar mate!!

  • @Feaforall

    @Feaforall

    Жыл бұрын

    😂

  • @RahJa157

    @RahJa157

    Жыл бұрын

    @@Feaforall :) do you have a good reference for leaning plasma dynamics on openFOAM?

  • @johanmoens1825
    @johanmoens18252 жыл бұрын

    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

    @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

    @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.

  • @theoreticalorigamiresearch186
    @theoreticalorigamiresearch186 Жыл бұрын

    Performance with docker is slow on M1 Pro for some reason. Is it possible to download OpenFOAM without a vm?

  • @Feaforall

    @Feaforall

    Жыл бұрын

    On Ubuntu Linux, yes, on Mac, I am not sure

  • @pitchayach9480
    @pitchayach94802 ай бұрын

    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.

  • @user-oy1qk8su6y
    @user-oy1qk8su6y2 жыл бұрын

    Hello! could you help me? I need to put a drop on the fiber (cylinder). What solver should I use? OpenFOAM

Келесі