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

Particle-Source-In-cell (PSI-C) in DPM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gan6030

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2010, 06:09
Question Particle-Source-In-cell (PSI-C) in DPM
  #1
Member
 
john
Join Date: Nov 2010
Posts: 50
Rep Power: 16
johnwinter is on a distinguished road
Hi All,

Does any body knows how to get concentration of particles at required locations using DPM injection?

I am using Lagrangian particle tracking method. Any clues?

Thanks
John
johnwinter is offline   Reply With Quote

Old   November 10, 2010, 12:43
Default
  #2
Member
 
Allan Walsh
Join Date: Mar 2009
Posts: 56
Rep Power: 17
Allan Walsh is on a distinguished road
Do you mean to view the results of the concentration of the particle phase in Fluent? Or do you want to access the variable that contains the particle concentration in a macro? The variable for particle concentration will be described in the dpm.h header file and is called something like SV_DPMS_CONC... Good luck.
Allan Walsh is offline   Reply With Quote

Old   November 11, 2010, 00:10
Default
  #3
Member
 
john
Join Date: Nov 2010
Posts: 50
Rep Power: 16
johnwinter is on a distinguished road
Hi Walsh,

Thanks for your reply. I mean i want to monitor the DPM concentration at diferent locations in the domain. DO you have any idea can i do this using UDF?

Thanks
John
johnwinter is offline   Reply With Quote

Old   January 31, 2011, 07:31
Default
  #4
Member
 
john
Join Date: Nov 2010
Posts: 50
Rep Power: 16
johnwinter is on a distinguished road
Hi Guys,

I am still stuck at this problem. Does anybody used PSI-C method UDF for DPM particle tracking. PSI-C method converts no. of particles in cell to the concentration of particles in the cell. Hnece, we can view/get particle concentration in the domain as like scalar in the domain.

Thanks in advance
johnwinter is offline   Reply With Quote

Old   May 8, 2012, 23:36
Default
  #5
New Member
 
godspeedwzw
Join Date: Mar 2011
Posts: 8
Rep Power: 15
just like wind is on a distinguished road
hi, have you solved the problem? I have the same problem, can we add the dpm concentration to the variable list? and how to use the PSI-C method? thanks!
just like wind is offline   Reply With Quote

Old   May 8, 2012, 23:41
Default
  #6
New Member
 
godspeedwzw
Join Date: Mar 2011
Posts: 8
Rep Power: 15
just like wind is on a distinguished road
I checked the manual and find if we select "interation with continuous phase", the dpm concentration with appear in the variable list. but how we add this to the list when we do one way coupling without selecting "interation with continuous phase"?
just like wind is offline   Reply With Quote

Old   October 21, 2012, 16:17
Default
  #7
New Member
 
IVI
Join Date: Oct 2012
Posts: 14
Rep Power: 14
89566008 is on a distinguished road
I also want to display the contour of particle concentration.
how I can do this ?
89566008 is offline   Reply With Quote

Old   May 22, 2013, 14:52
Default
  #8
New Member
 
Join Date: Apr 2013
Posts: 1
Rep Power: 0
gan6030 is on a distinguished road
I have managed to display the concentration contour in kg/m^3 after activating "interaction with continuous phase" , i want it to be in cfu/m^3, how can i do it?

Thanks in advance
asal likes this.
gan6030 is offline   Reply With Quote

Old   May 22, 2013, 15:00
Default
  #9
New Member
 
mojtaba_a
Join Date: Aug 2012
Posts: 3
Rep Power: 14
mojtaba110 is on a distinguished road
Hi
as i understood, you have to solve it intransient. In DPM set you can mark the intransient solve . then you can track a particle.

Best Regards
mojtaba110 is offline   Reply With Quote

Old   September 7, 2013, 17:18
Default
  #10
Senior Member
 
Astio Lamar
Join Date: May 2012
Location: Pipe
Posts: 186
Rep Power: 14
asal is on a distinguished road
@gan6030:
Could you please share your approach to explore contour plot of concentration ?
do you find any solution for CFU?
thanks
asal is offline   Reply With Quote

Old   April 11, 2016, 08:01
Default
  #11
Member
 
yun
Join Date: Jul 2015
Posts: 37
Rep Power: 11
gush is on a distinguished road
hi all
anyone succeeded to use PSI-C for concentration calculation in one-way coupling?
gush is offline   Reply With Quote

Old   June 23, 2018, 09:30
Default
  #12
Member
 
yun
Join Date: Jul 2015
Posts: 37
Rep Power: 11
gush is on a distinguished road
can any one who needs it try the code below and share the comments if its working properly or not please?



ps. it needs to be compiled otherwise doesnt work!



#include "udf.h"

DEFINE_ON_DEMAND(Zero_UDM)
{
Domain *domain;
cell_t c;
Thread *t;

domain=Get_Domain(1);

thread_loop_c(t,domain)
{
begin_c_loop(c,t)
{
C_UDMI(c,t,0) = 0.0;
}
end_c_loop(c,t)
}

}


real dt;
DEFINE_DPM_SCALAR_UPDATE(Part_Con,c,t,initialize,p )
{
Set_User_Memory_Name(0,"UDM0: PSIC");

dt = (P_TIME(p) - P_TIME0(p));
C_UDMI(c,t,0) += P_FLOW_RATE(p)*dt/C_VOLUME(c,t);
}
gush is offline   Reply With Quote

Old   June 23, 2018, 18:36
Default
  #13
Senior Member
 
Join Date: Sep 2017
Posts: 246
Rep Power: 12
obscureed is on a distinguished road
Hi Gush,

I've replied to the other copy of this post. (write UDF for the dpm model)

Ed
obscureed 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
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 15:38
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
About Particle velocity of DPM in Fluent? long zhengwei FLUENT 0 March 13, 2009 05:02
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
DPM particle tracks - speed up? Greg Perkins FLUENT 0 September 5, 2003 03:56


All times are GMT -4. The time now is 13:35.