|
[Sponsors] |
udf about particle concentration--who can help me? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 16, 2007, 21:12 |
udf about particle concentration--who can help me?
|
#1 |
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! |
|
January 17, 2007, 12:46 |
Re: udf about particle concentration--who can help
|
#2 |
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 |
|
|
|
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 08:24 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
UDF about particle concentration????????? | zhaoh | FLUENT | 1 | January 23, 2007 14:23 |