How to install and use OpenFOAM | Beginner tutorial series #1

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

КОМЕНТАРІ • 49

  • @Tommybotham
    @Tommybotham Рік тому +3

    This video made me proud to be British. Just a straight up, no nonsense tutorial. Thanks a lot!

  • @konstantinostsikitikos8988
    @konstantinostsikitikos8988 2 роки тому +6

    Bro! Great tutorial! been through so much and watched many tutorials with no results. Thank you very much

  • @Nsvnss
    @Nsvnss 8 місяців тому

    Thank you for this paraview and openfoam explainer video. It was a very descriptive and fluent video. It was very useful.

  • @selahattinkaracay9951
    @selahattinkaracay9951 9 місяців тому

    I have just installed. Thank you for your clear explanation.

  • @DonnyHadden
    @DonnyHadden 2 роки тому +7

    I wish I could give another like. This video is sooo helpful!

  • @nuraykayakol7947
    @nuraykayakol7947 Рік тому +1

    I installed OpenFoam sucessfully with your video. Thank you.

  • @sss_Shazam
    @sss_Shazam Рік тому +1

    This tutorial is the best out of all that is ever made thank you so much.

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

    Thank you very much, was finally able to get OpenFoam to work

  • @sametkiymet9622
    @sametkiymet9622 2 роки тому +2

    Please go on for tutorial. Thanks!

    • @cfdforeveryone-nikl9742
      @cfdforeveryone-nikl9742  2 роки тому

      I'm glad it was helpful! I'm trying to find all the time I can to continue the tutorial series, but I've got a lot of other commitments (university degree etc) that are taking a lot of time. I'm also trying to improve my video-making workflow first. So hopefully once summer break comes, I will be able to make more videos quickly.

  • @Slowhand4106
    @Slowhand4106 11 місяців тому

    Excellent lesson

  • @reinhardt0731
    @reinhardt0731 7 місяців тому

    broooooo thanks a lot I wish I found this sooner

  • @Nazmul--hc3sr
    @Nazmul--hc3sr Рік тому

    sir, u are the best. you should upload more videos.

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

    everything works, thank you very much

  • @Zsktnc
    @Zsktnc 11 місяців тому

    Hi, thanks for instructions it was very helpful. I want to study DSMC. Do you have any idea for setup of DSMC? Should I download it or what should I do?

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

    Very helpful tutorial!

  • @黃冠傑-v3t
    @黃冠傑-v3t 11 місяців тому

    thanks for sharing

  • @Ulani15
    @Ulani15 4 місяці тому

    Do you have any DNS tutorials for a 2D unsteady flow past an airfoil?

  • @Shshsjs-ij7yi
    @Shshsjs-ij7yi Рік тому

    whenever I press “apply” I get a zoomed in screen of the coordinates and I can’t do anything..

  • @stenogamer
    @stenogamer Рік тому +1

    This peoblem is showing up for me: WslRegisterDistribution failed with error: 0x8007019e - in cmd after I opened the ubuntu :( Please can somebody help me?

    • @veyronf1
      @veyronf1 11 місяців тому

      had this problem myself.
      go into cmd again as administrator and run these:
      "wsl --install
      dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
      dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
      wsl --set-default-version 2"
      not all at once ofc, each line is its own command

    • @kyrondesign
      @kyrondesign 9 місяців тому

      I have this same issue.

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

    Ty for the tutorial

  • @LT72884
    @LT72884 3 місяці тому

    So what if you dont have the tutorials folder?
    Ie, it disnt install one

  • @kyrondesign
    @kyrondesign 9 місяців тому

    I got an error message when I downloaded Ubuntu. How do I fix that?

  • @fatimafatima-bg9hh
    @fatimafatima-bg9hh 2 роки тому +1

    hi, at 5:25 when i paste the third line, i've this answer ' cp: cannot stat '/incompressible': No such file or directory'

    • @cfdforeveryone-nikl9742
      @cfdforeveryone-nikl9742  2 роки тому

      The fix is to make sure you've edited (and saved) the ~/.bashrc file as I did in the video. After that is done, make sure you have restarted your Ubuntu terminal. Then try running the command again. If that still doesn't work, try restarting your computer.
      This happens because your Ubuntu doesn't know what the $FOAM_TUTORIALS variable is. So it replaces $FOAM_TUTORIALS in the "cp -r $FOAM_TUTORIALS/incompressible ..." command with nothing. So the command becomes "cp -r /incompressible ...", and Ubuntu then tries to look in the folder "/incompressible", which doesn't exist.

    • @fatimafatima-bg9hh
      @fatimafatima-bg9hh 2 роки тому

      @@cfdforeveryone-nikl9742 thank you, I'll try to follow theses indications

    • @Nsvnss
      @Nsvnss 8 місяців тому

      @@cfdforeveryone-nikl9742 I got the same error. Thanks to this comment, I solved the problem. Thank you.

    • @dubstepmachine4430
      @dubstepmachine4430 14 днів тому

      @@cfdforeveryone-nikl9742 I've got the same issue, already restarted the PC, line in 100% in the bash. However I am getting "-bash: /usr/lib/openfoam/openfoam2012/etc/bashrc: No such file or directory" along side "cp: cannot stat '/incompressible': No such file or directory" even though the line of code is 1000000% in the bashrc

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

    i am stuck at the instalation of ubuntu , a windows of instalation ubuntu wsl open but stuck at "unpacking the distro" someone can help me please ?

  • @MarissaKarpack
    @MarissaKarpack 8 місяців тому

    I added the paraview executable to my system path, but still get "paraview.exe: command not found" when I try to run it in Ubuntu. Anyone know what could have gone wrong?

    • @cfdforeveryone-nikl9742
      @cfdforeveryone-nikl9742  8 місяців тому

      Did you restart your Ubuntu terminal?

    • @MarissaKarpack
      @MarissaKarpack 8 місяців тому

      @@cfdforeveryone-nikl9742 I did - also tried restarting my machine in case that was the issue.

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

    How do I run cases? I can run the single case that we copied at the end, but how do I run everything that is located in usr/lib/openfoam etc... Do I need to copy everything else over?

    • @cfdforeveryone-nikl9742
      @cfdforeveryone-nikl9742  2 роки тому

      If you want to run a different tutorial case, you should make a copy of it in the same way as with the cavity case. Most tutorial cases come with a script called "Allrun" - if you run that script, it will run the simulation. For the cavity case (and a few other cases), there is no ready-made script to run the sim for you, so you have to know what commands to run and type them in manually (in the cavity case, it was blockMesh, checkMesh, and icoFoam).
      If you want to create your own simulation, I highly recommend starting from a similar tutorial case, making small changes to it as appropriate (e.g. change the geometry, boundary conditions, etc), and then running it in the same way as with the original tutorial case.

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

    Good day! I got this error, do you know how to patch v2112?
    --> FOAM FATAL ERROR: (openfoam-2112 patch=220610)
    cannot find file "/home/mmrc20/system/controlDict"
    From virtual Foam::autoPtr Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
    in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 542.
    FOAM exiting
    Thank you!

    • @cfdforeveryone-nikl9742
      @cfdforeveryone-nikl9742  2 роки тому

      Hi there, sorry for the late reply - from what it looks like, you've tried to run OpenFoam from a folder which does not contain a simulation case. Specifically, it cannot find the file "controlDict". It appears that your OpenFoam installation is ok, if it gives that error message. Make sure you've copied a tutorial case from the $FOAM_TUTORIALS directory, and have navigated into it before running any OpenFoam program (you should be running from a directory where `ls` prints out the "0", "constant", and "system" directories)

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

    no such file or directory . i am getting this message

  • @rnaresh1983
    @rnaresh1983 2 місяці тому

    is that installation for free??

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

    open foam is not getting downloaded

    • @cfdforeveryone-nikl9742
      @cfdforeveryone-nikl9742  2 роки тому +1

      Is this the "curl" step that is failing, or the "sudo apt-get install" step? Make sure you've done "sudo apt update" and "sudo apt upgrade" before either of those steps. Also try restarting your Ubuntu prompt and/or your computer.
      I'm afraid I can't help you without more details.

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

      @@cfdforeveryone-nikl9742 sorry for the delay to reply,
      this is my last line after i run "sudo apt-get install" command
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      i noticed connection timed out phrase above it
      i ran both "sudo apt update" , "sudo apt upgrade " before installing.
      what i am i missing.my installation is always failing no matter which installation i follow.
      pls help

    • @cfdforeveryone-nikl9742
      @cfdforeveryone-nikl9742  2 роки тому +1

      ​@@ajaijoy1860 From what I can tell, Ubuntu is struggling to update itself when running sudo apt update / upgrade. More specifically, you are unable to download update archives from the internet for some reason. If this is indeed what is happening, it is not an OpenFOAM issue, but an issue with Ubuntu itself. Somehow you need to figure out why it's not letting you install updates to your Ubuntu. Sometimes this is caused by security certificate issues where Ubuntu doesn't trust the security certificates your internet connection provides.
      Potential fixes you could try (not sure if any will fix it): restarting your PC / trying a different internet connection / reinstalling Ubuntu.
      You might find further clues by checking the outputs for sudo apt update / upgrade and ensuring they do not have any errors. If there are errors, you might be able to google the error message and find a stack overflow page with a fix.
      Good luck!

  • @Shshsjs-ij7yi
    @Shshsjs-ij7yi Рік тому

    whenever I press “apply” I get a zoomed in screen of the coordinates and I can’t do anything..