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

DPM concentration

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By massoudepsilon
  • 2 Post By abdulsamad

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2004, 08:45
Default DPM concentration
  #1
Szabolcs Varga
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
  Reply With Quote

Old   April 27, 2004, 10:28
Default Re: DPM concentration
  #2
thomas
Guest
 
Posts: n/a
this is to allocate the memory in order to be able to use the DPM_CONCENTRATION macro.

Hope this help
  Reply With Quote

Old   November 16, 2011, 23:28
Default
  #3
New Member
 
massoud
Join Date: Nov 2011
Posts: 20
Rep Power: 14
massoudepsilon is on a distinguished road
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
Dosin likes this.
massoudepsilon is offline   Reply With Quote

Old   February 9, 2016, 07:50
Default DPM concentration
  #4
New Member
 
abdul samad
Join Date: Jul 2015
Posts: 2
Rep Power: 0
abdulsamad is on a distinguished road
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;
}
BlnPhoenix and Dosin like this.

Last edited by abdulsamad; February 9, 2016 at 07:53. Reason: soory., copied file is wrong
abdulsamad is offline   Reply With Quote

Old   February 9, 2016, 07:52
Default
  #5
New Member
 
abdul samad
Join Date: Jul 2015
Posts: 2
Rep Power: 0
abdulsamad is on a distinguished road
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;
}
abdulsamad is offline   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
Discrete Phase Model and DPM Concentration Zach FLUENT 1 March 10, 2009 15:36
DPM concentration jack FLUENT 0 July 30, 2008 09:12
dpm concentration HK FLUENT 0 March 6, 2008 05:44
DPM concentration you FLUENT 0 May 28, 2001 10:24
DPM Concentration you FLUENT 0 May 23, 2001 03:59


All times are GMT -4. The time now is 01:18.