|
[Sponsors] |
November 2, 2014, 17:38 |
Time dependent wall temperature
|
#1 |
New Member
R-Sh
Join Date: Oct 2014
Location: USA
Posts: 23
Rep Power: 12 |
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 |
|
November 3, 2014, 10:09 |
|
#2 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
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.
|
|
November 3, 2014, 10:28 |
|
#3 |
New Member
R-Sh
Join Date: Oct 2014
Location: USA
Posts: 23
Rep Power: 12 |
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.
|
|
November 3, 2014, 16:45 |
|
#4 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
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) } - 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 |
|
Tags |
udf code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence in AMG solver! | marina | FLUENT | 20 | August 1, 2020 12:30 |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 01:04 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |