UDF for spatial and temperature dependent heatflux
hello friends,
i have set of heat flux data with respect to x,y,Temp. i know its possible to get x,y co-ordinates and wall temperature of a face or cell. but i dont know how to apply the heat flux on this face or cell. is there function/macro for applying heat flux on face without writing 2D/3D interpolation loop? thank you |
Quote:
Hi, Try Define_profile UDF macro in order to specify desired heat flux on wall B.C. Goodluck |
Quote:
thank you syavash for your reply..i have used DEFINE_PROFILE macro.As you know while using F_CENTROID(x,f,t) we are mentioning only about x axis not about y axis for a face..is it possible to give command like F_CENTORID(x,y,temp,f,t)? i dont think so..if there is another way, please let me know.... sudhir |
Quote:
F_CENTROID Macro gets face centroid coordinates and store them into a Vector namely x (any symbol is allowable). If your code requires y coordinate, simply try : y=x[1] or if it requires z coordinate try z=x[2] (problem must be in 3d for z). Bests. |
Quote:
thank you for your reply. now i can get the x,y,temp of a cell/face.As i mentioned in my first post, i have experimental heat flux w.r.t to x,y,temp and now i also have x,y,temp of face/cell. how to apply/map the available experimental heatflux on the cell/face ?...thanks... sudhir |
Quote:
If you have heat flux as a function (curve fit, correlation etc.) of spatial coordinates,you could implement Define_profile macro to do what you wish. Refer to UDF manual of Fluent to learn the procedure. But if there is no certain relation between parameters;let's say you have scattered heat flux; then you should yous boundary profile option. Refer to Fluent User's guide in this case. Bests. Syavash |
All times are GMT -4. The time now is 21:03. |