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

UDF-DPM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 8, 2002, 11: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, 20: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, 09:21
Default Re: UDF-DPM
  #3
Zhenan Li
Guest
 
Posts: n/a
Hi,

Keil,

Thank you very much!
  Reply With Quote

Reply

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
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari FLUENT 0 August 19, 2010 03:01
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
DPM with UDF - Step-by-Step Procedure???? Prashanth FLUENT 3 April 3, 2009 17:45
DPM - UDF for fluctuating bubble size Jaroslav Kotara FLUENT 1 April 19, 2006 09:02
Boundary Condition UDF for DPM Nicholas Wood FLUENT 0 June 16, 2004 09:02


All times are GMT -4. The time now is 07:09.