CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Non-convergence for smaller mesh spacings

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2012, 04:22
Default Non-convergence for smaller mesh spacings
  #1
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 15
fferroni is on a distinguished road
Hello.

I'm running some simulations of MHD duct flow using mhdFoam, and I ran some a case with a square duct cross section mesh of 20x20 and 40x40 elements and they both converged. I tried running a 100x100 case and now it doesn't converge! How is this possible? I swear I haven't changed anything else. I ran checkMesh and everything was good, and it looks alright on Paraview too...

Anyone wish to point out possible reasons?

Regards,

Fran
fferroni is offline   Reply With Quote

Old   January 13, 2012, 03:07
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
You have to keep an eye on the Courant number. If you refine your mesh without reducing the time step, you are increasing the Courant number. If it gets too large, the solution algorithm will become unstable.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   January 13, 2012, 06:42
Default
  #3
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 15
fferroni is on a distinguished road
Ah ok. So for an evenly spaced mesh, the time-step needs to be reduced proportionally to the decrease in mesh spacing?
Is this the condition you are referring to? http://en.wikipedia.org/wiki/Courant...Lewy_condition

Thank you. I will see if it works!

Regards,

Fran
fferroni is offline   Reply With Quote

Old   January 13, 2012, 08:18
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Yes, except that in this case the limitation is not due to an explicit time integration scheme, but to maintain pressure-velocity coupling with the PISO-algorithm.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Reply

Tags
divergence, mesh


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Convergence problem with mesh? tareqkh Main CFD Forum 0 July 13, 2016 18:38
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Influence of mesh refinement on the convergence saisanthoshm88 CFX 6 November 26, 2010 07:58


All times are GMT -4. The time now is 10:55.