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

Pulsatile blood flow in arteries

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2015, 14:31
Default Pulsatile blood flow in arteries
  #1
New Member
 
Rafael Agujetas
Join Date: Jul 2014
Posts: 13
Rep Power: 11
rafash2 is on a distinguished road
Hi everyone,
I am a beginner in Fluent, but I am working in my final thesis in blood flow simulations through arteries.
I need to implement the pulsatile and sinusoidal blood velocity at inlet, similar as the attached image.
I have tried with the next code but, for instance, it doesn´t consider the retrograde flow (negative velocity).

/************************************************** *********************/
/* vinlet_udf.c
*/
/* UDFs for specifying time dependant velocity profile boundary condition
*/
/************************************************** *********************/

#include "udf.h"//file that contains definitions for define functions and fluent operations
#define PI 3.141592654

DEFINE_PROFILE(inlet_velocity,th,i)
{
face_t f;
begin_f_loop(f,th)
double t = (CURRENT_TIME*2-floor(CURRENT_TIME*2))/2; //t is the local time within each period

{
if(t <= 0.218)
F_PROFILE(f,th,i) = 0.5*sin(4*PI*(t+0.0160236));
else
F_PROFILE(f,th,i) = 0.1;
}
end_f_loop(f,th);
}

I know that I have to create a UDF code but, as I said, I am a rookie in Fluent.
Can anybody help me please??
Regards,
Rafa
Attached Images
File Type: jpg blood_flow.jpg (17.2 KB, 30 views)
rafash2 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
Pulsatile blood flow Duncan FLUENT 12 October 26, 2016 10:23
Pulsatile Flow Boundary Conditions Lior FLUENT 3 April 20, 2014 08:26
How to set pulsatile flow in cfx? bmdaortiz CFX 4 September 8, 2009 23:48
simulation on pulsatile flow in elastic conduit pratyush rai FLUENT 0 December 13, 2005 04:28
blood flow simulation start-up hints please olumide olododo Main CFD Forum 4 May 31, 2004 12:33


All times are GMT -4. The time now is 04:51.