|
[Sponsors] |
June 16, 2010, 14:06 |
Temperature Profil Plate UDF
|
#1 |
Member
Join Date: Feb 2010
Posts: 50
Rep Power: 16 |
Hi There,
I try to implement a temperature profil at a wall boundary. That is what I have: #include "udf.h" DEFINE_PROFILE(t_profile,t,i) { real y[ND_ND]; /* this will hold the position vector */ real x; real z; face_t f; begin_f_loop(f,t) { F_CENTROID(y,f,t); F_PROFILE(f,t,i) = 293-100*x*z; } end_f_loop(f,t) } It does not work. Is there someone who might see the problem. In the end the profil does not matter. Just not uniform. I would like to go for linear from one side to the other. Here the plane, the wall is part of, is the y-z plane. Any help would be much appreciated. Thank you in advance Last edited by mannobot; June 16, 2010 at 15:08. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with zeroGradient wall BC for temperature - Total temperature loss | cboss | OpenFOAM | 12 | October 1, 2018 07:36 |
solving a conduction problem in FLUENT using UDF | Avin2407 | Fluent UDF and Scheme Programming | 1 | March 13, 2015 03:02 |
UDF temperature variation | Alex E-H | FLUENT | 2 | November 5, 2008 10:18 |
how to write a 3D linear temperature of UDF | venus | FLUENT | 1 | October 28, 2008 03:46 |
Plate Motion,Sure write by UDF? | Jimmy Chan | FLUENT | 2 | December 1, 2005 04:23 |