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

udf -pulsatile flow

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

Reply
 
LinkBack Thread Tools 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: 3
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: 544
Rep Power: 12
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ansys Fluent UDF - for Data Center Air flow management kedarjan Fluent UDF and Scheme Programming 13 November 13, 2013 05: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 03:51
Pulsatile blood flow John H FLUENT 5 March 29, 2010 14:19
pulsatile flow bernard Main CFD Forum 1 June 25, 1999 03:27


All times are GMT -4. The time now is 05:14.