|
[Sponsors] |
My solution won't converge and my outlet is blocked |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2023, 11:59 |
My solution won't converge and my outlet is blocked
|
#1 |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
Hello all,
I am working on a problem that simulates a new water tunnel my lab is going to build. It will have the capability of the test section being fully enclosed and open to atmosphere. The part that I am struggling with is the simulation that has the open test section. When I set up the problem, I have always set the outlet as an Outlet in the setup. The solver gives me an error that the outlet is 100% blocked for air and water. I then set it as an opening and now my solution won't converge. I have attached images of everything, feel free to ask more questions if need be. I hope you all can help me Screenshot 2023-09-07 093254.jpg Screenshot 2023-09-07 091802.jpg Screenshot 2023-09-07 093317.png Last edited by joey-mastlab; September 7, 2023 at 19:57. |
|
September 7, 2023, 19:28 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
Your attachments were not uploaded correctly. This FAQ might help: https://www.cfd-online.com/Wiki/Ansy...n_the_forum.3F
Before we go into you model, what are you trying to do here? Do you want the free surface detail? Or can we simplify it and just use a pressure boundary for the free surface? If we simplify it that will make this a single phase model and much simpler. What are you trying to get out of this simulation? How even the flow is in the test section? The load on the pumps? What the free surface does? Or something else?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
September 7, 2023, 19:55 |
|
#3 | |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
Quote:
I'll work on updating the attachments also. |
||
September 7, 2023, 20:29 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
OK, thanks. That will be a bit tricky as you have a wide range of length scale (from metres in the geometry to mm in the bubbles being pulled down into the pump).
I would recommend: 1) Extending your air riser higher so the water level never gets near it. The boundary condition is much simpler if it only a single phase. 2) This model will have to be a multiphase model to capture those effects. You will need a free surface model. 3) I am not sure whether you want a homogeneous or inhomogenous free surface model. Homogeneous would mean your explicitly model all bubbles and that would be challenging due to the size range, so I think an inhomogeneous model would be better as that can use a bubble model for the small bubbles but still model the free surface. 4) I am pretty sure you do not want surface tension for this. It will make it much more difficult if you use it. Please upload your output file.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
September 8, 2023, 12:04 |
|
#5 |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
I do know this is a tricky simulation. I don't exactly want to model the bubbles per say, I'm more interested in the volume fraction of air that will be pulled into the pump (outlet). Surface tension doesn't matter in this simulation.
My current results file doesnt look like the image I attached, ive been trying to make changes to get a proper simulation. I added a hydrostatic pressure boundary condition on the outlet (it used to be 0 Pa but now I accounted for the hydrostatic pressure). I cannot attach my results file cause its too large apparently. Do you know how I can do this? Also I would like to thank you now for helping me. My advisor and I have been stuck on this problem for quite some time. |
|
September 8, 2023, 19:58 |
|
#6 | |||||
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
||||||
September 11, 2023, 11:40 |
|
#7 |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
I hope you had a good weekend.
I guess I do need to model the bubbles then, I've been mainly working with single phase simulations and mainly looking at streamlines and shear stress, which from what I can see don't inherently show bubbles. The reason why I set a hydrostatic pressure boundary is because I previously was setting the outlet pressure as 0 Pa but it wouldn't make sense to have the outlet at 0Pa (which the outlet is going into a pump) and the test section at 0Pa. I thought that may be causing some of the issues I'm having. I've attached the output file(sorry about that, I thought you meant the results file). Fluid Flow CFX_008.txt |
|
September 11, 2023, 21:48 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
I see you are already using an inhomogeneous multiphase model. I suspect this is the most appropriate model, but it will depend on exactly what you are modelling.
You definitely need to make your riser higher and put an opening pressure boundary on it. It should be high enough that water never hits it, it should only ever see air. You may need a surface tension model depending on exactly how air is brought to the pump. This is a detail you can probably look at later.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
September 12, 2023, 11:19 |
|
#9 |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
I have made my riser significantly larger, hopefully this will prevent fluid from touching the port. The pressure boundary condition I applied is 0 atm as I previously have. I have also applied a hydrostatic boundary condition of 0.464 atm on the outlet.
The reference density I am using is 997 kgm^3 (water) and the reference pressure is 1 atm. Is this correct for this type of simulation? In regards to air being brought into the pump, I want to eliminate that as much as possibly, ideally no air would be brought into the pump. I'm running the simulation now so I will make a reply when it finishes |
|
September 12, 2023, 23:21 |
|
#10 |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
My simulation is done and I have uploaded some images and the output file.
Screenshot 2023-09-12 201932.png Screenshot 2023-09-12 202222.jpg Fluid Flow CFX_001.txt |
|
September 13, 2023, 00:38 |
|
#11 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
Quote:
As for your recent results, it did not converge very well and the streamlines show something is not working correctly. The flow is not going around your circuit at all. I would recommend: * Doing a first pass of this with some gross simplifications. Do a single phase water model with the open section at the test section and port blocked off with a wall. Make sure that the inlet and outlets are doing what you expect and the flow looks reasonable. * Once that is working then do a homogeneous multiphase model (so no bubble model). This is the next level up in complexity (it is a big step up, however) as there are many new issues to sort out. Have a look at the free surface and see what it is doing - if it does not appear to be entrapping bubbles then this model could be your final result. * Once a homogeneous model is working correctly and you have shown that it is entrapping bubbles then modify it to a inhomogeneous model. I think you will find gradually adding the complexity will help in debugging this run.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
||
September 13, 2023, 11:23 |
|
#12 |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
From section 7.6, "For a flow containing a continuous phase and a dilute dispersed phase, you should set the buoyancy reference density to that of the continuous phase." I believe water in my case would be the continuous fluid, air can get trapped in the water so I believe that does make it my dispersed model.
Im going to run that simplified simulation now with the port blocked off. I will report back with the results. |
|
September 13, 2023, 19:17 |
|
#13 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
Quote:
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
||
September 13, 2023, 23:51 |
|
#14 |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
Here are some images and the output file from my most recent simulation where I placed a wall boundary over the port and left the test section open. It looks very similar to the previous simulation. I am running one now with a wall placed over the test section, this will hopefully look more like it did when I first started this project as this is very similar to how I started.
Screenshot 2023-09-13 211206.png Screenshot 2023-09-13 211245.jpg Fluid Flow CFX_001.txt |
|
September 14, 2023, 00:58 |
|
#15 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
There still seems to be a fundamental error in your simulation.
Did you see post #11? Here is the key bit: Quote:
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
||
September 14, 2023, 11:14 |
|
#16 | |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
Quote:
The simulation I just ran had a wall placed on the test section and the port. It still never converged and something is still wrong. Screenshot 2023-09-14 091125.jpg |
||
September 14, 2023, 15:09 |
|
#17 |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
Here is the single phase version of this simulation. It looks how I would mostly expect.
Screenshot 2023-09-14 130509.png Screenshot 2023-09-14 130543.png Fluid Flow CFX_003.txt |
|
September 14, 2023, 16:34 |
Pressure boundary conditions
|
#18 |
New Member
Casey Harwood
Join Date: Feb 2012
Posts: 3
Rep Power: 14 |
I've been working with Joey on this - the help is much appreciated. One of the things we've been struggling to understand is how to set the pressures at the outlet and openings.
With a reference density equal to that of liquid water, my understanding (from reading the solver theory manual) is that the hydrostatic pressure is negated in the liquid phase. We also placed the reference location at the outlet to ensure that 0Pa was the correct outlet pressure. The vent at the top of the de-aerating chamber is less obvious. The theory manual suggests that we need to consider the equivalent hydrostatic pressure "deficit" in the gas phase. So, should the opening boundary at the top of the chamber be at a negative pressure? |
|
September 14, 2023, 20:22 |
|
#19 | ||
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
OK, the basic single phase model works OK. That means you have the basics working.
So I would now do a multiphase model, but a homogeneous one. This means there will only be one velocity field, so no interphase slip; but it will have a free surface. What does a homogeneous multiphase result look like? I would also recommend making another simplification for the first try - block the vent off with a wall. We will look at vent boundary condition once the basic flow is working. Quote:
Quote:
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|||
September 15, 2023, 11:31 |
|
#20 | |
Member
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3 |
Quote:
The first image is the open test section. -45kpa_test_section.jpg -60kpa_port.jpg |
||
|
|