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

Time dependent wall temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2014, 16:38
Default Time dependent wall temperature
  #1
New Member
 
R-Sh
Join Date: Oct 2014
Location: USA
Posts: 23
Rep Power: 11
shadnia is on a distinguished road
Hi
I am interested to study heat transfer in a wall which one side of it has a known time dependent temperature. I know I have to create a UDF file to provide the temperature function I have, but I don't have programming experience. what C functions should I use in addition to Define_profile () ?

thanks
shadnia is offline   Reply With Quote

Old   November 3, 2014, 09:09
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
If the temperature is uniform then yes define profile could work. If you have non-uniform temperature then you have to use some sort of mapping.
vasava is offline   Reply With Quote

Old   November 3, 2014, 09:28
Thumbs up
  #3
New Member
 
R-Sh
Join Date: Oct 2014
Location: USA
Posts: 23
Rep Power: 11
shadnia is on a distinguished road
Thanks, my temperatures are the experimental temperatures recorded during a whole day (24 hours), so it is non-uniform. Because I am new to FLUENT, I am just studying the UDF manual of FLUENT. Therefore I would appreciate if you kindly could explain some more. Thanks again for your help.
shadnia is offline   Reply With Quote

Old   November 3, 2014, 15:45
Default
  #4
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
Hi,

See the Pressure Profile example in the DEFINE_PROFILE of the UDF guide:
Code:
/***********************************************************************
 UDF for specifying steady-state parabolic pressure profile boundary
 profile for a turbine vane
 ************************************************************************/
 #include "udf.h"
 DEFINE_PROFILE(pressure_profile,t,i)
 {
    real x[ND_ND];    /* this will hold the position vector */
    real y;
    face_t f;
    begin_f_loop(f,t)
      {
       F_CENTROID(x,f,t);
       y = x[1];
       F_PROFILE(f,t,i) = 1.1e5 - y*y/(.0745*.0745)*0.1e5;
      }
    end_f_loop(f,t)
 }
- x[ND_ND] stores the coordinates, so that the x coordinate is x[0], y is x[1] and z is x[2]
- the equation at the right of F_PROFILE(f,t,i) is what you have to establish from your data, some equation of temperature as a function of x,y,z (or x,y in 2D)
- then read about how to hook the DEFINE_PROFILE at the boundary, it is well explained in the UDF guide
macfly is offline   Reply With Quote

Reply

Tags
udf code


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
Divergence in AMG solver! marina FLUENT 20 August 1, 2020 11:30
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 00:04
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


All times are GMT -4. The time now is 06:00.