CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

Inconsistency in CourantNoH

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By henry

Reply
 
LinkBack Thread Tools Display Modes
Old   June 20, 2007, 09:21
Default Hi, there seems to be a incon
  #1
Member
 
Rolando Maier
Join Date: Mar 2009
Posts: 89
Rep Power: 8
rolando is on a distinguished road
Hi,
there seems to be a inconsistency in the calculation of the courant numbers in CourantNo.H.
The maximum Co is built with:
CoNum = max(SfUfbyDelta/mesh.magSf()).value()*runTime.deltaT().value();
The mean Co is built with:
meanCoNum = (sum(SfUfbyDelta)/sum(mesh.magSf())).value()*runTime.deltaT().value( );

This is no problem for serial cases.
But for parallel cases there should be used "gMax" and "gSum" instead of "max" and "sum" to build the Courant numbers considering all processors.

Rolando
rolando is offline   Reply With Quote

Old   June 20, 2007, 09:31
Default The max and sum functions of G
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
The max and sum functions of GeometricField call gMax and gSum of the internal field from which it is derived.
hua1015 likes this.
henry is offline   Reply With Quote

Old   June 20, 2007, 09:33
Default OK, then itīs clear. Thanks.
  #3
Member
 
Rolando Maier
Join Date: Mar 2009
Posts: 89
Rep Power: 8
rolando is on a distinguished road
OK, then itīs clear.
Thanks.
rolando is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
WAVE & TAB breakup inconsistency Orrin FLUENT 0 January 7, 2009 12:02
Inconsistency of GRidgen Prapanj Pointwise & Gridgen 3 September 30, 2007 15:08
Problem with BC inconsistency segersson OpenFOAM Running, Solving & CFD 5 April 28, 2005 12:34
Units inconsistency (CFX5.5) gilberto CFX 3 December 14, 2001 20:03


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