Multiphase simulation project in OpenFOAM in Windows 10 and Ubuntu - tutorial part 1 - intro

  Рет қаралды 41,158

József Nagy (OpenFOAM tutorials)

József Nagy (OpenFOAM tutorials)

Күн бұрын

Пікірлер: 93
@ardacicek.
@ardacicek. 3 жыл бұрын
It's been nearly 3.5 years since you have uploaded this tutorial, and yet they are really helping us to develop ourselves. Thank you very much for your great contribution to the CFD community József.
@sparshbful
@sparshbful 4 жыл бұрын
Thank you Jozsef for all your help, your videos are the best... I was able to learn a lot and complete my Masters thesis because of these tutorials. Also the way you say Hello everyone in the beginning cheers everyone up. Thank you for everything
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 жыл бұрын
I am glad I could help.
@volkanatar4232
@volkanatar4232 4 жыл бұрын
Vielen Dank Herr Nagy. Ich finde Ihre Videos total hilfreich
@enidentictok7069
@enidentictok7069 3 жыл бұрын
Fantastic! You are Super for CFD community. I want to see more your contribution on OpenFoam.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 жыл бұрын
Check out the rest of my videos!
@euricocf5002
@euricocf5002 4 жыл бұрын
József Nagy, I must say, I'am very surprised. I, like all people, had lots of teachers, but I always thought what it would be like if I were on the other side teaching, explaining something to someone else. How would I best optimize the time of the outher person? You sir are what I what to be in terms of explaining . What a fucking great tutorial! I'am depressed and stuck in my house in Portugal with this coronavirus out there, over a week, thinking that I have to start to build my case in openFoam and I watch this peace of art. I can't wait to watch the rest of the videos. Thanks man!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 жыл бұрын
Thank you. You are very kind.
@meteor5277
@meteor5277 3 жыл бұрын
You are amazing and I'm in love with openFoam for mentors like you.. Thank you so much. Can you please make a tutorial on how to do phase change cooling in microstructure geometry? It would be a great help for me to start my final year thesis.
@ayanbanerjee9209
@ayanbanerjee9209 5 жыл бұрын
Hi Jozsef, Your videos on OpenFoam are just amazing. Helped me in a great deal. I would request you if you could make a video or series of videos on parallel computing. Like Insights or any such knowledge that you would/can share. Once again, Thanks a lot for explaining OpenFoam Tutorials.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 жыл бұрын
Thank you. Well I have video on that in my intermediate series.
@prabhuprasad1313
@prabhuprasad1313 9 ай бұрын
Respected Sir, I wanted to simulate a bubble rise case in a water column using vof method with the help of axisymmetric condition. I have a doubt regarding creating a spherical shape in a wedge type. Would you please be able to guide or suggest some resources.
@arpitkumar1836
@arpitkumar1836 5 жыл бұрын
Thanks a lot for your amazing videos, helped me a lot.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 жыл бұрын
I am glad
@sohrabaskarli5679
@sohrabaskarli5679 3 жыл бұрын
Hi everybody, I need to build CFD model for Distillation Column. Does anyone know where can I find a related case/sample so I can modify it?
@pamelacastillo6667
@pamelacastillo6667 2 жыл бұрын
Mr. Nagy, thank you for your videos. I would like to ask a question regarding the boundary conditions using the solver "interFoam". I am doing a 3D simulation of the flow of an open channel. The primary requirement is that the simulation should follow the "continuity law". For this modeling, I am using an inflow of 20.6 m3/s with a U inlet boundary condition type "variableHeightFlowRateInletVelocity" , and a U outlet boundary condition type "inletOutlet and an inletValue = uniform (0 0 0). Also, for the pressure file, I am using for the atmosphere type "totalPressure" and for the outlet type "zeroGradient". Finally, an alpha.water condition type "variableHeightFlowRate" with lowerBound and upperBound with 0 to 0.1849 respectively, where this 0.1849 represent the relationship between the total height of my inlet and the water level. My question is that the simulation is running, and looking at the hydrograph at the inlet is a constant line that represents the 20.6 m3/s, so far I think this is right, but in the outlet hydrograph, the outflow is an increasing curve which its maximum value is around 70 m3/s. So I do not know what is wrong with my model, because there is just one inlet and one outlet, so there is not any other water inflow and the flow at the outlet may be 20.6 m3/s as well as the inlet. Thank you in advance for your reply!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 жыл бұрын
An idea would be to monitor the mean value of alpha in the domain over time, also to monitor the mean and max velocity in the entire domain over time and see where you accumulate mass flux. I hope this helps.
@pamelacastillo6667
@pamelacastillo6667 2 жыл бұрын
@@OpenFOAMJozsefNagy Thank you so much for the reply. I will check that in my model :)
@divyajyotibasu3001
@divyajyotibasu3001 3 жыл бұрын
Hi, when i am trying to import my .msh mesh file in openFoam using fluentMeshToFoam, it is showing the Fatal Error : cannot find file "/home/divyajyoti/OpenFOAM/OpenFOAM-v2012/tutorials/multiphase/interPhaseChangeFoam/submarine/system/controlDict", here submarine is the name of my case file. i am stuck here for several days and unable to find a way out. Please help me out.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 жыл бұрын
Is the controlDict at the given path? Did you set up a case, where you want to import your fluent mesh?
@divyajyotibasu3001
@divyajyotibasu3001 3 жыл бұрын
@@OpenFOAMJozsefNagy Thanks for your reply. The issue was with Linux control permissions, had to run chmod 777 for every file in the case and it is working now.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 жыл бұрын
@@divyajyotibasu3001 Great. Glad it worked.
@MrRajabMrwass
@MrRajabMrwass Жыл бұрын
thank you legend
@rajasekark7257
@rajasekark7257 2 жыл бұрын
Sir when i extract the downloaded zip file it shows the file is damaged, could you please help me in this case?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 жыл бұрын
Go to GitHub directly and download it there. Don't know what happens when you right click and save. THank you for noticing!
@yem.t.3930
@yem.t.3930 4 жыл бұрын
You always make nice tutorials, thanks sir! But can you please make a tutorial on Heat Transfer, or other cases involving energy terms? Thank you again!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 жыл бұрын
Maybe in the future.
@yirenxindudu
@yirenxindudu 6 жыл бұрын
when i using paraview, i always get the error "ERROR: In /build/paraview-lH8wFv/paraview-5.4.1+dfsg3/VTK/IO/Geometry/vtkOpenFOAMReader.cxx, line 8285 vtkOpenFOAMReaderPrivate (0x561c866f39f0): Error reading line 20 of /home/joe/OpenFOAM/joe-5.x/run/Goldschmidt_mpi/0.01/lagrangian/kinematicCloud/positions: Expected punctuation token ')', found 0" could you give me some advices? thank you !
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 жыл бұрын
Linux or Windows version?
@yirenxindudu
@yirenxindudu 6 жыл бұрын
@@OpenFOAMJozsefNagy Thank you ;), in Linux Ubuntu. when i cpied the data files to windows, I also can't open it in tecplot 360 2013 A. i'm a beginner of openfoam.
@yirenxindudu
@yirenxindudu 6 жыл бұрын
@@OpenFOAMJozsefNagy i finished the tutorial of Goldschmidt in DPMFoam step by step, however, both paraview and tecplot cannot load the results.
@yirenxindudu
@yirenxindudu 6 жыл бұрын
@@OpenFOAMJozsefNagy Dear Nagy, I have a good idea, you know it is very hard for beginner to install the ligggths+cfdem+openfoam in Ubuntu, even following the tutorial step by step. If it is possible, could you please make a mirror image for an Ubuntu system with the above softwares that you have successfully installed. Thank you!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 жыл бұрын
@@yirenxindudu yes, try foamToVTK and open up the vtk files of the particles. that usually works
@gordonfreeman7775
@gordonfreeman7775 3 жыл бұрын
Amazing video very helpful!! I just have one stupid doubt, why does your WSL (linux) have the OpenFOAM symbol? I am using linux on Windows 10 as well but on my pc it shows the Linux symbol only
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 жыл бұрын
Back then I changed it manually, because I thought it looked cool. Now I have the default icon.
@gordonfreeman7775
@gordonfreeman7775 3 жыл бұрын
@@OpenFOAMJozsefNagy Ohh. Thanks👍👍👍🙌
@sakura3733
@sakura3733 7 жыл бұрын
Hi. Do you know how to treat a T-junction (Two-phase water-air) case? It is a case that generates bubbles. I'm not sure about the mathematical equations, would you please show them to me? It would be a incompressible laminar situation.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 жыл бұрын
Well this is a very specific question and I would have to invest several hours into it. I know, that there is a T-junction case on wiki.openfoam.com/Tutorials but it is not a two-phase flow. You could start from there and modify the case accordingly.
@shivamgupta9967
@shivamgupta9967 3 жыл бұрын
Hello Sir, i am novice I have one doubt. i run the simulation in OpenFoam v2012 in windows. I got the following error/msg while executing the parallel run. cma support is not available due to restrictive ptrace settings. At last, simulation was run with the command of interfoam. but at the end of simulation it was found: there were 4 folder named Processor 0 to 4, each contains all the time folder and at the end of simulation it was written [1] Done mpirun -np 4 interFoam parallel > log.interfoam [2] Done mpirun -np 4 interFoam parallel > log.interfoam [3]+ Done mpirun -np 4 interFoam parallel > log.interfoam Sir, Does it mean the simulation was run parallel? kindly help
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 жыл бұрын
I just noticed that you typed parallel. There should be a dash before it: -parallel
@shivamgupta9967
@shivamgupta9967 3 жыл бұрын
@@OpenFOAMJozsefNagy Sir, that's my typo mistake. It is written right.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 жыл бұрын
@@shivamgupta9967 Ok then the simulation was successful.
@giabritta
@giabritta 6 жыл бұрын
Hi Mr.Nagy, thank you again for your effort on sharing these tutorials. Typing "gedit filename" in the terminal, i get the following message: "bash: gedit: command not found". I tried to download gedit and install it. But it still does not work. I tried to add the "gedit.exe" in "/mingw64/bin" folder, but the following message appears: "C:/Program Files/blueCFD-Core-2017/msys64/mingw64/bin/gedit.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory". Could you please help me to unstuck this?
@giabritta
@giabritta 6 жыл бұрын
I think to have found the solution (at least it is working this way). Let me share it, hoping to be helpful. Simply, I found the gedit.exe in "~/blueCFD/OpenFOAM-5.x/bin/tools/gedit/bin/" folder, so, inside the "*.sh" files given in the tutorial, i wrote down "~/blueCFD/OpenFOAM-5.x/bin/tools/gedit.exe", instead of only "gedit". Then I even tried to copy paste the notepad++.exe (because I prefere it) in the "OpenFOAM-5.x/bin" folder, and it works too.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 жыл бұрын
I am glad, that you found the solution!
@balamuruganp4019
@balamuruganp4019 6 жыл бұрын
Thanks Nagy it's really useful l
@Jitender_Chaurasia
@Jitender_Chaurasia 6 жыл бұрын
Hi..József Nagy I want to model multiple layers of the spherical shape powder particle. Can you please help. Thanks in advance.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 жыл бұрын
I am sorry, but I do not have experience in that field.
@I_am_Rathore
@I_am_Rathore 4 жыл бұрын
Hi Jozsef...Thanks for this beautifully organized tutorial. May you also tell which terminal are you using? Is it different from the bash terminal?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 жыл бұрын
I use here bash in Ubuntu in Windows 10. This comes in the Windows Subsystem for Linux.
@I_am_Rathore
@I_am_Rathore 4 жыл бұрын
@@OpenFOAMJozsefNagy Thanks for responding. I use the same but your bash-terminal is looking different than mine and it has OpenFOAM logo and it appears so cool. What may be the reason?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 жыл бұрын
@@I_am_Rathore I see. It is the same then I just changed the icon in Windows. On my current laptop I did not change it anymore. You can change the icon just like you can do it with all icons in Windows.
@dr.ainalhoquegazi2526
@dr.ainalhoquegazi2526 6 жыл бұрын
Hello Jozsef I have watched all of your video lecture and learned a lot,thank you very much for the lecture series. I have made my own geometry and it is working good. now I want to add sediment bed at the bottom and then wave to my problem. Would you please tell me how to do that, this will be very much helpful for me....You are doing a great job Sir.Thanks
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 жыл бұрын
Maybe with twoPhaseEulerFoam?
@dr.ainalhoquegazi2526
@dr.ainalhoquegazi2526 6 жыл бұрын
thanks you very much for your quick reply sir. i will definitely try this.
@ayonpaul8581
@ayonpaul8581 8 ай бұрын
Hello there. Your videos are really nice and informatove. Can you do a simulation for a ship and predict its resistance. that would be helpfull. thank u
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 8 ай бұрын
This is a rather nieche project and I want to keep the channel as general as possible. If you need assistance I can help you on Patreon on the highest tier.
@Drsheep616
@Drsheep616 6 жыл бұрын
Hi Jozsef, thank you for some wonderful introductory videos! I a trying to simulate how air flows through a glass fiber optic cable at different temperatures. I wonder, which solver(s) would you recommend to use for such a case? Thank you.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 жыл бұрын
I uploaded a video on solver selection. Check it out!
@Drsheep616
@Drsheep616 6 жыл бұрын
Thank you!
@deeptisachan897
@deeptisachan897 7 жыл бұрын
hello jozsef just like your other tutorials this tutorial is also very informative....may i get some videos on melting or phase change phenomenon of materials???
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 жыл бұрын
Thank you. I am glad I could help. Check out my video on the tutorial collection. If I remember correctly in the collection might be something, but I am not sure.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 6 жыл бұрын
That is rather complicated ;)
@sureshraghul2715
@sureshraghul2715 5 жыл бұрын
Nagy could you plz do a tutorial on modifying the source code or solving a pde by writing a separate script
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 жыл бұрын
Maybe in the future
@sureshraghul2715
@sureshraghul2715 5 жыл бұрын
@@OpenFOAMJozsefNagy yes, it would be really helpful to learn how to define new variables of our own pde and store them and also access existing variables in a code at a particular position and time in the code itself. Would be really helpful in developing our own phase change models
@srinivasnaik8378
@srinivasnaik8378 7 жыл бұрын
dear nagy, i am able to do what you said in the videos but i want to do my case, can you help me to fix my geometry case.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 жыл бұрын
If it is something small, sure, but I cannot solve your entire problem. I get 5-10 emails every day with requests, I unfortunately don't have the time to solve all the simulation projects. You can ask a quick question, that is ok.
@srinivasnaik8378
@srinivasnaik8378 7 жыл бұрын
József Nagy I don’t want complete solution, I need help to get geometry for example under water turbine or something like pipe or ship structure etc I mean different structural geometry
@prasadvara6249
@prasadvara6249 5 жыл бұрын
Hi Sir, can you upload a tutorial related to lagrangian particle tracking if possible.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 жыл бұрын
Maybe in the future.
@salehabuhanieh3598
@salehabuhanieh3598 7 жыл бұрын
Hi again Jozsef when I am trying to copy the downloaded file, I receive the following error Syntax error near unexpected token `(' by the way, how we can copy and paste in the bash environment? thank you in advance
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 жыл бұрын
Do you mean something similar to ctrl+c and ctrl+v? For me selecting the text and right mouse button seems to work.
@salehabuhanieh3598
@salehabuhanieh3598 7 жыл бұрын
I am not able to use the mouse in the bash What about the syntax error? I wrote just the same
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 жыл бұрын
1. Copying: In my video kzbin.info/www/bejne/eKiTqYWoqa1-epI after 9:00 I show the icon, with the right click you can open the properties, there you have to go to options, maybe there you have to enable pasting. 2. Error. What was the command you entered? The bash registered a ( and it doesn't know what it means.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 жыл бұрын
Also did you try ctrl+shift+c or ctrl+shift+v for copying and pasting?
@salehabuhanieh3598
@salehabuhanieh3598 7 жыл бұрын
I used the same command you used in this video to copy the downloaded file using (cp)
@borjaarmendariz7731
@borjaarmendariz7731 7 жыл бұрын
Hi. I would like to do this tutorial, but the link has expired. Can you re-upload it, please? Thanks
@borjaarmendariz7731
@borjaarmendariz7731 7 жыл бұрын
It has been my error. The links are ok. Thanks
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 жыл бұрын
Ok.
@PCLAU-xy4by
@PCLAU-xy4by 7 жыл бұрын
Hi József, thx for sharing the step-by-step video & i hv learnt a great deal from you!! I hv tried this tutorial of yours. Out of curiosity, i modified it to become a water filling up a tank problem by the following 3-steps: 1> invert the gravity effect direction 2> U at '0' for Outlet to "noSlip;" (as pipe & tank) 3> p_rgh at '0' for Outlet to "fixedFluxPressure;" (as pipe & tank) OpenFOAM refused to run, saying "FOAM FATAL IO ERROR". When i used back your original case with only 2-steps above 1> & 2>, it seems that the water is flowing out of 'Outlet'. Can u pls advise what should the p_rgh be for Outlet be in order that my above 3-steps can work? Hope to hear from you soon... Million thanks!!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 жыл бұрын
Well, since interFoam is an incompressible solver you need somewhere an outlet otherwise you would compress the fluid and this is not in the model. Try placing an outlet somewhere. Maybe even modify the stl files a bit.
@PCLAU-xy4by
@PCLAU-xy4by 7 жыл бұрын
Ok, i will try that, Jozsef. Thx a lot!
@PCLAU-xy4by
@PCLAU-xy4by 7 жыл бұрын
Hi József, I have made the changes as you suggested. I have some questions on the results and have made into a pdf file & forwarded to your email & hope you kindly shine some light... Thx in advance ya!
@ijazfazilsyedahmedkabir5100
@ijazfazilsyedahmedkabir5100 7 жыл бұрын
good enough
2 Phase Simulation in OpenFoam using interFoam
17:55
Rose Walker
Рет қаралды 8 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Multiphase simulation project in OpenFOAM in Windows 10 and Ubuntu - tutorial part 3 - simulation
26:48
What the h*ll is OpenFOAM? Explained with a PIZZA!
14:38
József Nagy (OpenFOAM tutorials)
Рет қаралды 15 М.
Basics of Porous Media Simulation in OpenFOAM
14:08
OpenFOAM CFD
Рет қаралды 772
How to install OpenFOAM and run a simulation in Windows 10
24:30
Yogzz Studio
Рет қаралды 3,8 М.
Basics of Methodology, solver and test case (interFoam)
24:34
advance cfd with Pratyush
Рет қаралды 1 М.
[CFD] Eulerian Multi-Phase Modelling
24:48
Fluid Mechanics 101
Рет қаралды 80 М.
OpenFOAM Tutorial | DamBreak | How to change setField
17:44
Leisure Hours
Рет қаралды 770
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН