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

Minimum mesh size for Advection-Diffusion Problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2015, 07:35
Default Minimum mesh size for Advection-Diffusion Problem
  #1
New Member
 
Eoin Murphy
Join Date: Jun 2013
Location: Dublin
Posts: 4
Rep Power: 13
Murf is on a distinguished road
Hi all,

I'm currently working on an advection-diffusion problem (in Ansys CFX) and during my mesh convergence study when I refine my mesh down below a certain level the solver doesn't converge. I have several different models and the problem arises with a model which has non-linear diffusivity.

In addition, I should say that the simulation is steady-state and the flow is entirely laminar, solved using double precision, and in test cases, has no significant flow features, i.e., simple flow along a flat surface with a fully developed flow at inlet. The diffusivity of the transported additional variable itself is non-linear and is in the region of 1E-12m^2/s in places and is dependent on several parameters and variables, including the shear-strain rate.

Below is a screen capture of the boundary layer with the mesh shown that does solve fine. Any significant refinement of this model results in the solution becoming unstable. At present for this mesh to solve I need to run it at a physical timescale several orders of magnitude less than the auto-derived one, and using initial values derived by a simpler model.

Boundary Layer.jpg

Firstly, is there a minimum mesh size which I should not go below,
and secondly, is there a way to calculate this?

I have seen posts before about minimum mesh size but nothing specific to this.

http://www.cfd-online.com/Forums/cfx...fine-mesh.html

Thanks for your time and help,

Eoin

Last edited by Murf; March 3, 2015 at 12:15. Reason: not enough details given in previous version.
Murf is offline   Reply With Quote

Old   March 3, 2015, 18:33
Default
  #2
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
Numerical instability increases as mesh size decreases. So convergence problems with mesh refinement can occur on tricky simulations. This occurs as finer meshes have less numerical dissipation so instabilities are less damped.

There is no simple way of calculating when you will have problems. Have a look at the textbooks on CFD stability for more information - I think "Computational Fluid Dynamics" by Roache has a discussion about this. It has been a while since I read this book so I am not sure it does, but it is an excellent reference on many issues regarding accuracy and stability of CFD simulations.
Murf likes this.
ghorrocks is offline   Reply With Quote

Old   March 4, 2015, 07:46
Default
  #3
New Member
 
Eoin Murphy
Join Date: Jun 2013
Location: Dublin
Posts: 4
Rep Power: 13
Murf is on a distinguished road
Cheers Glenn.

I'll take a look at that.
Thanks,

Eoin
Murf is offline   Reply With Quote

Old   March 4, 2015, 18:49
Default
  #4
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
The normal things to look at when you have round off errors are:
* Double precision (you are already doing that I think)
* Improve mesh quality, so decrease aspect ratios and make the mesh more orthogonal.
ghorrocks is offline   Reply With Quote

Old   March 5, 2015, 15:15
Default
  #5
New Member
 
Eoin Murphy
Join Date: Jun 2013
Location: Dublin
Posts: 4
Rep Power: 13
Murf is on a distinguished road
Hi Glenn,

Yes, double precision for all simulations.
I've been working a lot on producing a mesh with better quality in ICEM for my more complicated geometries, so it's good to know I'm on the right track. I'll keep going with that.

Thanks again,

Eoin
Murf is offline   Reply With Quote

Reply

Tags
advection-diffusion, ansys, cfx, icem


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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[ICEM] Effect of globle mesh size and mesh independency sujay ANSYS Meshing & Geometry 20 September 29, 2019 08:36
[snappyHexMesh] Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Meshing & Mesh Conversion 14 December 12, 2018 09:07
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
minimum mesh size for CFX julien CFX 1 January 12, 2006 07:37


All times are GMT -4. The time now is 21:44.