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

udf -pulsatile flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2013, 07:18
Default udf -pulsatile flow
  #1
New Member
 
PARTHASARATHI MISHRA
Join Date: Jul 2013
Posts: 3
Rep Power: 12
parthanitr is on a distinguished road
I want to change constant inlet velocity to sinusoidal
(asinwt) velocity which will vary with time. Can anybody send the udf file for the same for which I shall be obliged to you.
parthanitr is offline   Reply With Quote

Old   August 15, 2013, 04:45
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Try this one:

DEFINE_PROFILE(unsteady_velocity, thread, position)
{
face_t f;
begin_f_loop(f, thread)
{
real t = RP_Get_Real("flow-time");
F_PROFILE(f,thread,position)= 2000.+ 100*t;
}
end_f_loop(f,thread)
}



Courtesy: http://www.cfd-online.com/Forums/flu...n-one-udf.html
vasava is offline   Reply With Quote

Reply


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 John H FLUENT 7 March 3, 2022 07:50
Ansys Fluent UDF - for Data Center Air flow management kedarjan Fluent UDF and Scheme Programming 13 November 13, 2013 04:20
UDF for transient pressure inlet, mass flow check at nozzle exit and volumetric heat kokoory FLUENT 0 August 17, 2011 02:07
udf for transient mass flow rate inlet mdzubairmanipal@gmail.com Fluent UDF and Scheme Programming 0 February 22, 2011 02:51
pulsatile flow bernard Main CFD Forum 1 June 25, 1999 03:27


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