|
[Sponsors] |
April 25, 2017, 03:20 |
DPM_BC smillar to Filter
|
#1 |
New Member
Yoon
Join Date: Mar 2015
Location: Seoul
Posts: 22
Rep Power: 11 |
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 |
|
April 25, 2017, 03:21 |
|
#2 |
New Member
Yoon
Join Date: Mar 2015
Location: Seoul
Posts: 22
Rep Power: 11 |
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. |
|
April 26, 2017, 03:01 |
|
#3 |
New Member
Join Date: Mar 2017
Posts: 8
Rep Power: 9 |
touyet touyet touyet touyet touyettouyettouyet
|
|
Tags |
dpm, filter, path_, porous jump |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dynLagrangian SGS model | tidal_Tom | OpenFOAM Running, Solving & CFD | 43 | November 16, 2022 06:13 |
Accumulating Dust on a Filter Cartridge | WalterW | CFX | 21 | May 26, 2020 07:23 |
how can use the LES filter? (laplace filter and anistropic filter) | ethan oh | OpenFOAM Running, Solving & CFD | 11 | December 26, 2018 03:37 |
LES Filter in Smagorinsky model on inhomogenous grids | Ivan | Main CFD Forum | 1 | October 25, 2012 12:30 |
Filter lifetime | aszbestos | FLUENT | 0 | February 13, 2002 08:59 |