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

Lagrangian approach to solve for shear induced blood damage?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2020, 01:36
Default Lagrangian approach to solve for shear induced blood damage?
  #1
New Member
 
Sai Paruchuri
Join Date: Feb 2020
Posts: 4
Rep Power: 6
paru is on a distinguished road
I am trying to calculate lagrangian blood damage by using DPM in Fluent. So, to calculate the degree of blood damage on a particle, I'd need to integrate shear stress on the particle (^exponent) w.r.t (residence) time. When I use the UDF below, I am getting a value of 0. I even tried replacing the values of C_MU_L and C_R with the actual numbers since they are constant throughout the domain.

I am a beginner in Fluent UDF programming and sincerely appreciate any suggestions/help towards getting this UDF right.

#include "udf.h"


#define A *****
#define exp_t ****
#define exp_tau ***

DEFINE_DPM_SOURCE(calc_HIp, c, t, dS, eqn)
{
real tau = C_STRAIN_RATE_MAG(c,t)*(C_MU_L(c,t));
real source = pow(A,1.0/exp_t)*pow(tau,exp_tau/exp_t)*C_R(c,t);

dS[eqn] = 0.;

return source;
}

Thanks in advance
paru is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pseudo-transient Lagrangian approach ASimonsen OpenFOAM Running, Solving & CFD 0 May 20, 2020 09:47
Blood Damage Modelling via Particle Tracking in a Centrifugal Heart Pump scatman CFX 7 January 8, 2018 01:59
Need the right Approach for solving Centrifugal blood pump kastarkas FLUENT 0 August 31, 2016 06:23
lagrangian particle tracking (LPT) to solve two phase flow mksingh OpenFOAM 0 August 22, 2011 05:09
Statistical Approach for Lagrangian Two Phase Model Hesham El-Batsh Main CFD Forum 0 November 20, 1998 10:20


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