Hello Sir, I'm new in the Linux environment too. I'm having issues with the package installation of OpenFoam. I completed the first two steps (enable wls and install ubuntu). I installed Ubuntu 20.04 LTS. After the curl and wget commands i get "The repository is setup! You can now install packages." After that, I paste the command sudo and i get "E: Unable to locate package openfoam2106-default". I tried the "apt-get update" command too. I honestly don't know what I'm missing, so I wish you could suggest me on how to solve this. Thank you for your videos, and your support.
@OpenFOAMJozsefNagy3 жыл бұрын
What if you try only openfoam2106? Without -default
@nuubxiii52783 жыл бұрын
@@OpenFOAMJozsefNagy I have the same problem as the commenter above. I tried removing “-default” but it’s still says unable to locate package openfoam2106. I still really appreciate your help and your constant replies to people. Your help is much appreciated!
@saurabhtripathi25983 жыл бұрын
@@OpenFOAMJozsefNagy Sir I am also facing the same issue
@fritkot99873 жыл бұрын
I had the same issue and managed to solve it by first running "sudo apt install ca-certificates", then "apt-get update" and then " sudo apt-get install openfoam2106-default"
@OpenFOAMJozsefNagy3 жыл бұрын
@@nuubxiii5278 Even after running sudo apt update?
@Physics_Guru3 жыл бұрын
Hi i am getting this error E: Unable to locate package openfoam2106-default. Can anyone please tell me how to overcome this
@AhsanKhanPhD2 жыл бұрын
I get the same error...
@rodgo2652 жыл бұрын
I got the same, later I tried a different Ubuntu version then it worked
@sikandaryosufzai2790 Жыл бұрын
Dear sir, after installation openfoam in windows 10, the command( cp - /usr/lib/openfoam/openfoam2106/tutorials/incompressible/sipleFoam/ ) that you have used is not working, the answwer i got is ( No such file or directory) , then how to do tutorials guide me please
@vitoskrjanc90367 ай бұрын
same
@inesmendes3763 Жыл бұрын
Hello. I am a mechanical engineer student and I am using openfoam in my master thesis. I followed this video at the end but I need to work with dsmcfoam. Can you tell me if this is included in the openfoam installed? I really need your help in this because I can't find this information in internet
@dhrubojyoti2875 Жыл бұрын
Excellent! Very helpful. Searched all over internet on how to connect openfoam to matlab
@OpenFOAMJozsefNagy Жыл бұрын
I am glad.
@dhrubojyoti2875 Жыл бұрын
I managed to run k-omega SST to get some beautiful results! Btw, do you have a linkedin? Would love to stay connected @@OpenFOAMJozsefNagy
@paulhoffman81552 жыл бұрын
Hey Jozef, my bashrc file looks very different from yours and after pasting the line for the usr lib and saving it tells me there is no such file or directory. Do you happen to know why they would look so different? im on ubuntu 20.04 and downloaded the 2106 open foam successfully. Thanks for all the videos!
@OpenFOAMJozsefNagy2 жыл бұрын
Mine has a lot of info which grew historically, so differences are fine. Does it tell you that there is no bashrc file or no of installation?
@etienne7209 Жыл бұрын
How would I go about copying the "Allwmake META-INFO ThirdParty applications bin etc platforms src tutorials wmake" line into my home? I believe this is why I am not able to run the tutorial you started at 09:20. I heard the phrase "copy to your home" a few times but I'm not sure how to actually do so. Any help would be much appreciated!
@OpenFOAMJozsefNagy Жыл бұрын
You just need the tutorials: cp -r PATHTOTUTORIALS /home/YOURHOME
@ruima38473 жыл бұрын
Haha Love it. I have watch all three installation instructions
@mojtabamaali1127 Жыл бұрын
Thank you very much for this great tutorial. In the part where we need to write the line /usr/lib/openfoam/openfoam2212/etc/bashrc into our bashrc I got confused and I am not sure if the installation has been successful, since I am receiving the message: Permission Denied. Could you please explain how you wrote this line into your bashrc?
@OpenFOAMJozsefNagy Жыл бұрын
Which file does not give you permission? bashrc? In this case you have to contact your administrator to get access to the file.
@mojtabamaali1127 Жыл бұрын
@@OpenFOAMJozsefNagy Thank you for your reply!
@manray851310 ай бұрын
Hey man, kind of curious do this software use CPU or GPU for calculation?
@OpenFOAMJozsefNagy10 ай бұрын
CPU, but the GPU implementation has been in works now for years.
@sumantyadav97833 жыл бұрын
Thanks a lot to you, your videos are very helpful for me to understand the basis of OpenFOAM, I like your way of explaining. Can you please make a video on "Laser DTRM"?
@matheus_ars3 жыл бұрын
Hello József. Do you know any tutorial with the dispersion of a contaminant in the air? Im looking for it for many days and I dont find anything. Thank you.
@OpenFOAMJozsefNagy3 жыл бұрын
We do offer it as part of the of-campus, which is a CFD training in Singapore. Now due to Covid it is online, so anyone can join. We plan it for January/February next year.
@fatimafatima-bg9hh2 жыл бұрын
svp après 7:41 ça ne marche pas pour moi?
@OpenFOAMJozsefNagy2 жыл бұрын
Sorry for the English, but my French is not the best. You can open up the .bashrc file in any other text editor of your choice (emacs, vim, gedit, notepad++ in windows). I hope this helps.
@fatimafatima-bg9hh2 жыл бұрын
@@OpenFOAMJozsefNagy merci beaucoup
@trksee12363 жыл бұрын
Hello sir, thanks for this video, can you help me? why when i installed these three versions of openFOAM -v1912, v2006 and v2012 in ubuntu 18.04 the setExprFields does not exist in the system of that cases which are needed ?
@OpenFOAMJozsefNagy3 жыл бұрын
If it is not in the tutorials you can create the file yourself.
@zoo9189 Жыл бұрын
Dear Sir, I am using WSL Ubuntu22.04.2 on my Windows 10. I have downloaded the paraview from the official website to my home directory. However, when I run the 'paraview' command from Ubuntu for my .foam file, it does not work and give me an error of 'paraview: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory'. I tried to use the sudo apt-get command for the paraview installation as well and run the 'paraview' command again, but it is still not working. Wondering if you know the issues about this? Appreciate for your guidance.
@muratsbf Жыл бұрын
hi, did you solve the problem? I also faced with this issue, please help me if you have any solution about that
@nickelschwarz71332 жыл бұрын
Hello Sir, I get this error when I create the block mesh on Windows MSYS2 terminal: "FOAM FATAL IO ERROR: (openfoam-2106) This code should not be executed by someone with administrator rights for security reasons. It generates a shared library which is loaded using dlopen" Thanks for your help
@abal17663 жыл бұрын
Hello, Thanks for the tutorial. Will you be posting the Windows 11 installation video soon?
@OpenFOAMJozsefNagy3 жыл бұрын
First I have to purchase a Win11 Laptop to fully recreate the fresh install of WSL in Win11, so this will be in January. But all you really have to do is open the new "Windows terminal" (not cmd!) and type in "wsl --install". Then you will get a Ubuntu and can install openfoam just like I show here.
@ayushparajuli13302 жыл бұрын
How do we transfer results from Ubuntu to Windows for post-processing?
@OpenFOAMJozsefNagy2 жыл бұрын
Your Windows drive is under /mnt/c
@vladvlad62462 жыл бұрын
It is very nice and looks simple. There is a question that I cannot resove. How to organise the file exchange between Windows and Linux? Thank you for your assistance.
@majanorman42482 жыл бұрын
I'm facing the same issue, I would really appreciate some assistance.
@matthiassinger32883 жыл бұрын
Hello Jószef, thank you very much for your detailed installation guide. After I installed OpenFoam successfully I wanted to check the installation via the command foamInstallationTest. Although the base configuration is ok I receive 2 critical errors. Also, under "Software Components" it says that flex, make, wmake, gcc, g++ and icoFoam is not installed. Can I ignore these errors?
@OpenFOAMJozsefNagy3 жыл бұрын
The question is, do you want to compile source code or just run cases? If blockMesh runs, it should be good for running cases. If you want to compile you need those packages.
@matthiassinger32883 жыл бұрын
@@OpenFOAMJozsefNagy Thanks for your reply. I also want to compile sources. The interesting thing is that I can compile sources, despite the fact that I get the errors. Yesterday noon I did some programming tutorials according to the video of Tom Smith ( kzbin.info/www/bejne/gXOceZudnLqclac ) and everything seemed to work fine. I was just confused at first that I did something wrong during the installation but OpenFoam seems to use wmake for compiling anyway.
@OpenFOAMJozsefNagy3 жыл бұрын
@@matthiassinger3288 Ok great!
@basaruoz71273 жыл бұрын
Thankyou, I really appreciate your help. It works 100%
@OpenFOAMJozsefNagy3 жыл бұрын
I am glad.
@alb8350 Жыл бұрын
Hi, How can I add openfoam in grasshopper rhino? Regards
@meeranaskar7 ай бұрын
Hi József Nagy, after curl -s command , i get an error message
@OpenFOAMJozsefNagy7 ай бұрын
Try to run sudo apt update
@SuperThracian Жыл бұрын
Congratulations for the great video! I followed the proposed steps successfully up to 8:50 when I wrote: . /usr/lib/openfoam/openfoam2212/etc/bashrc^C, and the error message was: No such file or directory. I ignored this error and went on, until the point that I wrote: cp -r /usr/lib/openfoam/openfoam2212/tutorials/incompressible/simpleFoam/, and the error message was this time: cp: missing destination file operand after '/usr/lib/openfoam/openfoam2212/tutorials/incompressible/simpleFoam/' What should I do next given I am not experienced at all in Linux?
@rajinthss7732 Жыл бұрын
You should include the "." after your command (without the quotation marks), which tells the system to copy the files into your "current" path. Without it, you will get the missing destination error.
@akashjinish525 Жыл бұрын
hello i am facing an issue while installing, when i type in the simplefoam command it says "command not found"
@OpenFOAMJozsefNagy Жыл бұрын
upper case is important >>> simpleFoam
@trksee12363 жыл бұрын
and also after installing openFOAM in ubuntu i can not run my case, when i type ./Allrun and enter it, i get this : ./Allrun command not found
@OpenFOAMJozsefNagy3 жыл бұрын
As it seems the script is not in the folder you try to execute it.
@youngjinjeon46092 жыл бұрын
Thank you for the very nice videos. I learn a lot from your videos. I installed openfoam in ubuntu in the same way you do, and I can not find the openfoam/module folder. In the previous video from yours, you told that user guide of cfmesh can be found here. I have searched in google and I haven't find any answer.
@OpenFOAMJozsefNagy2 жыл бұрын
Unfortunately in 2112 for some reason it was removed. The executable commands are available but not the tutorials or the user guide. You need v2012 to access them.
@youngjinjeon46092 жыл бұрын
@@OpenFOAMJozsefNagy Thanks for the reply!
@albertcallejoamat78378 ай бұрын
ls: cannot access 'usr/lib/openfoam': No such file or directory
@OpenFOAMJozsefNagy8 ай бұрын
Something went wrong during installation. Check your output.
@nicolasgarcia11554 ай бұрын
Sir, you are the best. Thanks
@nac94943 жыл бұрын
@saifahmad52322 жыл бұрын
After all this when I am trying to start simpleFoam then it shows Foam Fatal error ,cannot find file "/home/saif/system/controlDict" Please help me solve this issue.
@OpenFOAMJozsefNagy2 жыл бұрын
You have to navigate into the folder you want to start the simulation in. You are still in your home folder.
@simonshayan20323 жыл бұрын
Hello everyone, my Ubuntu says E: Unable to locate package openfoam. What should i do? I am a complete newbie when it comes to Ubuntu and don't know what to do. I have built the first two steps as shown in the video. It's probably just something very simple that needs to be added. Thanks for the help
@OpenFOAMJozsefNagy3 жыл бұрын
Did you execute all the commands as described? Which version of Ubuntu do you use? Possibly the addition of the repository was not successful. Or "sudo apt update" may also help.
@simonshayan20323 жыл бұрын
@@OpenFOAMJozsefNagy Yes Sir, thank You. I use Ubuntu 20.04 LTS. With sudo apt install ca-certificates and sudo apt update it works now. But i have problems with paraview. "qt.qpa.xcb: could not connect to display" appears :(
@OpenFOAMJozsefNagy3 жыл бұрын
@@simonshayan2032 If you use WSL in Windows run the Windows version. If you are running native Ubuntu, try an older version and contact Paraview support that the latest version is buggy.
@ChickenChopEnjoyer3 жыл бұрын
@@OpenFOAMJozsefNagy Hello Jozsef! I followed your steps using ver 20.04 and change it as you mentioned. However, it still does not work out. Does it have something to do with my E: drive?
@OpenFOAMJozsefNagy3 жыл бұрын
@@ChickenChopEnjoyer Difficult to say without the error. Where does the workflow fail?
@formulaveepinetown7 ай бұрын
Hello from South Africa.I have copied and pasted motorBike tutorial into openfoam2312 but it says access denied. I have done that in explorer.exe.I want to use my own stl file.Please can u advise.
@OpenFOAMJozsefNagy7 ай бұрын
It is better to copy the tutorial to your C drive and replace the STL s there.
@formulaveepinetown7 ай бұрын
@@OpenFOAMJozsefNagy When i go to text editor i get access denied. Will not let me make changes
@OpenFOAMJozsefNagy7 ай бұрын
@@formulaveepinetown Not even on your C drive?
@formulaveepinetown7 ай бұрын
@@OpenFOAMJozsefNagy No it blocks me there too.
@OpenFOAMJozsefNagy7 ай бұрын
@@formulaveepinetown Thes you do not seem to have write permissions on your PC.
@AjayHudgeRA2 жыл бұрын
Hello sir, very happy with this video but I am getting an operand missing error while giving tutorial commands. it says "cp: missing destination file operand after '/usr/lib/openfoam/openfoam2112/tutorials/incompressible/simpleFoam/' Try 'cp --help' for more information." Please look into this. What is the solution?
@OpenFOAMJozsefNagy2 жыл бұрын
I think you forgot the dot after your path.
@AjayHudgeRA2 жыл бұрын
@@OpenFOAMJozsefNagy My command line is "cp -r /usr/lib/openfoam/openfoam2112/tutorials/incompressible/simpleFoam/" there is no dot in this command at the end. The dot is in the next line after pitzDaily . Please help.
@OpenFOAMJozsefNagy2 жыл бұрын
@@AjayHudgeRA It has to be all in one line.
@abdulmajeed23052 жыл бұрын
Did you figure it out? Because I have the same problem
@royce40672 жыл бұрын
@@OpenFOAMJozsefNagy Hi sir, what you mean by all in one line? I am following closely with your video and there is no dot at the end of "cp -r /usr/lib/openfoam/openfoam2112/tutorials/incompressible/simpleFoam/"
@romarssieverything9667 Жыл бұрын
hi, mine is stuck at "running apt-get update". How can I resolve this?
@romarssieverything9667 Жыл бұрын
ha nevermind!
@OpenFOAMJozsefNagy Жыл бұрын
@@romarssieverything9667 Great!
@ingenieriapasoapaso3102 жыл бұрын
Hello, good afternoon, thanks for the videos, they are very good, hey, do you have a video about the installation of openFoam v1806 in ubuntu, greetings
@OpenFOAMJozsefNagy2 жыл бұрын
Old versions are always problematic. Try to download the WSL tgz file of v1812 the way I download the version 1912 in my other video here kzbin.info/www/bejne/mYbFdGODp9CchaM
@monsemedina69052 жыл бұрын
Hey! I'm new in Ubuntu. I have problems to create my user name, I followed the indications of the terminal but in the end the system kept asking me the username, help me please :c
@OpenFOAMJozsefNagy2 жыл бұрын
The command "whoami" should give you your username.
@ingenieriapasoapaso3102 жыл бұрын
Hello, good afternoon, thanks for the videos, they are very good, hey, do you have a video about the installation of openFoam v4.1 in ubuntu, greetings
@HarshitSingh-fv6sp3 жыл бұрын
In ubuntu 20.04 LTS "Unable to locate package openfoam2106-default" this error is showing up. What should I do?
@OpenFOAMJozsefNagy3 жыл бұрын
sudo apt update
@DrNonuV Жыл бұрын
thanks joz.. that helps
@school7712 жыл бұрын
Is OpenFoam available for free or its a paid software?
@srinath4amis2 жыл бұрын
Hello Sir, Thank you so Much For your videos, Sir it would be if you could explain tutorials on Bubble Generation in micro Channel simulation Thank you :)
@luisandresmollericontitiri6673 жыл бұрын
Thanks
@antoineatangana Жыл бұрын
Il important d'avoir de la pédagogie, vous n'avez pas de pédagogie. Vous commencez bien à expliquer au debut mais à la fin vous etes extrêmement rapide. On dirait que vous etes en compétition de rapidité avec quelqu'un d'autre.
@OpenFOAMJozsefNagy Жыл бұрын
Sorry about that. You can change the speed of the video, if you feel I am too fast.
@antoineatangana Жыл бұрын
@@OpenFOAMJozsefNagy I already do it, but you don't really show how you are progressing. at the beginning it's good but in the end, even with a speed of ×0.25 things go as it was a competition.
@OpenFOAMJozsefNagy Жыл бұрын
@@antoineatanganaOk, sorry about the speed.
@antoineatangana Жыл бұрын
@@OpenFOAMJozsefNagy No problem, thank you
@miketaulbut7568 Жыл бұрын
@@OpenFOAMJozsefNagy i tell people that everyday on tutorials..haha
@spianny Жыл бұрын
thanks!
@amrragheb34612 жыл бұрын
Hello Jozef, When I write simpleFoam to start the simulation, I get this error. Could you please advise? (last couple of lines of what is actually displayed): . . No MRF models present No finite volume options present Starting time loop streamLine streamlines: --> FOAM FATAL IO ERROR: keyword direction is undefined in dictionary "/home/aragheb/FOAM_RUN/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict/functions/streamlines" file: /home/aragheb/FOAM_RUN/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict/functions/streamlines from line 4 to line 20. From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 799.
@OpenFOAMJozsefNagy2 жыл бұрын
It says it in the error message: keyword direction is undefined in dictionary "/home/aragheb/FOAM_RUN/tutorials/incompressible/simpleFoam/pitzDaily/system/controlDict/functions/streamlines Entry "direction" undefined in the streamlines function.
@dev4shah__2 жыл бұрын
@@OpenFOAMJozsefNagy same issue, i did not understanf your sol for this actually it works if u follow every step, before writing simplefoam use the usr line first as shown in video
@ghadaabderrahim99212 жыл бұрын
Hello Sir , i m having this Error and i couldn't figure out the problem can you help me please? cp -r /usr/lib/openfoam/openfoam2112/tutorials/incompressible/simpleFoam/ cp: missing destination file operand after '/usr/lib/openfoam/openfoam2112/tutorials/incompressible/simpleFoam/' Try 'cp --help' for more information.
@OpenFOAMJozsefNagy2 жыл бұрын
You need a dot to indicate where you want to copy. Please refer to my Linux commands playlist for basic commands in Linux.
@mehmetdelikan46872 жыл бұрын
Firstly, i wanna thank you for this useful video. However, i have a problem. I could not pass this step. Can you help me ? cp -r /usr/lib/openfoam/openfoam2206/tutorials/incompressible/simpleFoam/ cp: missing destination file operand after '/usr/lib/openfoam/openfoam2206/tutorials/incompressible/simpleFoam/' Try 'cp --help' for more information.
@OpenFOAMJozsefNagy2 жыл бұрын
The dot at the end is missing. Search the web on how to copy directories in the Linux terminal.