|
[Sponsors] |
UDF for spatial and temperature dependent heatflux |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 6, 2013, 13:17 |
UDF for spatial and temperature dependent heatflux
|
#1 |
Member
sudhir
Join Date: Mar 2009
Location: india
Posts: 65
Rep Power: 17 |
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 |
|
February 10, 2013, 20:04 |
|
#2 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
Quote:
Hi, Try Define_profile UDF macro in order to specify desired heat flux on wall B.C. Goodluck |
||
March 5, 2013, 22:26 |
|
#3 | |
Member
sudhir
Join Date: Mar 2009
Location: india
Posts: 65
Rep Power: 17 |
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 |
||
March 5, 2013, 22:41 |
|
#4 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
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. |
||
March 7, 2013, 12:34 |
|
#5 | |
Member
sudhir
Join Date: Mar 2009
Location: india
Posts: 65
Rep Power: 17 |
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 |
||
March 7, 2013, 13:20 |
|
#6 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
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 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for Temperature Dependent Energy Source | er.mkumar | Fluent UDF and Scheme Programming | 9 | March 14, 2024 05:01 |
Could anyone help me write UDF for time dependent temperature in BC | PKM | Fluent UDF and Scheme Programming | 17 | November 17, 2018 10:10 |
Inlet won't apply UDF and has temperature at 0K! | tccruise | Fluent UDF and Scheme Programming | 2 | September 14, 2012 07:08 |
Please Help! Temperature profile UDF for 3D geometry | subhankar_bhandari | FLUENT | 2 | April 16, 2011 06:30 |
UDF: temperature dependent BC | ehooi | FLUENT | 6 | January 22, 2011 13:26 |