# Basic question: UDF for wall heat flux

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

 LinkBack Thread Tools Display Modes
 August 4, 2006, 14:51 Basic question: UDF for wall heat flux #1 Carl Guest   Posts: n/a Sponsored Links Thanks for reading. I'm a new FLUENT user. Here's a general description of my problem: This is a 3d geometry in which a particular wall boundary has an externally-imposed heat flux (from absorption of a proton beam in reality) that varies spatially across the boundary. This heat flux can be described by some simple algebraic function of the "x" coordinate, say. So the question's simple: How do I specify this heat flux in the wall boundary condition in FLUENT? My preliminary understanding is that this should be done with a user-defined function, written in C. The UDF Manual seems to indicate that an algebraic function cannot be used with the DEFINE_PROFILE macro to describe heat flux, that only a "single value" can be set this way. Alternatively, nothing is noted about such a condition on the "heat generation rate," which perhaps would be a better parameter to use anyway even though the volume in which the heat is deposited is so thin as to be effectively of zero thickness. I should point out that I have no background in C programming. If you're able to help answer my question, that's awesome...I really appreciate it! Pointers are great, examples are the best! However, I should note that the following responses will NOT be useful to me: "You need to read the manual / take a remedial FLUENT 101 class, etc." (If the manual solves my problem, tell me where, very specifically.) "This problem gets brought up on this forum every week by ignorant dunces, learn to do a search." (I apologize in advance for the spam-rated topic. Please point out an applicable response if you can be bothered for a nanosecond.) "You are an utter n00b." (I already know that you know that I am a n00b.)
 Sponsored Links

 August 5, 2006, 19:01 Re: Basic question: UDF for wall heat flux #2 Venkatesh Guest   Posts: n/a opps you got the answer and just dropped it ... The define_profile is the one you have to use it. It is will allow you set one vale per cell face. Inside that function you have to get the centoidal co-ordinates of cell face and calculate the vaule based on algeberic formula and return that value from the function

 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 peterle CFX 4 February 13, 2014 03:21 Friedmann Fluent UDF and Scheme Programming 0 August 5, 2010 10:25 Mark Main CFD Forum 0 February 13, 2004 10:03 Paul FLUENT 1 September 11, 2003 06:13 Rushyen CFX 6 January 18, 2001 06:09

 Sponsored Links

All times are GMT -4. The time now is 07:04.

 Contact Us - CFD Online - Top