CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Courant number calculation and min. grid size

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

Like Tree2Likes
  • 1 Post By Micael
  • 1 Post By LuckyTran

LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2018, 06:22
Default Courant number calculation and min. grid size
New Member
Join Date: Mar 2014
Location: Helsinki
Posts: 21
Rep Power: 11
soheil_r7 is on a distinguished road

For calculating the Courant number (Co = U*timeStep/meshSize), minimun edge length is needed.
My 3D Mesh is generated in Ansys meshing and it's all Tetrahedron (V=a^3/6*(2)^0.5).
Is it OK to make an approximation of the smallest grid length by the volume of the cell, which is volume of a regular tetrahedron? Fluent generates the "minimum volume (m3)".

Thanks for any advice,
soheil_r7 is offline   Reply With Quote

Old   September 4, 2018, 14:11
Senior Member
Join Date: Mar 2009
Location: Canada
Posts: 156
Rep Power: 17
Micael is on a distinguished road
Create a custom field functions so you can visualize courant number field. It will give you a better picture to judge if your courant number is good.

this text command might work or need a bit adaption:
define/custom-field-functions/define "courant-nb-gas" "velocity_magnitude*delta_time<rd>/cell_volume^(1/3)"
soheil_r7 likes this.
Micael is offline   Reply With Quote

Old   September 5, 2018, 13:50
Senior Member
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,142
Rep Power: 61
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
For tetrahedrons it is not right/wrong to use the cell volume (I would do it and throw in a factor of safety). The faces are not oriented in any particular direction with the flow. Even if you knew the minimum edge length, you wouldn't know it's oriented with respect to x,y,z coordinates and you still don't know the u,v,w velocity components. So in general you should run a few test cases to confirm the courant number that you get from your mesh. The best you can do is guess.

There already is a courant number field in Fluent. You don't need to create a custom field function. But this doesn't help you predict anything without meshing and simulating a case first.
soheil_r7 likes this.
LuckyTran is offline   Reply With Quote


courant number, fluent

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiphaseEulerFoam high Courant number Frenk_T OpenFOAM 5 November 24, 2016 04:23
twoPhaseEulerFoam fvOptions for alpha lavdwall OpenFOAM Running, Solving & CFD 8 October 19, 2015 10:57
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Courant Number NiBa FLUENT 0 November 18, 2014 17:45
Problems with Courant number (LaunderGibsonTurbulence Model) sven OpenFOAM 3 August 10, 2009 04:12

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