|
[Sponsors] |
July 12, 2004, 17:52 |
Heat flux dependence with position on a face
|
#1 |
Guest
Posts: n/a
|
Hi everybody !!!
I would like to have any advice about this problem... It's related to a continuous casting problem, so i need to assign a heat flux that depends on the y coordinate ( withdrawall direction) in the 4 walls of a mould. I'm not experienced in UDF's and I'd appreciate any help about the topic. Thanx in advance |
|
July 13, 2004, 06:34 |
Re: Heat flux dependence with position on a face
|
#2 |
Guest
Posts: n/a
|
This is a realtivly simple situation to simulate using UDF's. Have a bit of a read of the Fluent 6 UDF manual to get an idea of how UDF's work. You will then need a DEFINE_PROFILE macro to define the heat flux on a face, an F_CENTROID(x, c, t) macro to get the co-ordinate value of the face centre, then and F_PROFILE macro to assign the heat flux to face in question. Have a go and if you get stuck, post again and I will do my best to help you out.
|
|
July 16, 2004, 16:10 |
Re: Heat flux dependence with position on a face
|
#3 |
Guest
Posts: n/a
|
Thanx andrew....
I've tried to apply the UDF as you mentioned, I can interpret it,and is available in the boundary conditions panel too, but the problem is that it does not work like it should be.... The UDF code is the next.... /************************************************** ********************* vprofile.c UDF for specifying unsteady-state flux profile in a boundary condition ************************************************** **********************/ #include "udf.h" DEFINE_PROFILE(flux, thread, position) { real x[ND_ND]; real y; face_t f; begin_f_loop(f, thread) { F_CENTROID(x,f,thread); y = x[1]; F_PROFILE(f, thread, position) = (2680000-(2580000*(sqrt(fabs(y-0.1)))))*(-1); } end_f_loop(f, thread) } The equation for the Flux must be : -q = 2680000 - (2580000 x sqrt(y - 0.1 )) as you see is in function of y...... I don't know which is the problem...but i think it has to do with the equation or maybe the function is only for use in a 2D steady problem ...but my case is an unsteady 3D problem. Thanx a lot for your help Andrew !!! =) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sign of Heat Flux at wall | Kyung | FLUENT | 2 | February 26, 2016 16:25 |
Heat Flux Wall Boundary Confusion. | Joee | FLUENT | 1 | August 21, 2010 12:20 |
HTC/Wall Heat Flux monitoring in 12.1 | Michael.J | CFX | 4 | June 10, 2010 08:36 |
CFX - wall heat flux | divarano | CFX | 2 | December 4, 2006 16:14 |
Wall heat flux | cujo | CFX | 3 | November 6, 2002 03:43 |