# How can I impose variable boundary conditions?

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 December 18, 2009, 16:53 How can I impose variable boundary conditions? #1 Member   Behrang Asgharian Join Date: Oct 2009 Posts: 38 Rep Power: 7 Hi Guys! How can I define variable boundary conditions such as variable temperature on a wall? I believe that I should use UDF. Which parts of the UDF Manual help me most. Any hint? Thanks Good luck

 December 18, 2009, 20:43 #2 New Member   matth Join Date: Aug 2009 Posts: 8 Rep Power: 8 That's right you have ti write an UDF : I used to do it with the velocity but it should be the same with the temperature. This is an example of a UDF of an unsteady velocity (you can find it in the UDF user guide of Fluent) (in the part boundary counditions and details UDF examples) /************************************************** ******************** unsteady.c UDF for specifying a transient velocity profile boundary condition ************************************************** *********************/ #include "udf.h" DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; real t = CURRENT_TIME; begin_f_loop(f, thread) { F_PROFILE(f, thread, position) = 20. + 5.0*sin(10.*t); } end_f_loop(f, thread)} When your UDF is written you have just to interpret it in Fluent !!!

 December 20, 2009, 21:26 #3 Member   Behrang Asgharian Join Date: Oct 2009 Posts: 38 Rep Power: 7 Thanks man. I have started reading UDF Manual

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post mactech001 CFX 6 November 15, 2009 22:25 hadesmajesty Main CFD Forum 0 September 23, 2009 04:57 saii CFX 2 September 18, 2009 08:07 Lionel S. Main CFD Forum 1 August 24, 2007 18:03 Dan CFX 0 April 3, 2006 11:32

All times are GMT -4. The time now is 01:47.

 Contact Us - CFD Online - Top