CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF about particle concentration?????????

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

LinkBack Thread Tools Display Modes
Old   January 22, 2007, 07:46
Default UDF about particle concentration?????????
Posts: n/a
Hi Sujith

Thank you for your response. I have spent a long time on finding the example and method of how to using the concentration micros-- C_STORAGE_R(c,t,SV_DPMS_CONCENTRATION). But I haven`t find no help document of UDF.I think I should know the usage of this micros and its means. Can you help me for giving an example or relative help document. Thank you so much! #include "udf.h" #include "dpm.h" #include "surf.h" #define C1 0.0029 #define C2 0.03232 DEFINE_DPM_BODY_FORCE(p_b_force,p,i) { real bforce; cell_t c = RP_CELL(&(p->cCell)); Thread *t = RP_THREAD(&(p->cCell)); if(i==1) bforce=0; else if(i==0) bforce=C1*P_POS(p)[0]*P_POS(p)[0]* C_STORAGE_R(c,t,SV_DPMS_CONCENTRATION)+C2*P_POS(p)[0]; ???? return (bforce/P_MASS(p)); }

  Reply With Quote

Old   January 23, 2007, 14:23
Default Re: UDF about particle concentration?????????
Posts: n/a
I am not sure where this is the exact usage...

you can define a variable and store dpm conc and then use it ------- ------ DEFINE_DPM_BODY_FORCE(p_b_force,p,i) { real conc; cell_t c = RP_CELL(&(p->cCell)); Thread *t = RP_THREAD(&(p->cCell));


bforce= f(conc,x,y); return bforce/pmass; } ---

are you getting any error when using this way?

  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--who can help me? zhaoh FLUENT 1 January 17, 2007 12:46

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