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

time-variant boundary profile

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 10, 2002, 09:19
Default time-variant boundary profile
  #1
Bob
Guest
 
Posts: n/a
Dear,

As inlet boundary condition I would like to impose measurement data, and not a function. As long as one is dealing with constant (in time) boundary conditions it is fairly easy to implement. But what about time-varying data? Does somebody know how to deal with this in Fluent?

Thanks a lot in advance!

Best regards, Bob De Clercq
  Reply With Quote

Old   April 10, 2002, 14:55
Default Use UDF ...
  #2
Johnix
Guest
 
Posts: n/a
There are examples in Fluent "user's guide" which deal with unsteady inlet profiles by means of employing UDF(user defined functions)

Recently, I have writen a UDF code to modify boundary conditions, and it does work.
  Reply With Quote

Old   May 1, 2002, 13:57
Default Re: time-variant boundary profile
  #3
riccardo
Guest
 
Posts: n/a
Hi!! You can use the User defined Function, to define a time varyng law, and than apply this law to the every boundary you need.

This is the function ---------------------------------------- #include "udf.h" DEFINE_PROFILE (nameofprofile, thread, position) { face_t f; begin_f_loop (f,thread) { real t = RP_Get_Real ("flow-time"); F_PROFILE(f, thread, position) = 300. - 100*t; } end_f_loop (f, thread) } ------------------------------------------- you have to save it on file .c (is written on C language!!): than go to menu DEFINE---USER DEFINED FUNCTION---INTERPRETED---- than you have to insert the name of the file (put it on the same directory you ' ve loaded the case), and than click on compile. After doing this job, on the mask to set the condition of the boundary you can see CONSTANT and also your profile!! Hi!!
  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
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 2 August 3, 2012 06:54
Domain Imbalance HMR CFX 3 March 6, 2011 21:10
Specify time in boundary profile file in Fluent Shamoon Jamshed FLUENT 2 April 25, 2010 03:04
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 01:36


All times are GMT -4. The time now is 15:32.