Тёмный

How to run your first simulation in OpenFOAM® - Part 2 - tutorial 

József Nagy
Подписаться 25 тыс.
Просмотров 126 тыс.
50% 1

Опубликовано:

 

22 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 222   
@mertyigit4093
@mertyigit4093 Год назад
Now with the "that's what she said" joke at 23:04, I am pretty sure this is the BEST tutorial ever! Thanks Jozsef!
@jcjcjcjcjcjcful
@jcjcjcjcjcjcful 8 лет назад
that's what she said!!
@29silky
@29silky 8 лет назад
Loved the joke at 23:05. Great tutorial really excellent tutorials!
@emiledimas9618
@emiledimas9618 2 года назад
That's what she said!
@rmdking1
@rmdking1 9 лет назад
Nice touch with the 'that's what she said' :) great tutorial thanks!
@yusufarslan6640
@yusufarslan6640 4 года назад
It is very sad that such a good tutorial gets not even 1k likes. It is because OpenFoam isn't even known by most of the engineers. I want to support you my friend.!! Good Work. Well Done!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
Thank you.
@MohamedShatarah-l7t
@MohamedShatarah-l7t Год назад
2 years later, it has 116k
@adrianabentes3926
@adrianabentes3926 6 лет назад
Hi József, I will use OpenFOAM as a simulation tool for my Ph.D. project and I wanna thank you for your great material. I´m following your tutorials and I´m improving my skills to handle this software. Your videos have high quality, please keep posting. Many thanks!!!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
I am glad I can help.
@miguelalfonsomendez2224
@miguelalfonsomendez2224 8 лет назад
Thank you so much for your video series. They are an incredibly powerful tool to speed up the learning process of OpenFoam.
@slipperyavocado9457
@slipperyavocado9457 3 года назад
just discovering these tutorials now and they're amazing :)
@nguyenkhanh2101
@nguyenkhanh2101 4 месяца назад
thanks, my first lesson about OpenFoam.
@JZ1917
@JZ1917 7 лет назад
Nice tutorial! Nice pace, that can be sped up if there is some familiarity with the material, and even a comedy relief moment :D !
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 лет назад
I am glad to help and entertain ;)!
@harshitjoshi9184
@harshitjoshi9184 2 года назад
23:01 "Lets just make it bigger....THATS WHAT SHE SAID". Hahaha, caught me off guard!
@paulmelis1862
@paulmelis1862 6 лет назад
When moving the trimesh next to the quad mesh around 5:10 you could also have used a split rendered view with linked cameras. That way you can zoom in on the same regions in both meshes at the same time.
@AlejandroPaladio
@AlejandroPaladio 9 лет назад
that's what she said XD excelent tutorials btw!
@derekfricke8924
@derekfricke8924 9 лет назад
Jozsef, great tutorial and I greatly appreciate you uploading this. I plan to go through your other videos after my success with this tutorial. Many thanks.
@MrMido7arakat
@MrMido7arakat 6 лет назад
Thank you Josef for your time and effort doing these valuable screen casts. I wanted to comment saying that I could not find the transformation options under the properties panel in paraview. However, I managed doing this using filters. I might be missing some detail but that's how I managed doing it. I would also like to thank Tobias Holzmann for citing your videos as a reference.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
There is usually a gear button in the panel, which you have to click.
@hemishmistry4101
@hemishmistry4101 5 лет назад
Very effectively explained ...Thank you
@rajschneider9857
@rajschneider9857 Год назад
Really appreciate your work, Jozsef!
@akalankaranundeniya4278
@akalankaranundeniya4278 3 года назад
Great... This was so helpful to me.... Thanks József ......
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
I am glad!
@joaopedroalberton1589
@joaopedroalberton1589 9 месяцев назад
Thanks for the video. Your tutorials are the best
@Hari2100
@Hari2100 3 года назад
Useful information
@aerobertj
@aerobertj 9 лет назад
Very good. You added information - I didn't get out of the intro tutorials (cavity and damBreak) - about the contents of the dictionary and source files that makes everything fit together much better.
@andreluismoreiranahes5269
@andreluismoreiranahes5269 3 года назад
Hello, thank u for your videos. It is a very good tutorial. I'm a Open FOAM begginner and I'm having a problem with the refined mesh, could you help me with this please? When i tried to refine the mesh with the "refineMesh -overwrite", a lot of similar FOAM warning appeared. For example: " --- > FOAM Warning: From function void Foam: : cellCuts: : setFromCellCutter(const Foam: :cellLooper&, const Foam: :List&) in file meshCut/cellCuts/cellCuts.C at line 2435 Found loop on cell 70291 that resulted in an unexcpected bad cut Suffestions: - Turn on the debug switch for 'cellCuts' to get geometry files that indentify this cell - Also keep in mind to check the defined reference directions, as these are most likely the origin of the problem " Because this is just a warning, i tried to run the simulation anyway, but there is a fatal erros: " --> FOAM FATAL IO ERROR; size 2200 is not equal to the given value of 8800 file: /home/andrenahes/andre-dir/elbowquad_refined/75/p From function Foam: : Field: :Field(const Foam: : word&, const Foam: : dictionary&, Foam: :label) [with Type = double; Foam: :label = int] in file /home/pawan/OpenFOAM/OpenFoam-v1912/src/OpenFOAM/lnInclude/Field.C at line 222 FOAM exiting" Also, before trying to refine the mesh all my simulations were working well and similar with your results. So, i'm guessing that the error is caused because the refine mesh. Thank you !!
@jay8293
@jay8293 4 года назад
Thank you, I hope to see you next time too!
@justdrive5287
@justdrive5287 5 лет назад
I just started on my learning openfoam with a project of running backward facing step simulation using icofoam solver and was heavily confused with simulating the geometry ,like from which case file i can develop the geometry and give boundary conditions.And when i give the solver against cavity file in the cavity folder of icofoam tutorial that was copied to run folder ,it says error with polymesh and i tried giving ansToFoam cavity.ans ,but that didnt went well.And i m stuck as of now,that stuck brought me here and i m learning slowly i guess. Thank you so much jozsef, you are a real contributor and game changer for open foam beginners.
@noahzhang892
@noahzhang892 7 лет назад
Thank you so much for this presenting this!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 лет назад
I am glad to help!
@mahdihasan928
@mahdihasan928 6 лет назад
Hi, I do appreciate the help you are providing to learners like me. Thank You. I've question to you. Although, I managed to refine the quadmesh following your instructions, but the terminator gives me warnings. Can you give me any idea what's the possible reason behind these: 1.Refinement dictionary refineMeshDict not found 2.FOAM Warning : From function void Foam::cellCuts::setFromCellCutter(const Foam::cellLooper&, const Foam::List&) in file meshCut/cellCuts/cellCuts.C at line 2395 Found loop on cell 3319 that resulted in an unexpected bad cut. Suggestions: - Turn on the debug switch for 'cellCuts' to get geometry files that identify this cell. - Also keep in mind to check the defined reference directions, as these are most likely the origin of the problem. The warnings are given for a number of cells but I am showing you only one.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
As long as they are warnings and no errors, it is ok for this tutorial. With refineMEshDict you can define the refinement, the second warning tells you about a bad cell refinement. As long as the simulation runs, you shouldn't worry about this.
@PsyChoChiRcuS
@PsyChoChiRcuS 5 лет назад
@@OpenFOAMJozsefNagy Hello sir! Thanks for your great work with OF tutorials... I have the same issue and after this step, it will run up to a specific time point and exits with this error "Courant Number mean: 0.155452 max: 2.49183 " meaning the simulation wasnt converging due to those several warnings of bad cell cuts. After some seach on google, i figured out that " when the user doesn't use good enough directions for the cell cutting, there will be cells that are incorrectly cut and that could end up being a "needle in a haystack" that leads to a very bad mesh. Keep in mind that checkMesh might not complain about these unexpected incorrect cuts.". Meaning there is probably an issue with the configurations for the patchLocalCoeffs. in 10:00 it s the global coordinate system (tan1, tan2, normal). My question requires rather big answer, but in case it doesn't, are there any tips how to fix that without going way much deeper than "my league" if i could put it this way. Thanks!
@PsyChoChiRcuS
@PsyChoChiRcuS 5 лет назад
I am using openFoam v7 (latest), paraview 5.6.something (latest), ubuntu 18.0.4. I guess, in case to save refineMesh from openFoam, you could do that from third parties like Meshlab, Blender, etc, right?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
@@PsyChoChiRcuS You can just reduce the time step size by a factor of e.g. 3
@PsyChoChiRcuS
@PsyChoChiRcuS 4 года назад
@@OpenFOAMJozsefNagy yea i just saw you did that thing in a next tutorial of urs and i returned to inform others who may have the same expirience... silly youtube didnt notify me for ur reply >< oh well, thanks a lot for the confirmation :)
@paraswa4581
@paraswa4581 3 года назад
Excellent tutorial. Thank you
@武昌区F91
@武昌区F91 5 лет назад
Hi, Jozsef! When I used the command 'refineMesh -overwrite', it showed a warning as below. However, when I checked the mesh, there seemed to be fine. How to turn on the debug switch for 'cellCuts'? Do I still need to do anything to solve this warning? FOAM Warning : From function void Foam::cellCuts::setFromCellCutter(const Foam::cellLooper&, const Foam::List&) in file meshCut/cellCuts/cellCuts.C at line 2393 Found loop on cell 3200 that resulted in an unexpected bad cut. Suggestions: - Turn on the debug switch for 'cellCuts' to get geometry files that identify this cell. - Also keep in mind to check the defined reference directions, as these are most likely the origin of the problem.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
These are warnings. You can ignore them for now. I tested this and the mesh looks good for me with v1906. Does the simulation run?
@武昌区F91
@武昌区F91 5 лет назад
@@OpenFOAMJozsefNagy Yes, the simulation runs. Thank you!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
@@武昌区F91 Great.
@jonathanspurgeon5461
@jonathanspurgeon5461 2 года назад
@@OpenFOAMJozsefNagy simulation runs, but courant number exceeds 1. Is that okay?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 года назад
@@jonathanspurgeon5461 If it is stable it is fine.
@prasadovhal
@prasadovhal 6 лет назад
Great . Thank you so much...
@alejandrosanchez201
@alejandrosanchez201 9 лет назад
Amazing tutorial. Thks a lot
@planctonman
@planctonman 7 лет назад
Very good work. Thank you!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 лет назад
Thank you!
@RodrigoCastilloCL
@RodrigoCastilloCL 7 лет назад
Thank you József, this helped me a lot :)
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 лет назад
I am glad I could help.
@yasamanjabbari6477
@yasamanjabbari6477 3 года назад
Very helpful thank you
@cristobalsantiago5730
@cristobalsantiago5730 8 лет назад
Thanks a lot! Really! nice and useful tutorials! :D
@cfd_fluentopenfoam7854
@cfd_fluentopenfoam7854 4 года назад
Waiting for next videos
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
Check out my channel. There are lots of them.
@subratparthasarathi
@subratparthasarathi 8 лет назад
Great Tutorials...!! Thanks A lot
@guzzler6584
@guzzler6584 Год назад
what is your number of table values in color map editor? thank you for the videos
@PaulAJohnston1963
@PaulAJohnston1963 5 лет назад
Wonder if you think adding the linux history file in the "show more" section. The text on the command line can be a little difficult to read at times. All said and done thanks a ton for the tutorials.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
Thank you!
@endo9902
@endo9902 6 лет назад
excellent tutorial!
@graeme011
@graeme011 7 лет назад
This is a very good tutorial - very informative. Just one problem - Jozsef mentioned the word "homework" near the end - how frightening would that be! :=)
@aishwaryakundeti390
@aishwaryakundeti390 Год назад
hello Josef, i have downloaded elbow quad mesh, when i import quad mesh, i am facing errors. can you please share the exact file in the description of your video?
@whitelotus005
@whitelotus005 7 лет назад
Thanks for the awesome tutorials. 1 question.. where do I go if I want to design a cone type structure- an Abrams cone, which is 2 circles, one on top and the other bigger on at the bottom, such as to test a slump flow. Do I go into Icofoam?
@xPrism0x
@xPrism0x 2 года назад
21:41 nice
@mehdirahimi1281
@mehdirahimi1281 9 лет назад
great tutorial thanks!
@MichaelAye
@MichaelAye 6 лет назад
Anybody knows where the Transforming menu has gone to in ParaView 5.4?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
Maybe you just forgot to press the gear button? It opens up further possibilities.
@MichaelAye
@MichaelAye 6 лет назад
I had to go to Filters->Alphabetical->Transform to get that menu. Thanks for your reply!
@enisekartal278
@enisekartal278 6 лет назад
You can search for the tool by typing "trans" in the searching field as well :)
@shiqiwang3560
@shiqiwang3560 9 лет назад
Better tutorial than the official guide. But a small question:In your other videos, the annotations and lables are in the same direction of the color legend, but in this one, they are in the reverse side. How to reverse the annotations to the other side of the color legend in order to keep the annotations and lables in the same side? In my case, they are always in the opposed side, it is really annoying. Waiting for your reply. thanks
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 9 лет назад
Thanks, I am sorry, but I am not sure, what you mean exactly. Could you point out the specific point in the video(s)?
@shiqiwang3560
@shiqiwang3560 9 лет назад
József Nagy For example, in the time of 16:00 in this video, there shows a color legend. We can find nnotations 0 and 4 in the downside and labels 1, 2, 3 in the upside of the color legend. How can we reverse the annotations 0 and 4 to the upside from the downside? Thanks
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 9 лет назад
Shiqi Wang In this video I used the version 4.1 of Paraview. I the meanwhile I changed the version to 4.2. There the numbers are all on the same side. Just download the newest version and try it out. There under "edit color legend properties" you can change way more settings than in 4.1.
@shiqiwang3560
@shiqiwang3560 9 лет назад
József Nagy Got it ! Thanks very much for your information.
@foadsf
@foadsf 6 лет назад
You are awsom man. I wish you could also make tutorials for Elmer.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
Thank you! I do not know what Elmer is. Sorry.
@foadsf
@foadsf 6 лет назад
József Nagy www.csc.fi/web/elmer it is multiphysics FEM solver
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
I see. Thank you.
@AhmedAhmed-bf9kx
@AhmedAhmed-bf9kx 27 дней назад
Is it me or the refined sim took only 30 sec on my very normal laptop
@Suman-nv5hy
@Suman-nv5hy Год назад
Hi, thank you for this nice tutorial. I have one question. In the tutorial folders of the openfoam 10 which I was using the refineMeshDict file was not present inside system/ . While executing the refineMesh -overwrite command, it was searching for the refineMeshDict file. After the command, the mesh was refined I reviewed in ParaView but the solution came out a blunder, nothing as other two solutions. What could be the case? I followed all steps according to your video.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Год назад
v10 has too many syntax changes. Please use v2212 on openfoam.com to follow the tutorial.
@105even
@105even 5 лет назад
Thank you very much, this was very helpful! =)
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
I am glad.
@caleblee3423
@caleblee3423 3 года назад
See the refinement step, do we need to input the specific dimension of the mesh element? Or it will be produced automatically? Thanks in advance
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
automatically
@x.y.8707
@x.y.8707 3 года назад
Amazing tutorial. I just had a small issue with plot over line. I think I sort it out. If you try to do it, please make sure you plot on the case whose position is not translated. As there are 3 cases in Paraview opened and we translated the position at least two cases. If you generated the line on a contour which has translated, then you got nothing. Maybe you could try to add the translated coordiantes to resolve this as well.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
This is correct. The coordinates don't change.
@jacksonpitts850
@jacksonpitts850 3 месяца назад
@@OpenFOAMJozsefNagy Ohhhhh. Thanks!
@BoBbY-gj8jz
@BoBbY-gj8jz 3 года назад
are reaction other than combustion like desulferization possible in openfoam?
@henriquecoala2723
@henriquecoala2723 2 года назад
amazing
@oscar99999
@oscar99999 8 лет назад
Hi József, Would you happen to know if OpenFoam can store the residuals for each cell location? I have looked around but have not found any indication that this may be done presently. I need this in the context of mesh refinement - I have a coarse mesh that converges, while a very fine mesh does not, or at least does so much slower and the pressure residual shows oscillatory behaviour. I need to understand if this is do to the fact that the fine mesh is capturing some unsteady physics that the coarse mesh does not resolve (I'm running steady RANS) hence the convergence is hampered by this local unsteadiness. Any ideas? Thanks.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 8 лет назад
Hi Oscar. This is a good question and I am rather sure, that you are not the only one, who has this problem. Turbulence is mostly unsteady, you just assume a steady solution. I don't know of such a utility, try pisoFoam/pimpleFoam to check if your flow is unsteady. If it is, the steady solution is always questionable and on a coarser mesh, the solver might smear your results. This way it is possible to find a steady state solution. Still it will not be correct.
@sahilmahajan9018
@sahilmahajan9018 4 года назад
Thanks a lot for this wonderful tutorial. I encountered a problem while simulating for refined mesh. It shows floating point exception at time = 4.775 sec. Can you please tell me why it could have occurred and what should I change to overcome it?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
You might have to reduce the time step size in newer versions of OpenFOAM.
@Anas-ky8jb
@Anas-ky8jb 7 лет назад
hi Jozsef. nice video and very helpful. is the quad mesh same with the blockMesh ?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 лет назад
No, it is a bit different.
@cgrod4483
@cgrod4483 4 года назад
Hi, thank you for this tutorial. How can I change the preset from smooth transition to something like you used for this exercise?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
Do you mean in Paraview? This is the difference between U with the cube and U with the dot.
@mhilmangumelar4154
@mhilmangumelar4154 2 года назад
What an awesome video. Thank you Jozsef, I can learn a lot from your videos. However, I cannot find the "translation" feature in my paraview. I am using paraview 5.4.1. Can you give me a solution to this problem? Thanks
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 года назад
I think you have to hit the little gear button in the properties panel.
@mhilmangumelar4154
@mhilmangumelar4154 2 года назад
@@OpenFOAMJozsefNagy Waw, thanks for the fast response Jozsef. Thanks, Now I can find the translation feature.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 года назад
@@mhilmangumelar4154 I am glad.
@pratishshinde9309
@pratishshinde9309 3 года назад
Hello, thank you for these amazing videos. How do I get RGB colour profile in ParaView? It seems the settings are default in the one which I am using.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
There is a button for color map settings.
@Dmplivemail
@Dmplivemail 5 лет назад
I'm trying to simulate a fluid flow in a simple rectangular passage where i have a half circle appearing at the roof of the passage. The half circle has a radius as big as half the lenght of the passage. That said, i'm using icoFoam solver with a kinematic viscosity of 1. Then, the Courant number escalates very quickly, impossibilitating the simulation to end. Please, do you have any tip for that??
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
Take a look at the multiphase simulation project videos and focus on the settings in controlDict there.
@raztabraze
@raztabraze 9 лет назад
Hello. Excelent tuturial. However I have two questions. How does the refine command works? Because you decrease the timestep by a factor of 2 but in the command you didn't specify anything. There is any dict file for refine command? Can we use refine command with any kind of meshes?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 9 лет назад
+Carlos Completo refineMesh cuts all your cell through the "center", so instead of a cube you will have 8 cubes in 3D. With this your edge length is decreased by 2 and that is the reason for the factor of 2 in the time step. As far as I know this should work for all meshes.
@raulhach
@raulhach 9 лет назад
Thank you.
@adwaitborole99
@adwaitborole99 4 года назад
In the pressure vs arc length plot, by pressure you mean pressure/density...right?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
Yes, exactly. The kinematic pressure.
@sandipgewali641
@sandipgewali641 2 года назад
While performing Filters -> Data Analysis -> Plot Over Line on the "elbow_quad_refined" case, although I provided the coordinates for start and end points of line, the plot is seemingly empty. What might be the cause for that ?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 года назад
Maybe the line does not go through in the third direction?
@sandipgewali641
@sandipgewali641 2 года назад
@@OpenFOAMJozsefNagy i set z-coordinate to be 0 for both ends of the line.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 года назад
@@sandipgewali641 Then I do not know. Possibly try an older/newer version of Paraview?
@yexela
@yexela 9 лет назад
Thanks for the video! I have exactly the same version 4.1.0 of Paraview, but for some reason my parameter list on the left is much shorter! I don't have the "Transforming" section, only "Styling" and "Edge styling" -- so it's not possible to shift the elbow_tri results.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 9 лет назад
Did you click the small "gear" sign in the properties panel?
@yexela
@yexela 9 лет назад
József Nagy Thanks! I was not easy to spot in the beginning.
@gdatomic
@gdatomic 6 лет назад
i had this problem too lmao
@jihadlakouairi3661
@jihadlakouairi3661 3 года назад
hi msr Najy, How are you? I'm PhD student , i'm beginneer in openFOAM and i need help pleaaase, i simulate the equation of Nernst-Planck (icoFoam solver) but I find a problem in the last term of the equation, how well I add this term (please see the equation below) dC/dt+div.(u*C)==div.(D*gradC)-div.(mu*E*C) mu and E is constant and E is the vector.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
You have to create you own solver for this.
@gouravkumbhojkar3552
@gouravkumbhojkar3552 4 года назад
loved the tutorial..very informative, especially for beginner like me.. I followed all the things u mentioned but I'm not getting the 'Plot Over Line' correctly. The option is available under 'data analysis' as u said, but all values are 'NAN' and I couldn't figure out why.. I am using Paraview 5.8.0 Can you please suggest some soln as what might be going wrong?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
Check whether the line is actually going through your geometry.
@gouravkumbhojkar3552
@gouravkumbhojkar3552 4 года назад
@@OpenFOAMJozsefNagy thank you .. one of the point was out of the plane . now I'm able to see the plots :)
@BombermanOfComet
@BombermanOfComet 3 года назад
A well made tutorial video. Thank you fpr you work. I got a question according the vim function. I couldn't change the numbers in my vim function. There were all highlighted in a different colour and were unable to change (had to use 10 instead of 75). Can you please tell me how i can change them? I am using OpenFOAM8 currently, if it is of help
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
with "a" you can insert text.
@BombermanOfComet
@BombermanOfComet 3 года назад
@@OpenFOAMJozsefNagy I see. Thank you very much
@chrisharding
@chrisharding 6 лет назад
Hello, You did not show us how to create the quad mesh. Is it the same as a "block" mesh?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
No, this is an old mesh I had around. At this point the mesh is not important. Meshing follows in subsequent tutorials.
@zeeshanjamal8592
@zeeshanjamal8592 5 лет назад
hello sir, can you please elaborate the significance of courant number. can the courant number be greater than 1...? thankyou
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
I talk about it a bit in my multiphase simulation project.
@Dmplivemail
@Dmplivemail 6 лет назад
FOAM Warning : From function void Foam::cellCuts::setFromCellCutter(const Foam::cellLooper&, const Foam::List&) in file meshCut/cellCuts/cellCuts.C at line 2393 Found loop on cell 3200 that resulted in an unexpected bad cut. Suggestions: - Turn on the debug switch for 'cellCuts' to get geometry files that identify this cell. - Also keep in mind to check the defined reference directions, as these are most likely the origin of the problem. got it when trying to refine the quadMesh, any suggestions ?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
Yes, you get this warning in recent versions, but nevertheless it works. So you can ignore it.
@andraspetz9716
@andraspetz9716 Год назад
Hi! I downloaded the quad mesh file from the github repository and it still shows me a tri-mesh when opened in ParaView. What did I do wrong?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Год назад
Maybe you did not change the file in the command?
@andraspetz9716
@andraspetz9716 Год назад
@@OpenFOAMJozsefNagy Yeah, thank you for the fast answer! I forgot to run a command, now it works!
@subhankarmohapatra7558
@subhankarmohapatra7558 8 лет назад
Hi jozsef, Thanks for this amazing tutorial. I am facing one trouble though. The problem is when i am trying to use the plot over the line option in paraview either one of two things happens: 1) "Plot over line" option is not even available on the list or 2) "Plot over line" is greyed out and not a possible option. I can't find any explanation for this as it seems that this filter option is the most basic and all tutorials say to use it .
@enisekartal278
@enisekartal278 6 лет назад
SAME! Could you find any solution for this problem?
@dragonminglee615
@dragonminglee615 4 года назад
so do i ,have you found the solution?
@stickydamper
@stickydamper 2 года назад
In case anyone is facing this problem, make sure you have pressed the "Apply" button on the left side in Paraview.
@cdvs100
@cdvs100 4 года назад
Hi! I'm using OpenFOAM for windows and I don't know if I can use nano editor or vim in this context, is this just for linux? thanks!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
If you are using WSL, yes. If you have the cross compiled version for Windows, no.
@abduljabar49
@abduljabar49 8 лет назад
that's what she said::you got me there!! hahaha
@Dmplivemail
@Dmplivemail 5 лет назад
I'm getting a problem when trying to calculate the square root for the cells in the end. When i type the exact same thing =sqrt(C2*C2+D2*D2) at the cell, a "#VALUE!" message appears. I can't figure it out.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
Maybe a problem with comma and dot as a decimal separator?
@Dmplivemail
@Dmplivemail 5 лет назад
@@OpenFOAMJozsefNagy I`m sorry, but where`s the comma and dot. Can you give me a suggestion on how to fix this?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
@@Dmplivemail I mean you write e.g. 17,6 instead of 17.6 or vice versa
@siddharthvs1770
@siddharthvs1770 5 лет назад
What exactly did he mean by arc_length 22:23 . If the values are being recorded along a straight line(17:56), how did the even the concept of arc enter here?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
You are correct, a straight line has an arc length of a simple line. But you can have a tilted line, where you have x, y and z components of the line.
@siddharthvs1770
@siddharthvs1770 5 лет назад
@@OpenFOAMJozsefNagy pardon me but I didn't really understand what you're trying to convey
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
@@siddharthvs1770 It can be a line in 3D. You are right it is not a curved line, but always a straight one.
@shubham-yy8tj
@shubham-yy8tj 4 года назад
Where to find refined quad mesh?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
Download link in the description.
@memepepe7534
@memepepe7534 4 года назад
Hello, if i try to make a plot over line i only get a black screen in the window. I use ParaView 4.1.0 and OpenFoam 2.4.0 on Ubuntu 14.04 Help PLZ :)
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
Maybe you have an issue with you x server? Try other paraview versions maybe.
@memepepe7534
@memepepe7534 4 года назад
@@OpenFOAMJozsefNagy I installed Paraview 4.3.1 and now everything works fine. Thanks for the answer! BTW your videos are awesome.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
@@memepepe7534 I am glad.
@metinyilmaz6322
@metinyilmaz6322 4 года назад
Thank you for tutorials :) I am a new linux openfoam user. I don't have tutorials folder in my openfoam folder. How can I download it. Thank you.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
It should be there if you use the approach I suggested in my video on installation. Maybe check it out.
@samidam7328
@samidam7328 4 года назад
hey. thank you for the tutorial. It has been a great help to me. when I run the command refineMesh -overwrite I get the following FOAM Warning : From function void Foam::cellCuts::setFromCellCutter(const Foam::cellLooper&, const Foam::List&) in file meshCut/cellCuts/cellCuts.C at line 2395 Found loop on cell 3200 that resulted in an unexpected bad cut. Suggestions: - Turn on the debug switch for 'cellCuts' to get geometry files that identify this cell. - Also keep in mind to check the defined reference directions, as these are most likely the origin of the problem. can anyone tell me why I am getting this response. I am new to openfoam and coding
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
That is just a warning no error. You should be good.
@samidam7328
@samidam7328 4 года назад
@@OpenFOAMJozsefNagy Thank you😊
@coolkalpraj
@coolkalpraj 5 лет назад
During refinement Its showing Refinement dictionary refineMeshDict not found How to solve it
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
Which version of OpenFOAM do you use. It should not ask you for the dictionary if you use the command as I show you.
@coolkalpraj
@coolkalpraj 5 лет назад
Actually i have hp laptop with windows operating system in which i have installed ubantu 18.04.2 using oracle virtual box in which i am working with OpenFOAM version 18.1
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
@@coolkalpraj Do you mean v1812?
@mpradeep2691
@mpradeep2691 3 года назад
sir, do you know about hyfoam solver?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
No, it does not ring a bell.
@ssss4391
@ssss4391 5 лет назад
When I tried the refineMesh command, I got the warning: "From function void Foam::cellCuts::setFromCellCutter(const Foam::cellLooper&, const Foam::List&) in file meshCut/cellCuts/cellCuts.C at line 2434 Found loop on cell 3200 that resulted in an unexpected bad cut." Subsequently, I opened paraview and saw that near the elbow, the mesh was warped - kind of going out of plane. I'm using Openfoam-v1906 on Ubuntu 18.04. Can you please suggest why this might happen?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
These are warnings. You can ignore them for now. I tested this and the mesh looks good for me with v1906. Does the simulation run?
@ujakshisharma4141
@ujakshisharma4141 3 года назад
Sir I got the same error in openfoam8 and simulation does not runs as well.any suggestions?
@MiguelDelgadoo
@MiguelDelgadoo 2 года назад
@@ujakshisharma4141 me too
@ruizeng3076
@ruizeng3076 5 лет назад
When I read VTK date somehow the plot over line command doesnt work properly
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
Interesting. You might try with an older version of Paraview.
@pingchang5584
@pingchang5584 8 лет назад
Excellent tutorial while I have a small question. I followed your step, and my paraview version is same as yours(4.1.0 64-bit), however, I dont have "Plot Overline" in my Data Analysis list..What's going on?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 8 лет назад
+Ping Chang Hmm... I don't really know. Is it faded out or is it completely missing?
@pingchang5584
@pingchang5584 8 лет назад
It's completely misssing, but I install another version, it works now, thanks for your reply.
@qzhang7808
@qzhang7808 8 лет назад
+Ping Chang hello there, I have the same problem, could u please tell me how u solve it? and what version works?
@pingchang5584
@pingchang5584 8 лет назад
+John ZHANG maybe 4.4 I cannot remember. are you Chinese?
@qzhang7808
@qzhang7808 8 лет назад
Yes, I have tried 5.0, it works. Thanks
@mechguruji8502
@mechguruji8502 4 года назад
How you pan and zoom geometry, what are keys
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
Middle mouse button.
@mechguruji8502
@mechguruji8502 4 года назад
I am using laptop without left and right click buttom
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
@@mechguruji8502 Get a mouse ;)
@enisekartal278
@enisekartal278 6 лет назад
Can you help please? While I was trying to plot over line, I got many errors and the plot over line tool just disappeared. I could not find any solution for this problem, and everything was going alright until that step. I urgently need a suggestion from you, sir. Thank you!
@enisekartal278
@enisekartal278 6 лет назад
Update: It still is not seen in the data analysis section, however I can find plot over line by searching. But it keeps giving errors and is not plotting, hence I cannot get the graph.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
Maybe try it with a different version of paraview. Or try functions in system/controlDict.
@enisekartal278
@enisekartal278 6 лет назад
József Nagy okay sir, thank you.
@luigifumagalli5191
@luigifumagalli5191 10 лет назад
Hi mate your tutorials are great! I followed the steps about the elbow quad_refined mesh, the simulation is working properly but I'm having a different Courant number from yours: Courant Number mean: 0.039958 max: 0.304754 How is that possible?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 10 лет назад
Hmm... That's weird. And your results look like mine? What is your time step?
@luigifumagalli5191
@luigifumagalli5191 10 лет назад
József Nagy I repeated the simulation and this time it all went right!!! Probably I must have entered a wrong time step. Thanks!
@usamaniaz2981
@usamaniaz2981 5 лет назад
From where we can validate or verify the results?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
Experiments, literature.
@atulsingh-oc9xb
@atulsingh-oc9xb 6 лет назад
SIR,,, any book for openFoam??....I follow some pdf tutorial for learning but i couldn,t get knowledge ....what i do??
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
sourceflux.de/book/
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 лет назад
wiki.openfoam.com/Tutorials
@29mors
@29mors 7 лет назад
I have some problem. When I want to use refineMesh, it appears "refineMesh: command not found". Has anybody this problem?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 лет назад
Did all the other commands wirk beforehand? It seems to me, that the OpenFOAM environment was not set in nashrc.
@29mors
@29mors 7 лет назад
Command fluentMeshToFoam works. Any command from manipulation mesh doesn't work.
@29mors
@29mors 7 лет назад
I found solution. I had to compile files again. If someone wants to know how to do it - here is answer: www.cfd-online.com/Forums/openfoam-meshing-utilities/171819-checkmesh-command-not-found.html Thank you for your interest in the problem. I close the topic.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 лет назад
I am glad you could solve your problem.
@davidschouten8054
@davidschouten8054 3 года назад
:wQ does not work at 8:50
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
:wq
@SIMEONOVVASIL
@SIMEONOVVASIL 5 лет назад
what is he talking, a marsian language or what!? Are there easier ways than that code writing? do I need special training for CFD? I am interested to see some fluid flow simulation at work because I have 3D models of the pipelines and I am curious for turbulence, heat lost, pressure drop etc. But this looks very difficult, so I guess, I have to find a professional from freelance to do it.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
CFD is complex, it might be a good idea.
@dirkneethling
@dirkneethling 10 месяцев назад
Very difficult to follow, and I cannot read the cmd line input at the bottom of the screen, it is being covered by all the RU-vid garbage
@filipereginato7359
@filipereginato7359 9 месяцев назад
23:01 Hilarious Hahaahahahaha
@jednecro4939
@jednecro4939 3 года назад
@aveloxer
@aveloxer Год назад
When i try foamToVTK i get: --> FOAM FATAL IO ERROR: (openfoam-2206) size 2200 is not equal to the expected length 8800 file: 0/refinementLevel at line 19 to 2529. From Foam::Field::Field(const Foam::word&, const Foam::dictionary&, Foam::label) [with Type = double; Foam::label = int] in file /usr/src/packages/BUILD/src/OpenFOAM/lnInclude/Field.C at line 218. Does anyone has an idea what might be the reason for that?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Год назад
It seems you refined the mesh or used the one mesh to visualize the results of the second one. I think it is just a bit of a mixup.
@jerardvincentang3603
@jerardvincentang3603 3 года назад
21:42 nice
Далее
[Openfoam Tutorial 2] Lid-Driven Cavity Flow
1:57:16
Просмотров 77 тыс.
Introduction to transport equations - Part 1
24:47
Просмотров 44 тыс.
Understanding grid convergence - Part 1
30:42
Просмотров 62 тыс.
3D Gaussian Splatting! - Computerphile
17:40
Просмотров 136 тыс.
How 3 Phase Power works: why 3 phases?
14:41
Просмотров 1,1 млн
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
Просмотров 896 тыс.