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

time-variant boundary profile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2002, 08: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, 13: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, 12: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


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
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 5 August 25, 2015 04:58
Specify time in boundary profile file in Fluent Shamoon Jamshed FLUENT 2 April 25, 2010 02:04
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36


All times are GMT -4. The time now is 13:41.