|
[Sponsors] |
March 12, 2003, 22:10 |
DPM drag force UDF
|
#1 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |