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.
Wunderbares Tutorial. Gutes Präsentationsformat und gute Struktur für Anfänger, die sich mit der steilen Lernkurve von OpenFOAM auseinandersetzen müssen.
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
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
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?
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.
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!
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
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!
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?
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.
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
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
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
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
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 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.
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.
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
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
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 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 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.
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?
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.
Thanks Birdy, that's a nice feedback
Thank you so much. It was a great help. I had lots of problems while installing openfoam and you make it happen.
Great to hear!
Wunderbares Tutorial. Gutes Präsentationsformat und gute Struktur für Anfänger, die sich mit der steilen Lernkurve von OpenFOAM auseinandersetzen müssen.
Danke für dein Feedback!
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)
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
you can use Helyx with openFoam 5.x.
Excellent faculty & i really appreciate whole heartiest such a great tech hero revolutionary faculty it is gr88 german scientist
Thanks for the tutor but when I try it I have this error --> FOAM FATAL IO ERROR:
Cannot find patchField entry for ffminx
very precise and perfect tutorial ... thanks , the first video I enter and works it totally ...
Great tutorial. Only thing, how do you add the timestamp on the top left of the animation?
Hey Pol, thanks for your feedback. You just have to add the annotate time filter from the filters in paraview.
@@engineerdo6568 Thanks a lot
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
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?
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.
Very well done tutorial. Incredibly helpful. Thanks!
Cheers mate!
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!
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
Thank you so much for the tutorial, it was very clear !!!
Thank you soo much. This video was very helpful. Is there any medium where i can donate any contribution to your work?
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!
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?
I had a problem while running the mprun but the I solved with -oversubscribe
Thank you for the tutorial! Do you have a specific reason to use the foundation version and not the ESI version?
Hey Daiana, thanks for your comment. No. No specific reason. Should work with the ESI version as good as but I never tried.
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
I am trying to do the installation, but when I put the command: "sudo gedit ~/../../etc/bash.bashrc ", I get "command not found". :(
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.
I entered the folder with "cd ~/../../etc/" and put the command "nano bash.bashrc"
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
thanks... I always waiting for
next video hee
Most welcome 😊
@Engineerdo: I am unable to run the parallel version! Please advise. Thanks.
That's kind difficult to answer
Hello Sir! I have a question. Is it okay to install this software(OpenFoam) on my Jetson Nano? It has ubuntu in it.
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
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
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
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!
Can you please copy the exact "error message"?
i m aslo facing same problem
@@engineerdo6568 Command 'blockMesh' not found, but can be installed with:
sudo apt install openfoam
@@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.
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.
same :(
@@adriagonzalezgarcia3870 We wait from @EngineerDo to respond.
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
It seems that openFoam was not installed correctly. Please repeat the installation process of openFoam
Facing the same issue. Any ways to solve this.
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
u r insane.@@duyang5776
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.
How many images are in your folder? If its just a quality issue you can change it with "-b 20k" in the ffempg command.
@@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.
Yes vlc player. That's the way to got. I think... we also included this in the installation guide
@@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.
First: Thx for the tutorial. I made this but pimpleFoam didn't resolve all time steps. What could be the problem?
We would need a error message. It could also be a full hdd...
Not too helpful. It covers everything from how to install Linux versions to downloading. Looking for specific info on OpenFoam.
Thanks for your critique
Thanks!!
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?
I am using OF9
Well, it seems that of9 expects different input values...