Installation of OpenFoam8 with Ubuntu 20.04 LTS - including full OpenFoam Tutorial

Поділитися
Вставка
  • Опубліковано 14 лис 2024

КОМЕНТАРІ • 68

  • @birdy8406
    @birdy8406 3 роки тому +4

    OHHHHH MYYYY GOOOOD...... the level of this tutorial is insane. All that information right from the installation of Ubuntu to the saving the animation file in just 12 minutes, is just insane. You are pure talent. Hands down, hats off, take a bow, respect, and everything. Thanks so much.

  • @Mrs_Ela70
    @Mrs_Ela70 4 роки тому +3

    Thank you so much. It was a great help. I had lots of problems while installing openfoam and you make it happen.

  • @roflcopter645
    @roflcopter645 4 роки тому +1

    Wunderbares Tutorial. Gutes Präsentationsformat und gute Struktur für Anfänger, die sich mit der steilen Lernkurve von OpenFOAM auseinandersetzen müssen.

  • @yirgakiros6685
    @yirgakiros6685 2 роки тому

    thank you it is interesting... this is my first video to openfoam can we use to effect of aerodynamic analysis of different shape for buses( cars)

  • @digbylaurencebarcis7771
    @digbylaurencebarcis7771 3 роки тому +2

    Hi EngineerDo, thanks very much for your content, i am wondering if you have any material or recommendations on getting HELYX-OS running with openFOAM. Thanks

  • @rajendraraut6812
    @rajendraraut6812 10 місяців тому

    Excellent faculty & i really appreciate whole heartiest such a great tech hero revolutionary faculty it is gr88 german scientist

  • @looootfy1
    @looootfy1 3 роки тому +1

    Thanks for the tutor but when I try it I have this error --> FOAM FATAL IO ERROR:
    Cannot find patchField entry for ffminx

  • @cleisonmanriqueaguirre8184
    @cleisonmanriqueaguirre8184 3 роки тому

    very precise and perfect tutorial ... thanks , the first video I enter and works it totally ...

  • @polruiz6152
    @polruiz6152 3 роки тому +1

    Great tutorial. Only thing, how do you add the timestamp on the top left of the animation?

    • @engineerdo6568
      @engineerdo6568  3 роки тому +1

      Hey Pol, thanks for your feedback. You just have to add the annotate time filter from the filters in paraview.

    • @polruiz6152
      @polruiz6152 3 роки тому

      @@engineerdo6568 Thanks a lot

  • @christianh.salinas9034
    @christianh.salinas9034 3 роки тому +1

    Hello, excellent tutorial, I only had the doubt in the last step, after converting the png images to mp4, I couldn't play the video, the screen was dark. Any suggestion? Thank you

    • @engineerdo6568
      @engineerdo6568  3 роки тому

      Hey Christian, I faced the same problem before. It could be some problem with the codec. Have you tried to play it using the vlc player? Can you play the video on windows?

    • @birdy8406
      @birdy8406 3 роки тому

      If you output the file in ".ogv" instead if ".mp4" then the video runs.
      The default media player of Ubuntu doesn't support the video codec, that's why other way could be use VLC too as mentioned already.

  • @stoneofthor4279
    @stoneofthor4279 2 роки тому

    Very well done tutorial. Incredibly helpful. Thanks!

  • @МаксимКоробов-ы4ж
    @МаксимКоробов-ы4ж 4 роки тому +1

    Thank you so much, I'm geologist and don't have any experience in cfd and dem, and your lessons are helpful.
    I have a couple of questions:
    Do you use openfoam 8 in HELYX os or it for openfoam 4 only?
    Do you use CFDEM® for cfd dem couple modelling or maybe you will do tutorials?
    And again, thank you!

    • @engineerdo6568
      @engineerdo6568  4 роки тому

      Hey Максим, thanks for your comment. Helyx OS works best with OpenFoam 4. However, you can also use it with OF8. You just have to change one script of openFoam and you can start the helyx case in OpenFoam. The meshing and setting of boundary conditions should still be functional. We creates already a short tutorial about how you can start a helyx case in openFoam 4.1 ua-cam.com/video/MZHTzkAhQ3I/v-deo.html.
      You can slo check out our tutorial on the coupling. ua-cam.com/video/HsTRkC5EIOw/v-deo.html It's not too difficult to set up. We are looking forward to your first simulation results.
      Good Luck!
      Hendrik

  • @AlondraRamalavida
    @AlondraRamalavida 3 роки тому

    Thank you so much for the tutorial, it was very clear !!!

  • @shashanklenovissom6255
    @shashanklenovissom6255 3 роки тому +1

    Thank you soo much. This video was very helpful. Is there any medium where i can donate any contribution to your work?

    • @engineerdo6568
      @engineerdo6568  3 роки тому +1

      Thank you Shashank for the kind idea. You can buy me a beer on a conference should that ever be possible again ;-). For now, the only think we would like to ask for, is hitting that like button. Thanks and stay safe!

  • @Spock55000
    @Spock55000 5 місяців тому

    I have trouble to finish your tutorial -
    Fatal Errors appear. (rhoMin and rhoMax are no longer supported.) OpenFoam 11 - kubuntu 22.04 LTS
    "Create time
    Create mesh for time = 0
    Selecting solver incompressibleFluid
    [1]
    [1]
    [1] --> FOAM FATAL IO ERROR:
    [1] Pressure limits should now be specified in fvConstraints:
    limitp
    {
    type limitPressure;
    }
    rhoMin and rhoMax are no longer supported.
    [1]
    [1]
    [1] file: IOstream/PIMPLE from line 0 to line 0.
    [1]
    [1] From function Foam::pressureReference::pressureReference(const volScalarField&, const volScalarField&, const Foam::dictionary&, bool)
    [1] in file cfdTools/general/pressureReference/pressureReference.C at line 59.
    [1]
    FOAM parallel run exiting
    [1]
    [0]
    [0]
    [0] --> FOAM FATAL IO ERROR:
    [0] Pressure limits should now be specified in fvConstraints:
    limitp
    {
    type limitPressure;
    }
    rhoMin and rhoMax are no longer supported.
    [0]
    [0]
    [0] file: /home/xxx/FOAM_RUN/Venturi/system/fvSolution/PIMPLE from line 16 to line 23.
    [0]
    [0] From function Foam::pressureReference::pressureReference(const volScalarField&, const volScalarField&, const Foam::dictionary&, bool)
    [0] in file cfdTools/general/pressureReference/pressureReference.C at line 59.
    [0]
    FOAM parallel run exiting
    [0]
    --------------------------------------------------------------------------
    MPI_ABORT was invoked on rank 1 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
    with errorcode 1.
    NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
    You may or may not see output from other processes, depending on
    exactly when Open MPI kills them.
    --------------------------------------------------------------------------
    [XXX] 1 more process has sent help message help-mpi-api.txt / mpi-abort
    [XXX] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
    "
    Any advice?

  • @cleisonmanriqueaguirre8184
    @cleisonmanriqueaguirre8184 3 роки тому +1

    I had a problem while running the mprun but the I solved with -oversubscribe

  • @daianabelenguerra4386
    @daianabelenguerra4386 3 роки тому +1

    Thank you for the tutorial! Do you have a specific reason to use the foundation version and not the ESI version?

    • @engineerdo6568
      @engineerdo6568  3 роки тому

      Hey Daiana, thanks for your comment. No. No specific reason. Should work with the ESI version as good as but I never tried.

  • @sundarrajan6633
    @sundarrajan6633 2 роки тому

    Form Fatal Error:
    could not find mandatory etc entry (mode = ugo)
    'controlDict'
    I am getting this error at 7:30 , can you please help me @EngineerDo

  • @nicolsgj
    @nicolsgj 4 роки тому +1

    I am trying to do the installation, but when I put the command: "sudo gedit ~/../../etc/bash.bashrc ", I get "command not found". :(

    • @engineerdo6568
      @engineerdo6568  3 роки тому

      Hi Nicol, that’s interesting. Gedit is a very basic text editor in Linux. Please try to go to the folder ~/../../etc/ and open the bash.bashrc by clicking on it. The command does the same.

    • @juliar3011
      @juliar3011 3 роки тому

      I entered the folder with "cd ~/../../etc/" and put the command "nano bash.bashrc"

  • @bennourmohamed7706
    @bennourmohamed7706 3 роки тому

    when I copy sudo sh -c "wget -O -dl.openfoam.org/gpg.key | apt-key add -"I got following error message:
    wget: missing URL
    Usage:wget [option]---[URL]
    gpg: novalid OpenPGP data found
    could someone help me out

  • @agusprasetyonuryadi9465
    @agusprasetyonuryadi9465 4 роки тому

    thanks... I always waiting for
    next video hee

  • @qiupudah
    @qiupudah 2 роки тому

    @Engineerdo: I am unable to run the parallel version! Please advise. Thanks.

  • @tejaswaghode109
    @tejaswaghode109 Рік тому

    Hello Sir! I have a question. Is it okay to install this software(OpenFoam) on my Jetson Nano? It has ubuntu in it.

    • @engineerdo6568
      @engineerdo6568  Рік тому

      Hey mate, I'm no expert in this. However, I assume that the CPU architecture is different and you have to adapt a lot of the core functions of openFoam to get it to compile. I don't see any reason to use such a small rig to do computations

  • @sasikiranpalatheerdham3070
    @sasikiranpalatheerdham3070 3 роки тому

    Hi sir, I downloaded and installed Open Foam as you mentioned. I'm new to UBUNTU and I'm not aware about the user interference in Ubuntu. My question is how to open OPEN FOAM by calling in the directory (of terminal) for other problem rather than Venturi problem? Thank you in advance

    • @engineerdo6568
      @engineerdo6568  3 роки тому +1

      Hey Sansi, that's pretty easy. You navigate into the directory with the other case you want to simulate and type in the solver you need for this. For example "pimpleFoam". OF will then start to solve the case

  • @davidzurita1547
    @davidzurita1547 3 роки тому

    Wow this is really helpful! Thank you very much, it was a great help. But I also have an issue that I would like to comment, because when it's time to use the blockMesh command it says it is not found. Any idea of what could be the problem? Thank you very much!

    • @engineerdo6568
      @engineerdo6568  3 роки тому

      Can you please copy the exact "error message"?

    • @chavanchinmayvithalvaidehi9973
      @chavanchinmayvithalvaidehi9973 3 роки тому

      i m aslo facing same problem

    • @chromax1619
      @chromax1619 2 роки тому

      @@engineerdo6568 Command 'blockMesh' not found, but can be installed with:
      sudo apt install openfoam

    • @chromax1619
      @chromax1619 2 роки тому

      @@engineerdo6568 Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      openfoam is already the newest version (2206.0-1).
      0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

  • @amirulasyrafutm
    @amirulasyrafutm Рік тому

    Helo sir, I tried today to install. I follow stepby step in the document guideline. until here:
    sudo apt-get -y install openfoam8
    then, appears..
    Desktop$ sudo apt-get -y install openfoam8
    [sudo] password for amiru:
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package openfoam8
    any idea to solve? I hve tried few ways. but still unable to solve the : Unable to locate package openfoam8 issue.
    Appreciate your assistance on this. Thanks.

  • @ancestraltechnologies3116
    @ancestraltechnologies3116 2 роки тому

    I follow the entire tutorial and everything was ok until I use the command 'blockMesh' to run the first simulation, I get this message:
    Command 'blockMesh' not found, but can be installed with:
    sudo apt install openfoam
    Please help

    • @engineerdo6568
      @engineerdo6568  2 роки тому

      It seems that openFoam was not installed correctly. Please repeat the installation process of openFoam

    • @sakthivasanth1094
      @sakthivasanth1094 2 роки тому

      Facing the same issue. Any ways to solve this.

    • @duyang5776
      @duyang5776 2 роки тому

      I had the same problem. Solution is here: use 'gedit ~/.bashrc' instead of 'sudo gedit ~/../../etc/bash.bashrc'. Other steps are the same. Hope it works for other people also. Best, Yang

    • @yaya-ls8yb
      @yaya-ls8yb Рік тому

      u r insane.@@duyang5776

  • @birdy8406
    @birdy8406 3 роки тому

    The image sequence is created, but the video created by FFMPEG is only 30KBs and it isn't working. Could you please suggest a solution.
    I did the exact same thing as you did. The command I put was:
    ffmpeg -i animation.animation.%04d.png venturi.mp4
    This command runs but the output file doesn't contain anything.
    Thanks so much.

    • @engineerdo6568
      @engineerdo6568  3 роки тому

      How many images are in your folder? If its just a quality issue you can change it with "-b 20k" in the ffempg command.

    • @birdy8406
      @birdy8406 3 роки тому

      @@engineerdo6568 I figured, it was working. The problem was with my media player. The default media player doesn't preview mp4 files I guess.
      Here are two solutions to the problem, either install VLC or save the file in "ogv" format.

    • @engineerdo6568
      @engineerdo6568  3 роки тому

      Yes vlc player. That's the way to got. I think... we also included this in the installation guide

    • @birdy8406
      @birdy8406 3 роки тому

      @@engineerdo6568 Not necessary honestly, because the best thing about the installation guide is its simplicity. I wouldn't want to have an additional step in such a great document.
      As an end step, I'd suggest instead of saving the vide in .mp4 you can consider saving it in .ogv or some other format that directly runs in Ubuntu's default player.

  • @christianhdot1490
    @christianhdot1490 3 роки тому

    First: Thx for the tutorial. I made this but pimpleFoam didn't resolve all time steps. What could be the problem?

    • @engineerdo6568
      @engineerdo6568  3 роки тому

      We would need a error message. It could also be a full hdd...

  • @Gallienus53
    @Gallienus53 3 роки тому

    Not too helpful. It covers everything from how to install Linux versions to downloading. Looking for specific info on OpenFoam.

  • @andresporras9973
    @andresporras9973 3 роки тому

    Thanks!!

    • @andresporras9973
      @andresporras9973 3 роки тому

      I have a problem when i run the example. when i go tho the step "mpirun -np 2 pimpleFoam -parallel" it sends me the following messages: PIMPLE: No convergence criteria found and OAM FATAL IO ERROR:
      [0] Pressure limits should now be specified in fvConstraints:
      NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
      You may or may not see output from other processes, depending on
      exactly when Open MPI kills them.
      Can you help me?

    • @andresporras9973
      @andresporras9973 3 роки тому

      I am using OF9

    • @engineerdo6568
      @engineerdo6568  3 роки тому

      Well, it seems that of9 expects different input values...