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

Help with convergence and general advice

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By CFDKareem
  • 1 Post By CFDKareem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2023, 15:41
Default Help with convergence and general advice
  #1
New Member
 
Mathew
Join Date: Jan 2023
Posts: 5
Rep Power: 3
Mathewl1 is on a distinguished road


https://ibb.co/KXTMRCv
https://ibb.co/zP5q5H4
https://ibb.co/NjRjwSm
(These are the 3 imagines of the geometry and the residuals)
Hi everyone, I’m currently trying to run a simulation on the above image. It’s a 2D simplified model of a pipe (78mm) with a bluff body inserted inside of it. The model is currently not converging.

A 2D planar space was set.

Water is used as the fluid. As this is the case, a pressure based solver was used.

With Reynolds number being quite high in this, both transient flow was used alongside the turbulence model Realisable k-e with standard wall function with all default setting was used.

The following boundary conditions were used: -inlet: mass-flow inlet of 5kg/s -outlet: pressure outlet with result settings (0 gauge pressure)

• ⁠wall: both the pipe walls and the obstruction were set as walls with no slip condition applied.

For pressure-velocity coupling, the method used was simple (I’ve also tried piso)

For spacial discretisation the following was used: -gradient - Least squares cell based -pressure- second order

• ⁠momentum - second order upwind
• ⁠turbulent kinetic energy - second order upwind
• ⁠turbulent dissipation rate - second order upwind

Relaxation factors were set as default

Residuals were set to 1e-6

Initialisation: used standard and hybrid but neither helped.

Really any advice on this. Things to look at and general tips would be really really appreciated. This is for my honours degree thesis and I’ve been trying to get it to work for some time now to no avail. I’m beginning to panic and is why I’ve come to this server as I’ve seen some great advice on it already and think it would be really useful getting help from more advance people in cfd.

Thanks in advance for those that help and anything else I can provide just let me know!!
Mathewl1 is offline   Reply With Quote

Old   January 28, 2023, 18:48
Default
  #2
Senior Member
 
CFDKareem's Avatar
 
Kareem
Join Date: Nov 2022
Location: New York
Posts: 125
Rep Power: 4
CFDKareem is on a distinguished road
Can you post a picture of what your mesh looks like?

The flow channels around the body are really narrow. I want to make sure these regions are refined sufficiently. Also, try using Enhanced Wall Treatment for your near wall condition instead of Standard. To use EWT you should make sure that your Y+ value is ~1.

Once I confirm the mesh quality we can discuss some next steps, assuming this is not the issue.

P.S. Try using the internal image hosting on this forum. Many users are wary of clicking on external links.
Mathewl1 likes this.
__________________
Please like the answer if it helped!

Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured
CFDKareem is offline   Reply With Quote

Old   January 29, 2023, 20:38
Default
  #3
New Member
 
Mathew
Join Date: Jan 2023
Posts: 5
Rep Power: 3
Mathewl1 is on a distinguished road
Hi CFD Kareem,

Thank you for responding. I will fix my mesh and ensure y+ ~ 1 and let you know if this works - this may take a few days. Could you give some advice on the meshing to ensure I’m coving all bases when doing it, like things to research. I’ve also had some trouble meshing it as warnings come up with face meshing. I’m using aspect ration and skewness of the elements to ensure quality so far. I’ve also split the mesh up to get a structured mesh but had some errors with face meshing. Anything else you could guide me with this would be appreciated, maybe things like types of meshing techniques that would be suitable for such a narrow gap.

Also I gave your video a watch. Great content and you’ve earned a new subscriber!
Mathewl1 is offline   Reply With Quote

Old   January 30, 2023, 00:43
Default
  #4
Senior Member
 
CFDKareem's Avatar
 
Kareem
Join Date: Nov 2022
Location: New York
Posts: 125
Rep Power: 4
CFDKareem is on a distinguished road
Quote:
Originally Posted by Mathewl1 View Post
Hi CFD Kareem,

Thank you for responding. I will fix my mesh and ensure y+ ~ 1 and let you know if this works - this may take a few days. Could you give some advice on the meshing to ensure I’m coving all bases when doing it, like things to research. I’ve also had some trouble meshing it as warnings come up with face meshing. I’m using aspect ration and skewness of the elements to ensure quality so far. I’ve also split the mesh up to get a structured mesh but had some errors with face meshing. Anything else you could guide me with this would be appreciated, maybe things like types of meshing techniques that would be suitable for such a narrow gap.

Also I gave your video a watch. Great content and you’ve earned a new subscriber!
I wouldn't worry about keeping the mesh structured. The tradeoff of an unstructured mesh is usually simulation time. For 2D geometry the difference in compute time is usually minimal. There should be no tradeoff in accuracy as long as the mesh is high quality.

As far a research goes, a good place to start is understanding wall functions and how they relate to Y+ value. The Ansys theory manual has a bit of info, but there are many great resources online explaining the theory of wall functions and Y+.

For specifics on meshing your model. I would focus first on setting your inflation layers to achieve the proper Y+. The first layer height will change from the inlet region through the narrow channel. There's no need to over refine the inlet and outlet region. You can use multiple inflation layers and wall sizing to vary the boundary layer throughout the domain. When checking the mesh statistics do not be discouraged by aspect ratios greater than 1, fi they occur in the inflation layer. It is okay for the boundary layer elements to be elongated in the direction of flow. Also, check the "Capture Proximity" option under mesh and play with the number of cells across the gap. This can help automatically refine the mesh in those narrow channels. It's hard to give hard recommendations as mesh generation is as much of an art as it is a science, but hopefully these few tips help.

Finally, don't get too wrapped up in mesh generation. Convergence issues can be caused by the mesh, but are much more likely to be other solver settings in Fluent. Once you have the solver settings nailed down and a mesh converging well, you can go back and do a proper mesh refinement study to further reduce the error and make sure your achieving mesh independence.
Mathewl1 likes this.
__________________
Please like the answer if it helped!

Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured
CFDKareem is offline   Reply With Quote

Reply

Tags
help me please


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convergence Centurion2011 FLUENT 48 June 15, 2022 00:29
General CFD convergence Question mwmalkawi Main CFD Forum 4 May 15, 2019 12:25
General question regarding convergence raviramesh10 CFD Freelancers 0 June 20, 2017 08:09
CFD Code Choice and General Advice Alex Pope Main CFD Forum 26 April 25, 2007 12:54
General Unsteady solution convergence Freeman Main CFD Forum 0 December 7, 2005 18:08


All times are GMT -4. The time now is 17:40.