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

Courant number: concept

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 25, 2015, 16:59
Default Courant number: concept
  #1
New Member
 
Join Date: Dec 2015
Posts: 3
Rep Power: 10
jones123 is on a distinguished road
Hello all,

I'm trying to get a better understanding of what the Courant number actually means. Therefore, I am trying to visualize it schematically.

I know that, for example when using a first order upstream scheme, the information flows like this (see attachmant) when the Courant number is between 0 and 1. In this image, n = time and j = position.

But how do these flows change when the Courant number changes? For example, I can't seem to figure out how to draw such a scheme with information flows when the Courant number is like -1, +2 or +3 or whatever.

Can someone help me? (drawing these schemes would be very nice).

Thanks in advance!
Attached Images
File Type: png cn.png (18.9 KB, 13 views)
jones123 is offline   Reply With Quote

Old   December 25, 2015, 17:16
Default
  #2
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
Quote:
Originally Posted by jones123 View Post
Hello all,

I'm trying to get a better understanding of what the Courant number actually means. Therefore, I am trying to visualize it schematically.

I know that, for example when using the upstream scheme, the information flows like this (see attachmant) when the Courant number is between 0 and 1. In this image, n = time and j = position.

But how do these flows change when the Courant number changes? For example, I can't seem to figure out how to draw such a scheme with information flows when the Courant number is like -1, +2 or +3 or whatever.

Can someone help me? (drawing these schemes would be very nice).

Thanks in advance!

Do not consider negative values as they simply state the flow has negative direction (u<0).

As you consider c>1, it simply states that c=u/(h/dt) = (dx/dt)/(h/dt) > 1.
Geometrically, you have that the slope of the characteristic curve (dx/dt) is greater than the discrete counterpart (h/dt).
In your sketch, the discrete curve has intersection with the axis tn outside (j-1,j). For example c= 2 intersects j-2, c=3 intersects j=3 and so on.
In a first order upwind, you can intepret that fact as an extrapolation of the vlaues, which actually drives to a numerical instability.
FMDenaro is offline   Reply With Quote

Old   December 25, 2015, 17:40
Default
  #3
New Member
 
Join Date: Dec 2015
Posts: 3
Rep Power: 10
jones123 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Do not consider negative values as they simply state the flow has negative direction (u<0).

As you consider c>1, it simply states that c=u/(h/dt) = (dx/dt)/(h/dt) > 1.
Geometrically, you have that the slope of the characteristic curve (dx/dt) is greater than the discrete counterpart (h/dt).
In your sketch, the discrete curve has intersection with the axis tn outside (j-1,j). For example c= 2 intersects j-2, c=3 intersects j=3 and so on.
In a first order upwind, you can intepret that fact as an extrapolation of the vlaues, which actually drives to a numerical instability.
Hi,

Thanks for the quick reply. Does it then mean something like this?

Thanks
Attached Images
File Type: png cn2.png (18.4 KB, 13 views)
jones123 is offline   Reply With Quote

Old   December 25, 2015, 18:18
Default
  #4
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
yes, the green lines are the slopes of h/dt for increasing c number ...you see that they lie outside (j-1,j)
FMDenaro is offline   Reply With Quote

Reply

Tags
courant number


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
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 10:23
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
Sudden jump in Courant number NJG OpenFOAM Running, Solving & CFD 7 May 15, 2014 14:52
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 14:54.