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

Particle shear rate calculation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2024, 19:19
Default Particle shear rate calculation
  #1
New Member
 
Nabil
Join Date: Aug 2024
Posts: 5
Rep Power: 2
Md Nabil is on a distinguished road
Hello,

I wanted to know if I can obtain the shear rate of particles (30 microns) while they flow in a channel. I am using the DPM model for simulation in Ansys Fluent. All I got from the internet is how to obtain the shear stress of fluid. But if there is a way to obtain the shear stress and rate of the particles suspended, that would be really helpful to me.
Md Nabil is offline   Reply With Quote

Old   October 7, 2024, 19:31
Default
  #2
New Member
 
Nabil
Join Date: Aug 2024
Posts: 5
Rep Power: 2
Md Nabil is on a distinguished road
As it turned out the UDF below worked for me

#include "udf.h"
#include "dpm.h"

DEFINE_DPM_DRAG(spherical_drag_shear_velocity_mode l, Re, p)
{
real mu, dp, v_rel, drag_force, shear_stress, particle_area, particle_velocity;

cell_t c = P_CELL(p);
Thread *t = P_CELL_THREAD(p);

mu = C_MU_L(c, t); // dynamic viscosity in this cell

dp = P_DIAM(p);

particle_velocity = sqrt(pow(P_VEL(p)[0], 2) +
pow(P_VEL(p)[1], 2) +
pow(P_VEL(p)[2], 2));

v_rel = sqrt(pow(P_VEL(p)[0] - C_U(c, t), 2) +
pow(P_VEL(p)[1] - C_V(c, t), 2) +
pow(P_VEL(p)[2] - C_W(c, t), 2));

drag_force = 3.0 * M_PI * mu * dp * v_rel;

particle_area = 0.25 * M_PI * pow(dp, 2.0);

shear_stress = drag_force / particle_area;

C_UDMI(c, t, 0) = drag_force;

C_UDMI(c, t, 1) = shear_stress;

C_UDMI(c, t, 2) = particle_velocity;

Message("drag force : %.10f\n", C_UDMI(c, t, 0));
Message("shear stress: %.6f\n", C_UDMI(c, t, 1));
Message("particle velocity : %.6f\n", C_UDMI(c, t, 2));


return drag_force;
}

But Report>Discrete Phase>Sample also works for velocity collection
Md Nabil is offline   Reply With Quote

Reply

Tags
dpm fluent, shear rate calculation


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
Mass flow rate calculation based on the data of Xu and Froment Kinetics. chinu007 Main CFD Forum 0 August 29, 2022 10:33
Finding shear rate of flow in fluent prkoirala FLUENT 4 September 7, 2020 04:37
Shear strain rate insertion at Bingham plastic model Ahammed Rubel CFX 1 May 12, 2020 13:44
Shear strain rate insertion at Bingham plastic model Rubel Ahammed Main CFD Forum 0 May 9, 2020 08:00
Particle diameter calculation hebe2u CFX 4 February 21, 2019 05:43


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