|
[Sponsors] |
October 23, 2015, 05:44 |
Field of temperature
|
#1 |
New Member
George
Join Date: Oct 2015
Posts: 5
Rep Power: 10 |
Hello,
I have a question concerning the definition of the temperature field. This is a turbine disk treated by mass flow which generates below temperature distribution. Is it possible to create these boundary conditions in fluent ? If yes could you tell me how ? |
|
October 24, 2015, 14:04 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65 |
You can specify a temperature profile at the inlet.
|
|
October 25, 2015, 05:43 |
|
#3 |
New Member
George
Join Date: Oct 2015
Posts: 5
Rep Power: 10 |
where I can exactly set that ? Shouldn't I use a UDF to create those BC's?
EDIT: anyone ? I read the whole manual but I still have no idea how to create appropriate commands to define this temperature distribution Last edited by fnatic09; October 27, 2015 at 09:05. |
|
October 27, 2015, 10:56 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65 |
A UDF is probably the most complicated way, an much easier way is to use a profile.
What you do is create a text file of coordinates and variables and read these into Fluent as a profile. Go to define->profiles->read If you can't figure out the format of the profile then what you should do is write a profile the same way and then edit what's there. It's preferably anyway to write a profile first, which will conveniently output the coordinates of all the grid points (which helps to avoid needing to interpolate the temperature profile onto the grid). Fluent user guide section 6.6 describes the format of the profile file in detail. Next when you go to specify the inlet temperature in the boundary conditions (before you could only see constant or new input parameter) you will now be able to use the temperature profile that you imported. There are tutorials for how to do inlet profiles both spatially and temporally. Also a search of this forum will give lots of examples. |
|
October 28, 2015, 10:41 |
|
#5 |
New Member
George
Join Date: Oct 2015
Posts: 5
Rep Power: 10 |
So I wrote this UDF file, later I will try make a profile file.
Code:
#include "udf.h" DEFINE_PROPERTY(knew,c,t) { real ktc; real pos[ND_ND]; real y; C_CENTROID(pos,c,t); y = pos[1]; real temp = C_T(c,t); ktc = (3. * pow (temp,2.)) + (6. * y); return ktc; } Also how to get in results (expect an axial) a radial temp distribution in this case - Is it possible? I tried several options but none of them does'nt work. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 01:27 |
calculate temperature gradient from temperature field | xiyuqiu | Main CFD Forum | 14 | July 30, 2012 14:38 |
temperature field in the hotRadiationRoomFvDOM tutorial | mirko | OpenFOAM Running, Solving & CFD | 1 | July 1, 2010 09:33 |
Benchmark data for temperature field in 2D cavity flow | Vladislav | Main CFD Forum | 0 | June 18, 2010 12:33 |