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

DPM_BC smillar to Filter

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 25, 2017, 02:20
Question DPM_BC smillar to Filter
  #1
New Member
 
Yoon
Join Date: Mar 2015
Location: Seoul
Posts: 20
Rep Power: 4
touyet is on a distinguished road
Hi

currently I'm working on filter efficiency. and I already know penetration Efficiency of filter in each particle size.

To try this on fluent simulation, I want put udf about DPM in porous jump.

My plan is generate random number on each particle (like 0 to1) and if particle has low random number than filter penetration Efficiency, the particle considered to pass through (PATH_ACTIVE ; ) (I checked this Pass Active condition in my doamin, but it seems to reflect particles in porous jump BC)
Else, particle considered to Capture (PATH_ABORT ; )


Problem is.. How can I modifie my UDF to some particles can passing through the porous jump plane
touyet is offline   Reply With Quote

Old   April 25, 2017, 02:21
Default
  #2
New Member
 
Yoon
Join Date: Mar 2015
Location: Seoul
Posts: 20
Rep Power: 4
touyet is on a distinguished road
DEFINE_DPM_BC(bc_filter,p,t,f,f_normal,dim)
{
int a;


/* Different Efficiency by Particle Diameter && Penentration Efficiency */
if ((P_DIAM(p)==0.000000005) && (P_USER_REAL(p,0) >= (0.266*32000)))
{p->gvtp.n_trapped+=1;
a=PATH_ABORT;}

else if ((P_DIAM(p)==0.000000020) && (P_USER_REAL(p,0) >= (0.750*32000)))
{p->gvtp.n_trapped+=1;
a=PATH_ABORT;}

else if ((P_DIAM(p)==0.000000050) && (P_USER_REAL(p,0) >= (0.885*32000)))
{p->gvtp.n_trapped+=1;
a=PATH_ABORT;}

else if ((P_DIAM(p)==0.000000100) && (P_USER_REAL(p,0) >= (0.922*32000)))
{p->gvtp.n_trapped+=1;
a=PATH_ABORT;}

else if ((P_DIAM(p)==0.000000300) && (P_USER_REAL(p,0) >= (0.881*32000)))
{p->gvtp.n_trapped+=1;
a=PATH_ABORT;}

else if ((P_DIAM(p)==0.000000780) && (P_USER_REAL(p,0) >= (0.616*32000)))
{p->gvtp.n_trapped+=1;
a=PATH_ABORT;}
else
{p->gvtp.n_Escaped+=1;
a=PATH_ACTIVE;}

return (int) a;

}

My Udf for filtering now and Active condition doesn't work as I intended
Plz someone help with this UDF

regards.
touyet is offline   Reply With Quote

Old   April 26, 2017, 02:01
Default
  #3
New Member
 
Join Date: Mar 2017
Posts: 8
Rep Power: 2
ctw987 is on a distinguished road
touyet touyet touyet touyet touyettouyettouyet
ctw987 is offline   Reply With Quote

Reply

Tags
dpm, filter, path_, porous jump

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
dynLagrangian SGS model tidal_Tom OpenFOAM Running, Solving & CFD 40 September 25, 2017 14:05
how can use the LES filter? (laplace filter and anistropic filter) ethan oh OpenFOAM Running, Solving & CFD 9 July 12, 2017 14:44
Accumulating Dust on a Filter Cartridge WalterW CFX 20 April 22, 2014 06:19
LES Filter in Smagorinsky model on inhomogenous grids Ivan Main CFD Forum 1 October 25, 2012 11:30
Filter lifetime aszbestos FLUENT 0 February 13, 2002 08:59


All times are GMT -4. The time now is 00:26.