CFD Online Logo CFD Online URL
Home > Forums > FLUENT

udf about particle concentration--who can help me?

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

Like Tree1Likes
  • 1 Post By suijth

LinkBack Thread Tools Display Modes
Old   January 16, 2007, 21:12
Default udf about particle concentration--who can help me?
Posts: n/a
hi: I am researching on particle.I want to write a UDF about particle body force. But the force is relative to particle concentration.I cann`t find the micros of concentration. Who can help to compile the particle concentration. How to write particle concentration of every cell in computational domainab. Could you share an example about the program of the particle concentration with me.

Thanks you so much! Best wishes!
  Reply With Quote

Old   January 17, 2007, 12:46
Default Re: udf about particle concentration--who can help
Posts: n/a

Hi again,

the procedure is as follows;

1. use DEFINE_DPM_BODY_FORCE, this will loop over all particles.

2. In side the DEFINE_DPM_BODY_FORCE , find the cell and cell thread in which particle is located, macros(RP_CELL(&(p->cCell)) )are there in your previous thread

3. provide the cell and cell thread to macro C_STORAGE_R(c,t,SV_DPMS_CONCENTRATION) and get concentration;

4. calculate the body force and return;

best wishes


Alimohamadi_nasr likes this.
  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
UDF to Access Wall Normal Concentration Gradient Daniel Tanner Fluent UDF and Scheme Programming 4 February 18, 2015 15:35
Problem with a simple UDF to calculate cell-averaged particle values kmayank FLUENT 1 January 18, 2011 02:40
UDF for Particle reaction and DPM_Property saifulraju ANSYS 0 September 22, 2010 07:24
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
UDF about particle concentration????????? zhaoh FLUENT 1 January 23, 2007 14:23

All times are GMT -4. The time now is 11:44.