Dear József, sincere thanks for sharing this video with us! I'm very excited about learning OpenFoam and your videos are awesome, best regards from Brazil!
Thank you very much for the amazing tutorial videos!! I just wanted to know how do we interpret the alpha values between 0 and 1. If the alpha value is say 0.05 at a location, does it mean that there is mist present there? As in is the simulation predicting there are small liquid droplets in the vapor at that location? Or do we interpret it as approximately 0 hence fully vapor?
@@OpenFOAMJozsefNagy Thank you for your response!! Which method would you recommend if one is interested in knowing how much liquid is carried over/entrained in the gas phase in form of mist or droplets?
thank you sir for this very useful tutorial .. i faced a problem that i couldnt get the different density of the water column and it is zero over the entire domain and i executed setFields line!!
Hi. Thanks for your video. It is very useful. Just one question: Can you please explain the difference between p and p_rgh, and how are both related and calculated?
@@OpenFOAMJozsefNagy Hi. Thanks. So I should be able to obtain the pressure as P = rho * (g*h + 0.5*u^2) ? I ask since I tried this already with post-processed data and the results were not the same.
Dear Jozsef Greetings, Thanks for your interesting videos. I need to model a collision between a solid particle and a falling droplet. Based on existing experimental results after collision, particle start penetrating into droplet and create a very thin liquid film in shape of a hallow truncated cone around particle which is called lamella (whole the collision and lamella formation happens very fast ~ 1 ms) My alternative softwares for simulation are Fluent, OpenFoam, Comsol and Gerris. I'd like to get a piece of advice from you to know which of these softwares is more suitable for simulating this phenomenon (i.e. is able to predict lamella formation and its geometry more accurately) Here is some complementary information: - Droplet diameter is 2.8 mm and particle diameter is 2.0 mm - Droplet is falling by gravity and its velocity at collision is 0.8 m/s - Particle is moving horizontally with 8.0 m/s - Drop is water and particle density is 1050 kg/m3 I'm looking forward to hearing your helpful comments. Many thanks,
Sayed Hossein Banitabaei I have no experience whatsoever with Comsol or Gerris. I guess OpenFOAM and Fluent are rather similar, you will need VOF for your case. You will need a dynamic mesh refinement (available in OpenFOAM). Just try the damn break tutorial with mesh refinement and modify it to your needs. I guess your simulation will run for a while.
Dear József, Thanks for your reply. Since I do not have any experience for using "dynamic mesh refinement", would you please let me know at least one tutorial in each of the following subjects that can help me more in modeling droplet-particle collision: - VOF - Dynamic mesh refinement Your advice is really helpful and appreciated. My email address is: h.banitabaei@gmail.com in case you can send any helpful document.
Sayed Hossein Banitabaei Check out the tutorials in OpenFOAM/OpenFOAM-2.3.0/tutorials/multiphase/interDyMFoam. If you are using another version than your path will be of course different to the tutorials. Take a look at constant/dynamicMeshDict within the cases. The magic happens there.
After running the setFields utility, nano/gedit can't open the 0/alpha.water file. Despite that, I can see the water column in paraview. Still, why can not the nano/gedit read the 0/alpha.water file ?? It can't display the list of values of alphas for various cells. Instead the list seems cryptic with just "@" signs over there. The rest of the boundary conditions stay the same.
Hi I'm trying to solve two phase flow case. Case description: A horizontal pipe filled with water. From upstream end of the pipe say at a certain distance there is air tank supplying air into the horizontal pipe. I want to introduce the air with specific constant pressure and some desired volume. I want to push all the air from my tank into the horizontal pipe so that I can later quantify my results accurately (knowing exact volume used in different case files). The problem is to simulate this case i was trying to introduce a tank geometry on above horizontal pipe which was connected to air tank with one small vertical pipe. But as air has low density all air is not entering into the horizontal pipe (some on the top portion on tank, though air pressure is high initially). So Later I changed ma geometry and made tank below horizontal pipe. This allows complete air to get into the horizontal channel but now water is entering into the air tank and hence I'm not utilizing initial water volume used in the simulatiopn which is later very important for quantification of results. Is there any boundary condition I can use which just allow specific volume of air (time controlled air inlet) so that after certain volume or time that boundary not supplying any air into the horizontal pipe, something like this? Please let me know whats are the possible solutions.
Kind of a general question here, but is there a way to run interFoam until it reaches steady state and then run setFields again? I'll happily donate if you have a technique (I have before and will again).
Dear Josh, do you mean automatically or manually? Manually you can use a function object, which monitors the mean value of alpha in the volume and once you see, that the value is constant, you can stop the simulation and execute setFields. For the automatic version some kind of script or app could do the same, but this wold have to be set up.
@@OpenFOAMJozsefNagy This is what I tried but no luck. My controlDict specifies to startFrom latestTime. Then my setFieldsDict only specifies regions, which I make a different phase and a given value. So I begin the simulation as normal, stop it at some time, execute setFields with a different value than what was initialized, then execute interFoam. The simulation continues from the previous time but no change is made to the liquid/gas field. I'm using OF6
@@OpenFOAMJozsefNagy A new case with 0? You mean recomposePar and then rename the latest time folder 0? I did get it working with funkySetFields tho, which is nice!
I have a problem in loading alpha.water values in paraview. I am seeing only 0 assigned to all points(including the box). But inside the file i see that 1 being assigned to points in the box and 0 to remaining points outside the box. I tried twice with setfields but it didnt work. Am I doing something wrong?
How to calculate the void fraction for a pipe flow over time? Basically I want to plot "Time Vs. Void fraction" for a pipe carrying bubbly flow. I'm focusing on one particular section and want to determine void fraction in that section and how it changes over the time as bubbly flow is passing through it.
Hi, I have a short and probably quite simple question about the presentation of the results of interFoam in Paraview. So there are two phases, air and water. To view only the water in Paraview, I use the clip function in conjunction with scalar and set the alpha value to 0.5. What I haven't quite understood yet is what this value stands for? Does this mean that all cells containing at least 50% water are displayed? In simulations with a finer grid, areas were also displayed in which there was no water according to the coarser grid. Or is this a clear indication that my grid is too coarse?
This is a drawback of the VOF method. Your questions are valid and usually there should be only one cell with 0.5 representing the surface, however due to numerics it is possible to have a smeared out surface. This is unphysical of course. You really have to make a compromise between resolution and run-time. This is also true for all commercial codes, this is not an OpenFOAM specific problem.
Hello. I am new at Open Foam. I tried to run this system and i did all of your steps, but I dont know why the alpha is zero at all time steps. I would appreciate your help in this problem.
Dear sir, how to calculate impact velocity of water droplet impacting on solid surface in Ansys fluent and what is range value of that droplet velocity?
after executing setFields command it is showing FOAM warning and no list of alpha values is appearing as you have shown in this video. What might the problem? Can you please explain? I have followed this tutorial of yours step by step.
Hi Jozsef, great video! I encountered a problem when executing setFields: it says that 'Field alpha.water is not found.' but i followed the steps correctly. Could i get some help?
Hello I am tried to simulate two phase stratified (air-water) flow using VOF model with ANSYS FLUENT are you familiar with VOF model in ANSYS FLUENT code?
I can do most of the video. but in final stage, after coding foam.foam. I cannot open foam.foam in paraview. Please let me know. Thank you for your support
where did you collect the interFoam information that you show here from? I mean, is there an article or some official paper that explains in detail how interFoam works? or maybe some description of OpenFOAM about interFoam?
Thank you for your work on this...very helpful. When I try to view the scalar contour, it only shows values of 0. I finally figured out that Paraview was reading alpha.water .org instead of alpha.water. As a fix, I just put the .org file somewhere else. Is there a way to tell Paraview to just use the non-.org file in the future?
If I understand your question correctly, paraview automatically selects alpha.water.org and you delete it, so it selects alpha.water instead. If you click Contour in Paraview, you will find under Properties "Contour By" and there you can select all your scalarFields.
Yes, once alpha.water.org is removed from the 0 folder, Paraview picks up alpha.water just fine. It seemed like when you went through, both alpha.water and alpha.water.org were both in the 0 folder, and Paraview picked up alpha.water instead of alpha.water.org. Do you know why it did that in your case?
József Nagy If alpha.water and alpha.water.org are in the 0 folder, when I open foam.foam in Paraview all I see are values of 0 for the domain. If I then click on Contour, see that Contour By: alpha.water (and the Value Range shows only 0), and then click on Apply, the domain disappears from the graphics window. If I click on the eye icon next to foam.foam in the tree, the domain shows again. When I then click on Contour1 underneath it, I don't see any changes.
Mike Foster Well that's odd. I'm sorry, but It's difficult to solve the problem over youtube. Send me a screenshot to the mail adress, that you find in my about section!
Dear József, I just followed every step of your video, and now at opening paraview the "Cell Arrays" are empty. It means, that the before given settings (0, constant etc.) are not used, right? What did I do wrong? - I cannot change the parameters on the top -
Ok everybody, please make sure to run the solver properly before asking! I did not run the solver and I paniced.. It is working now properly, making the 3rd denser mesh. Thank you József!
I have never done it before. I would look for the geometry, mesh it, start with a steady state simulation and if transient effects are needed, use those results as iitial condition for the transient simulations.
Hello, I would like to learn more about multi phase simulation in oopenFoam and about heat transfer simulations.Can you please help me.Any type of help will be appreciated.Thank You P.S. your tutorials are awesome.I learnt the basics of OpenFoam from your tutorials :)
Souresh Pal I am not sure how I can help. Watch the tutorials and modify them to your actual case. Otherwise you can google it. CFD Online is also a good starting point.
ok Thank You..By the way is it essential that my C++ knowledge should be very good? I know the basics of C.But it was never my strong point.But the CFD codes of openFOAM I understand them very well the ones you have explained in your tutorials.So please Advise...
I have no experience with comsol. But maybe give it a try in OpenFOAM. Here is a video, how to install it in Windows 10 : ua-cam.com/video/xj0dB_PsElg/v-deo.html
dear Jozsef, can you teach me about blockMeshDick position x y z in dambreak case? My proffesor give me task for change the dimension of dambreak case, and i dont know about dambreak using scale (convert to meters 0,146). can you make that tutorial video in your youtube? hehehehe, Thank you very much!
what i should say.. hahaha, i'm sorry. blockMeshdict.. That's file give our information about dimension of that case. in this case, we get a square result. for instance that position in blockMeshDict give : vertices (0 0 0) (1 0 0) (1 1 0) .... and, my proffesor told me to change that position until look rectangular. do you know about that? Thank you Jozsef.
Dear József, sincere thanks for sharing this video with us! I'm very excited about learning OpenFoam and your videos are awesome, best regards from Brazil!
I am glad. Check out my channel, there are a lot more!
Bien Jozsef, felicitaciones y gracias. Un saludo desde Perú.
Yes sir yes. Magical water column.
I really like your videos. 👌🏻👍🏻😄
Thank you very much for the amazing tutorial videos!!
I just wanted to know how do we interpret the alpha values between 0 and 1. If the alpha value is say 0.05 at a location, does it mean that there is mist present there? As in is the simulation predicting there are small liquid droplets in the vapor at that location? Or do we interpret it as approximately 0 hence fully vapor?
It is a numerical value. Has nothing to do with reality. This is why the number of these cells should be kept to a minimum.
@@OpenFOAMJozsefNagy Thank you for your response!! Which method would you recommend if one is interested in knowing how much liquid is carried over/entrained in the gas phase in form of mist or droplets?
Thank you very much for the descriptive tutorial. Could you please let us know how to change/ generate Alpha.water file.
I don't understand. Do you mean in which editor? In which way?
Thank you very much for the descriptive tutorial. Could you please let us know how to change from Newtonian to non-Newtonian?
Change the entry from Newtonian to e.g. powerLaw and specify the coefficients.
thank you sir for this very useful tutorial .. i faced a problem that i couldnt get the different density of the water column and it is zero over the entire domain and i executed setFields line!!
Try and delete the orig file or move it out of 0
Thank you very much for such a detailed tutorial!
Good work Man...
I need to design Pipeline inspection Gauge for my final year - am i in the right track ?
Do you need multiphase models? If yes, than yes.
Hi sir. What is the 2S means in momentum equation?
Stress tensor. The factor 2 depends on the definition
Hi. Thanks for your video. It is very useful. Just one question: Can you please explain the difference between p and p_rgh, and how are both related and calculated?
p is the sum of p_rgh and the rho*g*h. So p_rgh is only the dynamic part of the pressure.
@@OpenFOAMJozsefNagy Hi. Thanks. So I should be able to obtain the pressure as P = rho * (g*h + 0.5*u^2) ? I ask since I tried this already with post-processed data and the results were not the same.
József, thank you very much too...
Dear Jozsef
Greetings,
Thanks for your interesting videos.
I need to model a collision between a solid particle and a falling droplet. Based on existing experimental results after collision, particle start penetrating into droplet and create a very thin liquid film in shape of a hallow truncated cone around particle which is called lamella (whole the collision and lamella formation happens very fast ~ 1 ms)
My alternative softwares for simulation are Fluent, OpenFoam, Comsol and Gerris. I'd like to get a piece of advice from you to know which of these softwares is more suitable for simulating this phenomenon (i.e. is able to predict lamella formation and its geometry more accurately)
Here is some complementary information:
- Droplet diameter is 2.8 mm and particle diameter is 2.0 mm
- Droplet is falling by gravity and its velocity at collision is 0.8 m/s
- Particle is moving horizontally with 8.0 m/s
- Drop is water and particle density is 1050 kg/m3
I'm looking forward to hearing your helpful comments.
Many thanks,
Sayed Hossein Banitabaei I have no experience whatsoever with Comsol or Gerris. I guess OpenFOAM and Fluent are rather similar, you will need VOF for your case. You will need a dynamic mesh refinement (available in OpenFOAM). Just try the damn break tutorial with mesh refinement and modify it to your needs. I guess your simulation will run for a while.
Dear József,
Thanks for your reply.
Since I do not have any experience for using
"dynamic mesh refinement", would you please let me know at least one tutorial in each of the following subjects that can help me more in modeling droplet-particle collision:
- VOF
- Dynamic mesh refinement
Your advice is really helpful and appreciated. My email address is: h.banitabaei@gmail.com
in case you can send any helpful document.
Sayed Hossein Banitabaei Check out the tutorials in OpenFOAM/OpenFOAM-2.3.0/tutorials/multiphase/interDyMFoam. If you are using another version than your path will be of course different to the tutorials. Take a look at constant/dynamicMeshDict within the cases. The magic happens there.
After running the setFields utility, nano/gedit can't open the 0/alpha.water file. Despite that, I can see the water column in paraview. Still, why can not the nano/gedit read the 0/alpha.water file ?? It can't display the list of values of alphas for various cells. Instead the list seems cryptic with just "@" signs over there. The rest of the boundary conditions stay the same.
Try it with vim in the terminal
Hi I'm trying to solve two phase flow case.
Case description: A horizontal pipe filled with water. From upstream end of the pipe say at a certain distance there is air tank supplying air into the horizontal pipe. I want to introduce the air with specific constant pressure and some desired volume. I want to push all the air from my tank into the horizontal pipe so that I can later quantify my results accurately (knowing exact volume used in different case files). The problem is to simulate this case i was trying to introduce a tank geometry on above horizontal pipe which was connected to air tank with one small vertical pipe. But as air has low density all air is not entering into the horizontal pipe (some on the top portion on tank, though air pressure is high initially). So Later I changed ma geometry and made tank below horizontal pipe. This allows complete air to get into the horizontal channel but now water is entering into the air tank and hence I'm not utilizing initial water volume used in the simulatiopn which is later very important for quantification of results.
Is there any boundary condition I can use which just allow specific volume of air (time controlled air inlet) so that after certain volume or time that boundary not supplying any air into the horizontal pipe, something like this?
Please let me know whats are the possible solutions.
Did you try the uniformFixedValue BC? There you can specify a csv file with time dependent data.
Kind of a general question here, but is there a way to run interFoam until it reaches steady state and then run setFields again? I'll happily donate if you have a technique (I have before and will again).
Dear Josh, do you mean automatically or manually? Manually you can use a function object, which monitors the mean value of alpha in the volume and once you see, that the value is constant, you can stop the simulation and execute setFields. For the automatic version some kind of script or app could do the same, but this wold have to be set up.
@@OpenFOAMJozsefNagy This is what I tried but no luck. My controlDict specifies to startFrom latestTime. Then my setFieldsDict only specifies regions, which I make a different phase and a given value. So I begin the simulation as normal, stop it at some time, execute setFields with a different value than what was initialized, then execute interFoam. The simulation continues from the previous time but no change is made to the liquid/gas field. I'm using OF6
@@joshmccraney4020 I think possibly if you start a new case with 0 then it should work.
@@OpenFOAMJozsefNagy A new case with 0? You mean recomposePar and then rename the latest time folder 0? I did get it working with funkySetFields tho, which is nice!
I have a problem in loading alpha.water values in paraview. I am seeing only 0 assigned to all points(including the box). But inside the file i see that 1 being assigned to points in the box and 0 to remaining points outside the box. I tried twice with setfields but it didnt work. Am I doing something wrong?
Paraview is confused by your orig file. Move it out of 0 and you will see alpha.
How to calculate the void fraction for a pipe flow over time? Basically I want to plot "Time Vs. Void fraction" for a pipe carrying bubbly flow. I'm focusing on one particular section and want to determine void fraction in that section and how it changes over the time as bubbly flow is passing through it.
See my other response.
Hi,
I have a short and probably quite simple question about the presentation of the results of interFoam in Paraview.
So there are two phases, air and water. To view only the water in Paraview, I use the clip function in conjunction with scalar and set the alpha value to 0.5. What I haven't quite understood yet is what this value stands for? Does this mean that all cells containing at least 50% water are displayed?
In simulations with a finer grid, areas were also displayed in which there was no water according to the coarser grid.
Or is this a clear indication that my grid is too coarse?
This is a drawback of the VOF method. Your questions are valid and usually there should be only one cell with 0.5 representing the surface, however due to numerics it is possible to have a smeared out surface. This is unphysical of course. You really have to make a compromise between resolution and run-time. This is also true for all commercial codes, this is not an OpenFOAM specific problem.
Hello.
I am new at Open Foam.
I tried to run this system and i did all of your steps, but I dont know why the alpha is zero at all time steps.
I would appreciate your help in this problem.
Difficult to say without the case.
to summarize this tutorial: "we dont talk about this"
In the final VOF equation, what is u_r? What velocity is being referenced here?
This is the velocity, which is used for interface compression. Details can be found in the phd thesis of Henrik Rusche.
u_r is the relative velocity betwen the two phases.
u_r = u_liquid - u_gas
Dear sir, how to calculate impact velocity of water droplet impacting on solid surface in Ansys fluent and what is range value of that droplet velocity?
after executing setFields command it is showing FOAM warning and no list of alpha values is appearing as you have shown in this video. What might the problem? Can you please explain? I have followed this tutorial of yours step by step.
Which version of OF do you use and what is the output?
Hi Jozsef, great video! I encountered a problem when executing setFields: it says that 'Field alpha.water is not found.' but i followed the steps correctly. Could i get some help?
Maybe rename 0.org to 0
Hello! Nice video! I have completed a simulation where i get alpha vs time. How can I get volume vs time?
Use the integrate variables filter.
@@OpenFOAMJozsefNagy Thanks a lot! One more question. Can you explain the reason why the integration of alpha gives the volume?
@@ΝάσοςΜπαλαχτσής Because the function calculates the volume integral of the cells filled by alpha.
What is the procedure to calculate that impact velocity of droplet in numerical method?
You can start with the velocity field and the alpha field.
Hello I am tried to simulate two phase stratified (air-water) flow using VOF model with ANSYS FLUENT are you familiar with VOF model in ANSYS FLUENT code?
No, I'm sorry, I am not familiar. I guess it will be simliar to that of OpneFOAM, but I cannot guarantee it.
I can do most of the video. but in final stage, after coding foam.foam. I cannot open foam.foam in paraview. Please let me know. Thank you for your support
It is just a simple text file with the ending ".foam" . Nothing special.
Awesome videoes sir.....!!.
Can u also do particle tracking in OpenFOAM?
thanks
That is unfortunately one of the few topics I am not so familiar with. Sorry.
sir , can we use this model to simulate gas-solid flow (two phase)??
No, not solid. There are the lagrangian solvers for that.
where did you collect the interFoam information that you show here from? I mean, is there an article or some official paper that explains in detail how interFoam works? or maybe some description of OpenFOAM about interFoam?
Mostly the source code, but the PhD of Henrik Rusche is also very helpful.
Thanks!
what's the difference between 0.orig and 0 , thanks
.orig is just a backup folder and is igrnored by the solver.
Thank you for your work on this...very helpful. When I try to view the scalar contour, it only shows values of 0. I finally figured out that Paraview was reading alpha.water .org instead of alpha.water. As a fix, I just put the .org file somewhere else. Is there a way to tell Paraview to just use the non-.org file in the future?
If I understand your question correctly, paraview automatically selects alpha.water.org and you delete it, so it selects alpha.water instead. If you click Contour in Paraview, you will find under Properties "Contour By" and there you can select all your scalarFields.
Yes, once alpha.water.org is removed from the 0 folder, Paraview picks up alpha.water just fine. It seemed like when you went through, both alpha.water and alpha.water.org were both in the 0 folder, and Paraview picked up alpha.water instead of alpha.water.org. Do you know why it did that in your case?
Mike Foster
As I mentioned, did you try and select alpha.water?
József Nagy If alpha.water and alpha.water.org are in the 0 folder, when I open foam.foam in Paraview all I see are values of 0 for the domain. If I then click on Contour, see that Contour By: alpha.water (and the Value Range shows only 0), and then click on Apply, the domain disappears from the graphics window. If I click on the eye icon next to foam.foam in the tree, the domain shows again. When I then click on Contour1 underneath it, I don't see any changes.
Mike Foster
Well that's odd. I'm sorry, but It's difficult to solve the problem over youtube. Send me a screenshot to the mail adress, that you find in my about section!
Thank you very much Sir.
what is the Governing Equations of VOF model?
An advection equation with a surface compression term.
Can you help me please to simulate bubble column?
Did you check out my multiphase simulation project playlist?
Dear József, I just followed every step of your video, and now at opening paraview the "Cell Arrays" are empty. It means, that the before given settings (0, constant etc.) are not used, right? What did I do wrong? - I cannot change the parameters on the top -
Ok everybody, please make sure to run the solver properly before asking! I did not run the solver and I paniced.. It is working now properly, making the 3rd denser mesh. Thank you József!
@@markcsete1570 I am glad it works!
Jozsef, how do you simmulate a wind tunnel?
I have never done it before. I would look for the geometry, mesh it, start with a steady state simulation and if transient effects are needed, use those results as iitial condition for the transient simulations.
Yes I would need a multiphase simulation as I want to determine the amount of condensation in the model test area
Wow, that is even more challenging. Start simple by replacing my stl files with yours and progress from there.
Hi Jozsef, amazing tutorial! Request you to create one on cavitation in a submerged bluff body in openFOAM. Regards!
thank you very for uploading this video. Can you upload pool boiling model video with three phase because i was struggle with last 3 months plz help
Hello, I would like to learn more about multi phase simulation in oopenFoam and about heat transfer simulations.Can you please help me.Any type of help will be appreciated.Thank You
P.S. your tutorials are awesome.I learnt the basics of OpenFoam from your tutorials :)
Souresh Pal I am not sure how I can help. Watch the tutorials and modify them to your actual case. Otherwise you can google it. CFD Online is also a good starting point.
ok Thank You..By the way is it essential that my C++ knowledge should be very good? I know the basics of C.But it was never my strong point.But the CFD codes of openFOAM I understand them very well the ones you have explained in your tutorials.So please Advise...
No it's not essential. Only if you want to modify the models
hello...please sir discuss about bubble column simulation of multiphase modelling useing openFoam in your next video
I will post a video on more tutorials (also on updates of my tutorials) in the next couple of weeks, please stay tuned!
the command "nano blockMeshDict" isn't working for me !
try to install it. Or use another text editor.
why alpha.water and not alpha.air ? what changes in fvsolution if i call it oil instead of water ?
the answer is exactly in ua-cam.com/video/7w2kdxFAq7k/v-deo.html&list=PLcOe4WUSsMkF93STOampeX-U8hhgbFRbm&index=4 ...
You define it in constant/transportProperties. The first entry counts. You can change it though. YOu have to be consistent.
Hello Sir :)
I created the dummy file to open in paraview but unfortunately i am getting error that file cannot be open :(
Which version of Paraview do you use?
4.4.0
I'm sorry, but I have no idea. Try maybe another version.
What does the prompt read?
Hi would it be possible to do this with oil and water? I
Sure. Only oil is easy, just change the material properties in transportProperties. However, there is also a solver for multiple fluids in OpenFOAM.
József Nagy Thank you for getting back to me! Have a good day :)
I am glad to have helped!
If you know the interfacial tension bewteen oil and water you can give it a go, sure.
How can I do the same with comsol ?
I have no experience with comsol. But maybe give it a try in OpenFOAM. Here is a video, how to install it in Windows 10 :
ua-cam.com/video/xj0dB_PsElg/v-deo.html
dear Jozsef,
can you teach me about blockMeshDick position x y z in dambreak case?
My proffesor give me task for change the dimension of dambreak case, and i dont know about dambreak using scale (convert to meters 0,146). can you make that tutorial video in your youtube? hehehehe,
Thank you very much!
blockMeshDick? :D Which position do you want to change?
what i should say.. hahaha, i'm sorry.
blockMeshdict..
That's file give our information about dimension of that case. in this case, we get a square result.
for instance that position in blockMeshDict give :
vertices
(0 0 0)
(1 0 0)
(1 1 0)
....
and, my proffesor told me to change that position until look rectangular. do you know about that?
Thank you Jozsef.
i want to change dimension in after water coloumn, because, hopefully, i will get rectangular result..
You mean the obstacle?
Without the obstacle?
Here is a movie of this simulation at 1/6th real-time speed on the refined mesh.
damBreak_refined: ua-cam.com/video/a9lFCGLn4Eg/v-deo.html
Pp