CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Courant number calculation and min. grid size

Register Blogs Community New Posts Updated Threads Search

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

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

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, 13:11
Default
  #2
Senior Member
 
Micael
Join Date: Mar 2009
Location: Canada
Posts: 156
Rep Power: 18
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:
Code:
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, 12:50
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,672
Rep Power: 65
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

Reply

Tags
courant number, fluent


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 03:23
twoPhaseEulerFoam fvOptions for alpha lavdwall OpenFOAM Running, Solving & CFD 8 October 19, 2015 09:57
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Courant Number NiBa FLUENT 0 November 18, 2014 16:45
Problems with Courant number (LaunderGibsonTurbulence Model) sven OpenFOAM 3 August 10, 2009 03:12


All times are GMT -4. The time now is 11:34.