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

UDF for linear temperature variation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2016, 12:01
Exclamation UDF for linear temperature variation
  #1
New Member
 
Join Date: Sep 2016
Posts: 10
Rep Power: 10
nonstopthinker is on a distinguished road
Hello People,

I am modelling a coolant channel in the shape of a rectangular prism with the following conditions:

Inlet temperature, Ti = 130 K (at the inlet face)
Outler pressure Pe = 70 bar at outlet face
A constant mass flux of 21800 kg/m2s methane flow
Top wall temperature of the rectagular prism (top face) = 130 K
Bottom wall temperature of the rectangular prism (bottom face) = 600 K

the dimensions for the rectangular prism are as follows:

L=300 mm B= 0.889 mm and H= 1.778 mm

Now i want to give a linear temperature variation for the 2 side walls and the fluid flowing inside it between the top wall temperature and bottom wall temperature. I am completely new to this concept of udf. Kindly help in programming the same. Thanks a lot in advance.

Last edited by nonstopthinker; September 19, 2016 at 03:26.
nonstopthinker is offline   Reply With Quote

Old   September 19, 2016, 06:59
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
You will want to use a DEFINE_PROFILE. Look in the Fluent Manual for an example (example 1) that is pretty close to what you want. Just replace pressure by temperature, and change the equation.
pakk is offline   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
UDF to change heat transfer coefficient with wall temperature emmkell Fluent UDF and Scheme Programming 18 August 7, 2018 04:44
UDF for a horizontal temperature profile CD Fluent UDF and Scheme Programming 9 May 6, 2018 13:13
UDF problem- time dependent temperature at inlet kaeran FLUENT 1 June 16, 2015 22:48
UDF for heat convection coefficient with fixed surface temperature Boo85 Fluent UDF and Scheme Programming 2 July 10, 2012 19:43
Please Help! Temperature profile UDF for 3D geometry subhankar_bhandari FLUENT 2 April 16, 2011 06:30


All times are GMT -4. The time now is 22:10.