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

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 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.

    • @engineerdo6568
      @engineerdo6568  3 ปีที่แล้ว

      Thanks Birdy, that's a nice feedback

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

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

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

  • @looootfy1
    @looootfy1 4 ปีที่แล้ว +1

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

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

    • @engineerdo6568
      @engineerdo6568  3 ปีที่แล้ว

      you can use Helyx with openFoam 5.x.

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

  • @qiupudah
    @qiupudah 3 ปีที่แล้ว

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

  • @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  4 ปีที่แล้ว

      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"

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

  • @rajendraraut6812
    @rajendraraut6812 11 หลายเดือนก่อน

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

  • @Spock55000
    @Spock55000 6 หลายเดือนก่อน

    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?

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

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

  • @cleisonmanriqueaguirre8184
    @cleisonmanriqueaguirre8184 3 ปีที่แล้ว

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

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

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

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

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

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

  • @МаксимКоробов-ы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 th-cam.com/video/MZHTzkAhQ3I/w-d-xo.html.
      You can slo check out our tutorial on the coupling. th-cam.com/video/HsTRkC5EIOw/w-d-xo.html It's not too difficult to set up. We are looking forward to your first simulation results.
      Good Luck!
      Hendrik

  • @stoneofthor4279
    @stoneofthor4279 3 ปีที่แล้ว

    Very well done tutorial. Incredibly helpful. Thanks!

  • @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!

  • @AlondraRamalavida
    @AlondraRamalavida 3 ปีที่แล้ว

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

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

  • @christianhdot1490
    @christianhdot1490 4 ปีที่แล้ว

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

  • @cleisonmanriqueaguirre8184
    @cleisonmanriqueaguirre8184 3 ปีที่แล้ว +1

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

  • @agusprasetyonuryadi9465
    @agusprasetyonuryadi9465 4 ปีที่แล้ว

    thanks... I always waiting for
    next video hee

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