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

DPM drag force UDF

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hedonists

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2003, 22:10
Default DPM drag force UDF
  #1
hedonists
Guest
 
Posts: n/a
Hi, I am doing submicron particle trajectory calculation. I need to write a UDF for the drag foce with a variable slip correction factor (a function of local temperature and pressure.) Do you know how to obtain the pressure and temperature at the current particle position and current time step? I tried to use the following, but it does not seem to work. Why?

cell_t c = RP_CELL(&p->cCell); Thread *t = RP_THREAD(&p->cCell); real pressure=C_P(c,t); real temp=C_T(c,t);

Thanks in advance! hedonist
ffsun likes this.
  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
DPM drag UDF Hanz Fluent UDF and Scheme Programming 1 June 28, 2016 17:50
Drag coefficient, DPM. jorge poyatos FLUENT 14 January 20, 2012 14:41
formula used for drag force? kamma Main CFD Forum 0 April 2, 2010 11:21
UDF for lift force on a bluff body sawa FLUENT 2 April 11, 2005 04:06
Airfoil Drag Force wowakai Main CFD Forum 3 October 13, 1998 20:27


All times are GMT -4. The time now is 14:31.