|
[Sponsors] |
April 27, 2004, 09:45 |
DPM concentration
|
#1 |
Guest
Posts: n/a
|
Dear all, I would like to get the concentration (kg/m3)of injected (inert) particles for each cell. In the user manual, there are only a few notes on particle concentration in the field variable list, but nothing on how to get it. In the UDF manual, there is nothing. I got a UDF example from somebody where this line appears:
qm3=charge_mass*C_STORAGE_R(c,t,SV_DPMS_CONCENTRAT ION); Could please somebody explain me the meaning and the usage of the C_STORAGE_R and SV_DPMS_CONCENTRATION functions? C_STORAGE_R appears once in the manual but without expalanation. Thank you, Szabolcs |
|
April 27, 2004, 11:28 |
Re: DPM concentration
|
#2 |
Guest
Posts: n/a
|
this is to allocate the memory in order to be able to use the DPM_CONCENTRATION macro.
Hope this help |
|
November 17, 2011, 00:28 |
|
#3 |
New Member
massoud
Join Date: Nov 2011
Posts: 20
Rep Power: 15 |
Hi Szaboles Varga,
I am wondering if you could solve the problem of calculating dpm concentration. I have to calculate it amd I do not know how I should use C_DPM_CONCENTRATION(c,t) macro exactly, I will be grateful if you can help me Bests, Massoud |
|
February 9, 2016, 08:50 |
DPM concentration
|
#4 |
New Member
abdul samad
Join Date: Jul 2015
Posts: 2
Rep Power: 0 |
real concentration1(int id)
{ Domain *d=Get_Domain(1); Particle *p; cell_t c; Thread *c_thread=Lookup_Thread(d,id); real mass=0.0,concentration=0.0; thread_loop_c(c_thread,d) { begin_c_loop(c,c_thread) { mass+=C_DPMS_CONCENTRATION(c,c_thread); } end_c_loop(c,c_thread) } concentration=mass*0.0003925; return concentration; } Last edited by abdulsamad; February 9, 2016 at 08:53. Reason: soory., copied file is wrong |
|
February 9, 2016, 08:52 |
|
#5 |
New Member
abdul samad
Join Date: Jul 2015
Posts: 2
Rep Power: 0 |
real concentration1(int id)
{ Domain *d=Get_Domain(1); Particle *p; cell_t c; Thread *c_thread=Lookup_Thread(d,id); real mass=0.0,concentration=0.0; thread_loop_c(c_thread,d) { begin_c_loop(c,c_thread) { mass+=C_DPMS_CONCENTRATION(c,c_thread); } end_c_loop(c,c_thread) } concentration=mass*0.0003925; return concentration; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Discrete Phase Model and DPM Concentration | Zach | FLUENT | 1 | March 10, 2009 16:36 |
DPM concentration | jack | FLUENT | 0 | July 30, 2008 10:12 |
dpm concentration | HK | FLUENT | 0 | March 6, 2008 06:44 |
DPM concentration | you | FLUENT | 0 | May 28, 2001 11:24 |
DPM Concentration | you | FLUENT | 0 | May 23, 2001 04:59 |