CFD Online Logo CFD Online URL
Home > Forums > FLUENT

DPM drag force UDF

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

LinkBack Thread Tools Display Modes
Old   March 12, 2003, 22:10
Default DPM drag force UDF
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
  Reply With Quote


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
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 10:21
DPM drag UDF Hanz Fluent UDF and Scheme Programming 0 June 1, 2009 14:25
UDF for lift force on a bluff body sawa FLUENT 2 April 11, 2005 03:06
Airfoil Drag Force wowakai Main CFD Forum 3 October 13, 1998 19:27

All times are GMT -4. The time now is 04:59.