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

UDF-DPM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2002, 12:54
Default UDF-DPM
  #1
Zhenan Li
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,
  Reply With Quote

Old   August 8, 2002, 21:38
Default Re: UDF-DPM
  #2
Keil
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
  Reply With Quote

Old   August 9, 2002, 10:21
Default Re: UDF-DPM
  #3
Zhenan Li
Guest
 
Posts: n/a
Hi,

Keil,

Thank you very much!
  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
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


All times are GMT -4. The time now is 08:17.