|
[Sponsors] |
August 8, 2002, 12:54 |
UDF-DPM
|
#1 |
Guest
Posts: n/a
|
Hi,
I am using UDF to define the body force for the particles in DPM. DEFINE_DPM_BODY_FORCE(particle_body_force, p, i) How can I get the current location of a particle in this macro? Can I use C_CENTROID(x, c, t)? Thanks, |
|
August 8, 2002, 21:38 |
Re: UDF-DPM
|
#2 |
Guest
Posts: n/a
|
Hi,
C_CENTROID returns a cell center location around a particle. About a particle location , you have to use this one "p->state.pos[0]". This zero is position vector. Regards, Keil |
|
August 9, 2002, 10:21 |
Re: UDF-DPM
|
#3 |
Guest
Posts: n/a
|
Hi,
Keil, Thank you very much! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT | subhankar_bhandari | FLUENT | 0 | August 19, 2010 04:01 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
DPM with UDF - Step-by-Step Procedure???? | Prashanth | FLUENT | 3 | April 3, 2009 18:45 |
DPM - UDF for fluctuating bubble size | Jaroslav Kotara | FLUENT | 1 | April 19, 2006 10:02 |
Boundary Condition UDF for DPM | Nicholas Wood | FLUENT | 0 | June 16, 2004 10:02 |