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

Courant Number for Finite Volume Method

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By FMDenaro
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2016, 19:07
Default Courant Number for Finite Volume Method
  #1
New Member
 
Felix
Join Date: Sep 2015
Location: Hannover, Berlin
Posts: 23
Rep Power: 10
fimbull is on a distinguished road
Does anybody know if there is a difference between the Courant Number equation for the finite difference method and the finite volume method?

A book title with the equation would be enough.

thanks
fimbull is offline   Reply With Quote

Old   November 18, 2016, 03:21
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,771
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by fimbull View Post
Does anybody know if there is a difference between the Courant Number equation for the finite difference method and the finite volume method?

A book title with the equation would be enough.

thanks

https://books.google.it/books/about/...er&redir_esc=y

https://books.google.it/books/about/...ir_esc=y&hl=it
fimbull likes this.
FMDenaro is offline   Reply With Quote

Old   November 18, 2016, 19:46
Default
  #3
New Member
 
Felix
Join Date: Sep 2015
Location: Hannover, Berlin
Posts: 23
Rep Power: 10
fimbull is on a distinguished road
When do i need the folowing equation?





And what does it mean?

is there Delta V the cell volume and Delta S a area from the cell surface?

found it on:

https://openfoamwiki.net/index.php/Co
fimbull is offline   Reply With Quote

Old   November 19, 2016, 03:16
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,771
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
http://www.cfd-online.com/Forums/mai...red-grids.html
fimbull likes this.
FMDenaro is offline   Reply With Quote

Old   November 20, 2016, 14:04
Default
  #5
New Member
 
Felix
Join Date: Sep 2015
Location: Hannover, Berlin
Posts: 23
Rep Power: 10
fimbull is on a distinguished road
Well that means OpenFOAM is calculating the Courant Number as a product
of the ratio of the sum of the flux trough the cell faces per cell volume and the timestep width.


Co = \frac{\sum \phi \Delta t}{\Delta V} \cdot 0.5

But what means the factor 0.5.
fimbull is offline   Reply With Quote

Old   May 1, 2019, 02:01
Default
  #6
New Member
 
Mehmet SAHIN
Join Date: Dec 2011
Posts: 12
Rep Power: 14
msahin.ae00 is on a distinguished road
Most probably it is trying to obtain minimum edge length from the available control volume surface areas and volumes. The absolute control volume area summation close to walls is mainly dominated by lower and upper control volume surface area values. Therefore, the area summation should be divided by 2. Then minimum edge length will be approximately Volume/(0.5 Area sum).
msahin.ae00 is offline   Reply With Quote

Old   May 1, 2019, 12:30
Default
  #7
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by msahin.ae00 View Post
Most probably it is trying to obtain minimum edge length from the available control volume surface areas and volumes. The absolute control volume area summation close to walls is mainly dominated by lower and upper control volume surface area values. Therefore, the area summation should be divided by 2. Then minimum edge length will be approximately Volume/(0.5 Area sum).

The 1/2 is OpenFOAM specific and has to do with the way OpenFOAM calculates "the summation over all faces." The way it is done in OpenFOAM, it actually double counts because there is a face/flux belonging to the current cell and a face/flux belonging to the neighboring cell and both get summed in the summation.
LuckyTran is offline   Reply With Quote

Old   May 1, 2019, 14:00
Default
  #8
New Member
 
Mehmet SAHIN
Join Date: Dec 2011
Posts: 12
Rep Power: 14
msahin.ae00 is on a distinguished road
OpenFOAM calculates fluxes using a loop over faces and add/subtract flux vector value to right and left cells, respectively. This would be i and j vertices for a vertex based method FVM. When the loop is finished, all control volume faces are done. This does not change the face flux value. But it significantly reduce the computational cost (almost by half).
msahin.ae00 is offline   Reply With Quote

Old   September 15, 2023, 03:53
Default
  #9
New Member
 
Mehmet SAHIN
Join Date: Dec 2011
Posts: 12
Rep Power: 14
msahin.ae00 is on a distinguished road
CFL number may be considered as the time required to move out/replace the conserved variable trough control volume surfaces with either positive or negative fluxes (incoming or outgoing) for FVM approximation (CFL=1). The absolute summation gives two times of this flux (for steady state, this flux summation without absolute value is zero). But one can sum negative and positive flux, and then take the maxımum absolute value. Then no need for 1/2.
msahin.ae00 is offline   Reply With Quote

Reply


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 12:55
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 13:38
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01


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