|
[Sponsors] |
November 15, 2011, 23:59 |
problem with writing UDF for dpm
|
#1 |
New Member
massoud
Join Date: Nov 2011
Posts: 20
Rep Power: 15 |
Hi,
is there anyone who knows that how I can understand whether a cell is host of a particle in dpm model? thank you so much in advance . |
|
November 16, 2011, 03:58 |
|
#3 |
New Member
massoud
Join Date: Nov 2011
Posts: 20
Rep Power: 15 |
hi amir,
Thank you for your respond, the problem is I do not have the "p" (pointer). I have to compute gradient of a certain normal tension at the point that particle is. but for doing that I need to calculate this normal tension all over the domain, and this normal tension depends on particle volume fraction in each cell. then I can calculate its gradient. So, first I have to calculate the normal tension by using the define adjust macro which does not pass the particle pointers. do you think is there another way to find whether there is any particle in a cell? |
|
November 16, 2011, 05:08 |
|
#4 |
Senior Member
|
Dear Massoud,
This is not good idea to use this procedure; it's better to use a DPM macro in order to convert lagrangian data to eulerian one (something like DEFINE_DPM_SCALAR_UPDATE or ...) for this purpose you can use UDMs as an extra memory to store particle concentration; in next step, use DEFINE_ADJUST macro to evaluate new properties. Bests,
__________________
Amir |
|
November 16, 2011, 05:13 |
|
#5 |
New Member
massoud
Join Date: Nov 2011
Posts: 20
Rep Power: 15 |
Dear amir,
Thank you again, could you tell me how can I calculate particle concentration in each cell? if I can do that my problem would be solved. Cheers |
|
November 16, 2011, 05:19 |
|
#6 | |
Senior Member
|
Quote:
Experimental measurements and numerical simulations of particle transport and distribution in ventilated rooms; Z. Zhang, Q. Chen; Atmospheric Environment 40 (2006) 3396–3408 Use Eq.7 .... Bests,
__________________
Amir |
||
November 16, 2011, 05:21 |
|
#7 |
New Member
massoud
Join Date: Nov 2011
Posts: 20
Rep Power: 15 |
dear amir,
I really appreciate you taking the time to answer my questions, CHeers |
|
Tags |
dpm, macro, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
UDF Problem | ozgur | Fluent UDF and Scheme Programming | 18 | January 17, 2016 15:40 |
UDF compiling problem in Flient 6.3 | jeevan kumar | FLUENT | 2 | February 25, 2009 01:43 |
UDF using problem, error happens-heip!! | Michael | FLUENT | 1 | December 9, 2008 08:51 |
UDF PROBLEM | anant | FLUENT | 2 | January 17, 2007 01:15 |