CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Courant number infinity

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By sbaffini
  • 1 Post By FMDenaro
  • 1 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2021, 23:04
Question Courant number infinity
  #1
New Member
 
Join Date: Jun 2021
Posts: 3
Rep Power: 5
Gualti is on a distinguished road
Hello Everyone!

What could be the reasons/causes why the Courant number is infinity?
In pratice, what steps do you suggest to do in order to fix this issue?

Thanks!
Gualti is offline   Reply With Quote

Old   June 18, 2021, 07:45
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
The courant number can be roughly defined as U dt/dx. Thus, generally speaking, as long as you used a mesh with cells of finite dimension dx and a finite time step dt, the only reason for an infinite courant number is the divergence of the field U. This is the best one can say without any further information.
aero_head likes this.
sbaffini is offline   Reply With Quote

Old   June 18, 2021, 10:53
Default
  #3
New Member
 
Join Date: Jun 2021
Posts: 3
Rep Power: 5
Gualti is on a distinguished road
Thank you for the reply! I am trying to debug my simulations since I get a courant number of infinity, but the time step is finite, and the cells have finite dimensions too. So I guess the problem is the divergence of U.
Gualti is offline   Reply With Quote

Old   June 18, 2021, 10:56
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by Gualti View Post
Thank you for the reply! I am trying to debug my simulations since I get a courant number of infinity, but the time step is finite, and the cells have finite dimensions too. So I guess the problem is the divergence of U.
Well, it is indeed strange that you did notice an infinite value for CFL but not for your solved variable, the velocity (that's what I meant for divergence, which now occurs to me might have been an unhappy choice of terms).
sbaffini is offline   Reply With Quote

Old   June 23, 2021, 16:33
Default
  #5
New Member
 
Join Date: Jun 2021
Posts: 3
Rep Power: 5
Gualti is on a distinguished road
Thanks. May I ask how can I check that the elements of the mesh have a finite dimensions? I am using GMSH, and it provides the gamma value (ratio between inscribed radius and circumscribed radius). This value ranges between 0.2 and 1 in my mesh. Is it enough to say that the elements have a finite dimension? I am trying to improve the mesh, and in some cases I also get Courant number of -1, but I can't explain why.
Thank you!
Gualti is offline   Reply With Quote

Old   June 23, 2021, 16:54
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
First of all, what is the software? Are you aware about the way the CFL is computed? Check that all volumes are positive quantities.

However, you could simply experiencing a numerical instability, what about the velocity field?
sbaffini likes this.
FMDenaro is offline   Reply With Quote

Old   June 24, 2021, 04:57
Default
  #7
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by Gualti View Post
Thanks. May I ask how can I check that the elements of the mesh have a finite dimensions? I am using GMSH, and it provides the gamma value (ratio between inscribed radius and circumscribed radius). This value ranges between 0.2 and 1 in my mesh. Is it enough to say that the elements have a finite dimension? I am trying to improve the mesh, and in some cases I also get Courant number of -1, but I can't explain why.
Thank you!
Courant = -1 Sounds like a mesh problem. But you need to check the manual of the software you are using to know how their courant is computed. The same for the gamma in gmsh (which, however, I understand lower is better)
FMDenaro likes this.
sbaffini is offline   Reply With Quote

Reply

Tags
courant number, mesh 3d


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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 6, 2023 00:48
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 11:11
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 10:15
Sudden jump in Courant number NJG OpenFOAM Running, Solving & CFD 7 May 15, 2014 14:52


All times are GMT -4. The time now is 07:48.