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

Drag coefficient CEL expression

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2017, 16:55
Default Drag coefficient CEL expression
  #1
Member
 
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8
sarrazs is on a distinguished road
Hi,
I'm doing CFD for an air-water bubble column. I'm using Euler-Euler Model with no turbulence model. I want to use a user drag coefficient example Mei coefficient.
I defined :
relative velocity: Ur = sqrt((air. u-Water. u)^2+(air. v-Water. v)^2+(air. w-Water. w)^2)
Volume fraction : epsilon = air.vf
Reynolds number : Re = 2*Water.density*Ur*air.mean particle diameter/Water.viscosity+10^-17 (10^-17 is just to avoid zero division).
Drag coefficient CD= (16/Re)*(1+(2/((16/Re)+(3.315/sqrt(Re))+1))).
I'm getting this error :
+-------------------------------------------------------------------
| ERROR #001100279 has occurred in subroutine ErrAction.
| Message:
| Floating point exception: Overflow

| ERROR #001100279 has occurred in subroutine ErrAction.
| Message:
| Stopped in routine FPX: C_FPX_HANDLER

For the Ishii Zuber coefficient, which already exists in cfx, works great but not with the CEL expression Mei coefficient.
sarrazs is offline   Reply With Quote

Old   September 28, 2017, 02:48
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Quote:
Originally Posted by sarrazs View Post
Reynolds number : Re = 2*Water.density*Ur*air.mean particle diameter/(Water.viscosity+10^-17) (10^-17 is just to avoid zero division).
if you want to avoid division by zero you should add the parenthesis in bold - but why would Water.viscosity be zero?
Lance is offline   Reply With Quote

Old   September 28, 2017, 10:21
Default
  #3
Member
 
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8
sarrazs is on a distinguished road
Thank you Lance for your reply. I added 10^-17 to the reynold number not the viscosity. Initially, all velocities are zero and it may be at on point Ur=0 so I want to avoid zero division in the drag coefficient CD
sarrazs 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
Drag Coefficient for Ellipse Form (2D) Ketut Utama Main CFD Forum 8 December 11, 2014 11:03
problem with saving drag coefficient colopolo FLUENT 5 April 12, 2013 10:59
Post Processing Drag Coefficient squanto773 OpenFOAM Post-Processing 1 March 7, 2012 09:43
Plot drag coefficient against Y(distance) edwin FLUENT 0 February 4, 2008 09:41
Lift, Drag Vs time chart,calculations Jamesd69climber CFX 8 February 17, 2005 17:23


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