


{"id":379366,"date":"2024-08-19T15:27:53","date_gmt":"2024-08-19T15:27:53","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/"},"modified":"2024-08-19T15:35:44","modified_gmt":"2024-08-19T15:35:44","slug":"379366","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/","title":{"rendered":"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC"},"content":{"rendered":"<p>&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.&lt;\/p&gt;&lt;p&gt;anyway, now my question is simple, I get to see how many particles stick and how many bounce from the object. How do I visualise the contours for the same? I would want to display the particle adhesion on a surface as a heatmap.&lt;\/p&gt;&lt;p&gt;here is my code:&lt;br&gt;&lt;br&gt;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;div&gt;&lt;div&gt;#include &ldquo;udf.h&rdquo;&lt;\/div&gt;&lt;div&gt;#include &ldquo;dpm.h&rdquo;&lt;\/div&gt;&lt;br&gt;&lt;br&gt;&lt;div&gt;#define mu 0.5&lt;\/div&gt;&lt;div&gt;#define PI 3.14&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;real FD(real diam, real velocidad)&lt;\/div&gt;&lt;div&gt;{&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; return ((1\/2) * 1.225 * 0.44 * M_PI*(((diam)*(diam))\/4) * (velocidad*velocidad));&lt;\/div&gt;&lt;div&gt;}&lt;\/div&gt;&lt;br&gt;&lt;div&gt;FILE *fp1;&lt;\/div&gt;&lt;div&gt;FILE *fp2;&lt;\/div&gt;&lt;div&gt;FILE *fp3;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;\/\/real x[3];&lt;\/div&gt;&lt;br&gt;&lt;div&gt;\/\/x[0] = 0.0; &nbsp; \/\/ Assign value to the x component&lt;\/div&gt;&lt;div&gt;\/\/x[1] = 0.0; &nbsp; \/\/ Assign value to the y component&lt;\/div&gt;&lt;div&gt;\/\/x[2] = 0.0; &nbsp; \/\/ Assign value to the z component&lt;\/div&gt;&lt;br&gt;&lt;div&gt;DEFINE_DPM_DRAG(particle_drag_force, Re, p)&lt;\/div&gt;&lt;div&gt;{&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; FILE *fp1;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real w, drag_force, F, nf, ff, ff123;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; Thread* tcell = P_CELL_THREAD(p);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; cell_t c = P_CELL(p);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real relVel[ND_3], dvtdn, fluidVel[ND_3];&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; if (Re &lt; 1)&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; drag_force = 18;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; }&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; else if (Re &lt; 20.0)&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; w = log10(Re);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; drag_force = 18.0 + 2.367 * pow(Re, 0.82 &ndash; 0.05 * w);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; }&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; else&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; drag_force = 18.0 + 3.483 * pow(Re, 0.6305);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; }&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; NV_D(fluidVel, =, C_U(c, tcell), C_V(c, tcell), C_W(c, tcell)); &nbsp; &nbsp; &nbsp; &nbsp; \/\/assigning fluid velocity components to vector&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; NV_VV(relVel, =, fluidVel, -, P_VEL(p)); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/calculating relative velocity of flow on particle by subtracting absolute particle velocity from fluid velocity&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; dvtdn = NV_MAG(relVel); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/calculation of relative velocity magnitude&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; \/\/ P_USER_REAL(p, 0) = FD(drag_force, C_MU_L(c, tcell), P_RHO(p), P_DIAM(p), P_MASS(p), dvtdn); \/*Drag force*\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; P_USER_REAL(p, 0) = FD(P_DIAM(p), dvtdn); \/*Drag force*\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; P_USER_REAL(p, 1) = dvtdn;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; \/\/ F = (1\/2)*1.225*0.3*M_PI*(((P_DIAM(p))*(P_DIAM(p)))\/4)*(dvtdn*dvtdn);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; \/\/ F = (1\/2)*1.225*0.3*10000000*M_PI*(((P_DIAM(p))*(P_DIAM(p)))\/4)*(dvtdn*dvtdn)*(10000000000);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; \/\/ P_USER_REAL(p, 2) = F;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; \/\/ nf = C_P(c, tcell) * M_PI (((P_DIAM(p))*(P_DIAM(p)))\/4) *10000000000;&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; fp1=fopen (&ldquo;Impact-2-drag-data.txt&rdquo; , &ldquo;a&rdquo;);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; \/\/ fprintf( fp1 , &ldquo;%e %f %e %f %f %e %e\\n&rdquo;, P_USER_REAL(p, 0), P_USER_REAL(p, 1), P_USER_REAL(p, 2), drag_force, P_DIAM(p), F, P_USER_REAL(p, 3));&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real diameter_squared = P_DIAM(p) * P_DIAM(p);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real area_term = (diameter_squared) \/ 4;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real velocity_term = dvtdn * dvtdn;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real constant_factor = (1.0 \/ 2.0) * 1.225 * 0.3 * PI;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; F = constant_factor * area_term * velocity_term * (10000000);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; P_USER_REAL(p, 2) = F;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; nf = C_P(c, tcell) * (PI\/4.0) * diameter_squared *10000000;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; ff = mu * nf;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; ff123 = ff;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; P_USER_REAL(p, 3) = ff123;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; fprintf(fp1, &ldquo;Area Term: %e, Velocity Term: %e, F (final): %e, Constant factor: %e, friction force: %e, Normal force: %e\\n&rdquo;, area_term, velocity_term, P_USER_REAL(p, 2), constant_factor, P_USER_REAL(p, 3), nf);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; fprintf(fp1, &ldquo;Pressure: %e, &nbsp;ff123: %e\\n&rdquo;, C_P(c, tcell), ff123);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; fclose(fp1);&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; return (drag_force);&lt;\/div&gt;&lt;div&gt;}&lt;\/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div&gt;DEFINE_DPM_BC(wall_model, p, t, f, f_normal, dim)&lt;\/div&gt;&lt;div&gt;{&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real alpha; &nbsp;\/* angle of particle path with face normal *\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real vn=0.;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real nor_coeff = 0.3;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real tan_coeff = 0.3;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real normal[3];&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; int i;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real posx, posy, posz;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; \/\/ real NV_VEC(x);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; real x[ND_ND];&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp;\/\/#if !RP_HOST&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; #if RP_2D&lt;\/div&gt;&lt;div&gt;&nbsp; \/\/dim is always 2 in 2D compilation. Need special treatment for 2d axisymmetric and swirl flows&lt;\/div&gt;&lt;div&gt;&nbsp; if (rp_axi_swirl)&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; real R = sqrt(P_POS(p)[1]*P_POS(p)[1] +&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_POS(p)[2]*P_POS(p)[2]);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; if (R &gt; 1.e-20)&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; idim = 3;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; normal[0] = f_normal[0];&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; normal[1] = (f_normal[1]*P_POS(p)[1])\/R;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; normal[2] = (f_normal[1]*P_POS(p)[2])\/R;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; }&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; else&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (i=0; i&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; normal[i] = f_normal[i];&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; }&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; }&lt;\/div&gt;&lt;div&gt;&nbsp; else&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; #endif&lt;\/div&gt;&lt;br&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; for (i=0; i&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; normal[i] = f_normal[i];&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; \/\/Message (&ldquo;Text \\n&rdquo;);&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; if (p-&gt;type == DPM_TYPE_INERT)&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; if (fabs(P_USER_REAL(p, 2)) &lt; fabs(P_USER_REAL(p, 3)))&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; \/\/ Particle bounce: Aerodynamic force &gt; Pressure force on particle. So particle must be resuspended to the flow.&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; posx = P_POS(p)[0];&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; posy = P_POS(p)[1];&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; posz = P_POS(p)[2];&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_USER_REAL(p, 4) = posx;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_USER_REAL(p, 5) = posy;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_USER_REAL(p, 6) = posz;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_VEL(p)[i] = 0;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_USER_REAL(p, 7) += 1.;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fp2=fopen (&ldquo;Impact-Stick.txt&rdquo; , &ldquo;a&rdquo;);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fprintf( fp2 , &ldquo;Force due to aero (Fa): %f, Friction force (ff): %f, How many stick? = %f, x coordinate: %f, y coorfdinate: %f, z coordinate: %f\\n&rdquo;, P_USER_REAL(p, 2), P_USER_REAL(p, 3), P_USER_REAL(p, 7), P_USER_REAL(p, 4), P_USER_REAL(p, 5), P_USER_REAL(p, 6));&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fflush(fp2);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fclose(fp2);&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PATH_ACTIVE;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; }&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; else&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alpha = (PI\/2.0) &ndash; acos(MAX(-1.,MIN(1.,NV_DOT(normal,P_VEL(p))\/ MAX(NV_MAG(P_VEL(p)),DPM_SMALL))));&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ((NNULLP(t)) &amp;&amp; (THREAD_TYPE(t) == THREAD_F_WALL))&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; F_CENTROID(x, f, t);&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* Compute normal velocity. *\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vn += P_VEL(p)[i]*normal[i];&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* Subtract off normal velocity. *\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_VEL(p)[i] -= vn*normal[i];&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* Apply tangential coefficient of restitution. *\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_VEL(p)[i] *= tan_coeff;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* Add reflected normal velocity. *\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_VEL(p)[i] -= nor_coeff*vn*normal[i]; &nbsp;&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* Store new velocity in P_VEL0 of particle *\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_VEL0(p)[i] = P_VEL(p)[i];&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P_USER_REAL(p, 8) += 1.;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fp3=fopen (&ldquo;Impact-Bounce.txt&rdquo; , &ldquo;a&rdquo;) ;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fprintf(fp3 , &ldquo;Force due to aero (Fa): %f, Friction force (ff): %f, Number of particles bounced: %f\\n&rdquo;, P_USER_REAL(p, 2), P_USER_REAL(p, 3), P_USER_REAL(p, 8));&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fflush(fp3);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fclose(fp3);&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PATH_ACTIVE;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; }&lt;\/div&gt;&lt;br&gt;&lt;div&gt;&nbsp; &nbsp; }&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; else&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; return PATH_END;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; }&lt;\/div&gt;&lt;div&gt;&nbsp;\/\/#endif&lt;\/div&gt;&lt;div&gt;}&lt;\/div&gt;&lt;\/div&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;<\/p>\n","protected":false},"template":"","class_list":["post-379366","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.anyway, now my question is simple, I get to see how many particles stick and how many bounce from the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.anyway, now my question is simple, I get to see how many particles stick and how many bounce from the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-08-19T15:27:53+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-08-19T15:35:44+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.anyway, now my question is simple, I get to see how many particles stick and how many bounce from the\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/379366\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/379366\\\/#listItem\",\"name\":\"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/379366\\\/#listItem\",\"position\":2,\"name\":\"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/379366\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/379366\\\/\",\"name\":\"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC | Ansys Learning Forum\",\"description\":\"I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.anyway, now my question is simple, I get to see how many particles stick and how many bounce from the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/379366\\\/#breadcrumblist\"},\"datePublished\":\"2024-08-19T15:27:53+00:00\",\"dateModified\":\"2024-08-19T15:35:44+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC | Ansys Learning Forum","description":"I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.anyway, now my question is simple, I get to see how many particles stick and how many bounce from the","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/#listItem","name":"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/#listItem","position":2,"name":"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/","name":"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC | Ansys Learning Forum","description":"I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.anyway, now my question is simple, I get to see how many particles stick and how many bounce from the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/#breadcrumblist"},"datePublished":"2024-08-19T15:27:53+00:00","dateModified":"2024-08-19T15:35:44+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC | Ansys Learning Forum","og:description":"I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.anyway, now my question is simple, I get to see how many particles stick and how many bounce from the","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/","article:published_time":"2024-08-19T15:27:53+00:00","article:modified_time":"2024-08-19T15:35:44+00:00","twitter:card":"summary_large_image","twitter:title":"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC | Ansys Learning Forum","twitter:description":"I think the issue was with the order of each force quantities, it was in the scale if E-09 or E-11 so I used a factor which multiplied these insignificant quantities to compare with the others.anyway, now my question is simple, I get to see how many particles stick and how many bounce from the"},"aioseo_meta_data":{"post_id":"379366","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 16:32:29","updated":"2024-10-28 16:32:29","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tReply To: Ansys Fluent UDF: DEFINE_DPM_BC\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Reply To: Ansys Fluent UDF: DEFINE_DPM_BC","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/379366\/"}],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/379366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/379366\/revisions"}],"predecessor-version":[{"id":379367,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/379366\/revisions\/379367"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=379366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}