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

udf about particle concentration--who can help me?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By suijth

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2007, 20:12
Default udf about particle concentration--who can help me?
  #1
zhaoh
Guest
 
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, 11:46
Default Re: udf about particle concentration--who can help
  #2
suijth
Guest
 
Posts: n/a
C_STORAGE_R(c,t,SV_DPMS_CONCENTRATION)

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 http://www.cfd-online.com/Forum/fluent.cgi?read=45016

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

Sujith

Alimohamadi_nasr likes this.
  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
UDF to Access Wall Normal Concentration Gradient Daniel Tanner Fluent UDF and Scheme Programming 4 February 18, 2015 14:35
Problem with a simple UDF to calculate cell-averaged particle values kmayank FLUENT 1 January 18, 2011 01: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 13:23


All times are GMT -4. The time now is 02:51.