CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

My solution won't converge and my outlet is blocked

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2023, 22:37
Default
  #41
Member
 
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3
joey-mastlab is on a distinguished road
Here are some images of the progress so far. I don't understand why the streamlines look like this. I feel like something is clearly wrong.

Screenshot 2023-09-26 100358.png

Screenshot 2023-09-26 203415.png
joey-mastlab is offline   Reply With Quote

Old   September 26, 2023, 23:59
Default
  #42
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Streamlines can be misleading on transient simulations. I only use streamlines on steady state simulations. So I would not plot them. The volume fraction cross section and velocity vectors are much more useful.

My assessment of your image is that so far it is looking good. The water surface has remained sharp, and the lump in the water surface is a surface wave caused by the flow suddenly starting up. This is all physically believable, so I think things are good so far. I would let that simulation continue.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   September 28, 2023, 11:53
Default
  #43
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28
Gert-Jan will become famous soon enough
In postprocessing a multiphase calculation, better use streamlines based on the Superficial Velocity (Velocity*Volume Fraction) instead of Velocity.
Gert-Jan is offline   Reply With Quote

Old   October 2, 2023, 23:02
Default
  #44
Member
 
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3
joey-mastlab is on a distinguished road
Hello I hope you had a good weekend. After some trial and error, I was able to get the simulation to run smoothly. This morning when I checked though, it had stopped because my PC ran out of storage. I transferred the previous backups to an SSD and I got it going again. Here are images of the residuals and the volume fraction at iteration 570. Let me know your thoughts.
Screenshot 2023-10-01 at 11.27.44 AM.jpg

Screenshot 2023-10-01 at 11.30.15 AM.jpg
joey-mastlab is offline   Reply With Quote

Old   October 3, 2023, 05:50
Default
  #45
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
That looks like it is working as intended (or at least as I understood it). The free surface is being resolved well and not blurring too much, the air is doing sensible things and it appears to be converging each time step.

From your first post you showed that there is a test section and port where the air bubble is currently trapped. I understand you made it a wall for this preliminary simulation. I bet if you made it back to an opening again then it would have convergence problems (feel free to try this).

Can you explain to me what happens in the actual device when water goes into the test section and port?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 3, 2023, 12:18
Default
  #46
Member
 
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3
joey-mastlab is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post

Can you explain to me what happens in the actual device when water goes into the test section and port?
The test section will have very straight flow and have a velocity of around 3.5 m/s. The port will be used just for ventilation so any air that gets sucked in won't create a pressure difference.
joey-mastlab is offline   Reply With Quote

Old   October 3, 2023, 18:54
Default
  #47
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
But your last image shows that fluid will go up the test section, at least in the start up transient. So this is not a good place to put the boundary, you should put it higher up where the water will never reach it. Then you can make it an opening and it should not cause convergence issues. The same goes for the port.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 3, 2023, 23:44
Default
  #48
Member
 
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3
joey-mastlab is on a distinguished road
Ive already raised the port and that seems to be fine so far. I will have to make the test section opening higher in the next simulation to see how much higher it will rise up.
joey-mastlab is offline   Reply With Quote

Old   October 4, 2023, 01:03
Default
  #49
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
OK, post some images of it when you have something to show.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 4, 2023, 23:30
Default
  #50
Member
 
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3
joey-mastlab is on a distinguished road
I have started a new simulation with a higher test section. The port and test section are still blocked off as I want to make sure no water touches it before I open them up. Here is an image of the volume fraction for iteration 50 and the corresponding residuals.
Screenshot 2023-10-04 at 9.23.07 PM.jpg

Screenshot 2023-10-04 at 9.26.32 PM.jpg
joey-mastlab is offline   Reply With Quote

Old   October 5, 2023, 00:02
Default
  #51
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I see some spots of VF in the air region, and your free surface has some strange kinks in it. I did not see that in your previous images. This might be a problem - do you have any idea what is happening there?

Also I note you are using the segregated VF solver. This simulation might run better with the coupled volume fraction solver. You can activate that is the solver options tab in CFX-Pre. Do a test run to see if it helps (sometimes it helps a lot and sometimes it is worse, you need to try it and see in your specific case).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 5, 2023, 00:23
Default
  #52
Member
 
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3
joey-mastlab is on a distinguished road
I saw those weird spots too. My thoughts are that: 1) maybe its a convergence issue since this is so early in the start up of the simulation, or 2) when I specified the VF initial conditions, I set it so the water level will be touching the top of the diffuser before the test section. In the previous simulation, there was an air gap there as can be seen in the images from that model (the green section at the top of the diffuser). Those are my two thoughts as of right now. I'm going to let this run until the morning (about 10 more hours) and see how it's progressed before I make any changes regarding the coupled VF vs. the segregated VF. This will also let me compare the two types of solvers. Let me know your thoughts.
joey-mastlab is offline   Reply With Quote

Old   October 5, 2023, 00:26
Default
  #53
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, let that run and see how it goes. Try the coupled vs segregated VF solver tomorrow regardless of what the results are.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 6, 2023, 11:00
Default
  #54
Member
 
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3
joey-mastlab is on a distinguished road
Here is the image from timestep 500. There is something still weird going on with the free surface. I'm taking a break from the free surface simulation and I am going to work on making some changes to the closed section model. I will be back though within a week or two!

Screenshot 2023-10-06 085451.png
joey-mastlab is offline   Reply With Quote

Old   October 6, 2023, 21:21
Default
  #55
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, definitely weird. I suspect a convergence problem, try a tighter convergence tolerance and/or the coupled VF solver.

Also - are you running double precision. That will help as well, but slow the solver down a bit.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 8, 2023, 08:15
Default
  #56
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28
Gert-Jan will become famous soon enough
Quote:
Originally Posted by joey-mastlab View Post
It is a homogeneous model. Here is an image of my mesh.
I accidentally didn't save the last run so I don't have the output file. I'm rerunning it now so I will post it tomorrow.

Attachment 96342

If you still use a mesh like in your query of september 25, I recommend to spend a more time on your meshing approach. When solving a free surface problem like yours, I would never ever use a tet mesh since this gives a blur anyway. You should use hex elements. Given your geometry, I think this should be possible using a sweep mesh. ANSYS Workbench can do this.
Gert-Jan is offline   Reply With Quote

Old   November 13, 2023, 22:59
Default
  #57
Member
 
Joey Improta
Join Date: Sep 2023
Posts: 40
Rep Power: 3
joey-mastlab is on a distinguished road
Hello,
I've resumed working on the free surface model of the flow tunnel, but I'm encountering persistent issues with the air/water surface during the simulation.

Here are some of the steps that I’ve taken:
  • To reduce the computation time required to approach one full convection time step, eliminated the wall inflation layers and set free-slip boundaries on all walls, which cut the mesh size by an order of magnitude. My reasoning was that an approximated solution using a coarse mesh would be a better initial condition for the finer mesh (at least compared to zero velocity).
  • On startup, I was getting chaotic waves at the free surface. I reduced the inlet velocity from 1.55m/s to 0.005m/s to minimize the impulsive start-up and check that buoyancy is actually behaving like expected.
  • The buoyancy model doesn’t seem to be working, even with very low inlet velocities. I get an instability at the free surface that develops into large-scale mixing. For kicks, I tried changing the sign on gravitational acceleration and there was no significant change in the results.
  • I've conducted two scenarios using water (997 kg/m^3) and air (1.23 kg/m^3) densities as the reference density, but neither of them seems to improve the results.

I've included screenshots and OUT files corresponding to these scenarios for your reference. Hopefully you have some insights on what could be causing these issues and some recommendations.
Attached Images
File Type: png SlowVelcocity_AirDensity.png (70.1 KB, 2 views)
File Type: png SlowVelocity_WaterDensity.png (68.7 KB, 2 views)
Attached Files
File Type: zip slowVelocity_AirDensity.txt.zip (20.5 KB, 0 views)
File Type: zip SlowVelocity_WaterDensity.txt.zip (19.5 KB, 0 views)
joey-mastlab is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 23:04.