
[Sponsors] 
January 11, 2012, 12:13 
How to calculate geometry diameter using UDF

#1 
Member
Join Date: Jun 2011
Posts: 81
Rep Power: 7 
I dont expect to get any answer as always but any ways...
I have a cylindrical geometry with varying diameter from top to bottom. I want to specify heat loss condition since the wall is insulated. For that, I need to calculate overall heat transfer coefficient first. For that I need the inside diameter as well. Since diameter is not constant throughout the geometry, I have to find a way of calculating the distance from the centre of geometry up to the wall using UDF. Can any one help me in this? Thanks. 

January 14, 2012, 17:43 

#2  
Senior Member
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 192
Rep Power: 9 
If you can describe your geometry before you run the simulation (it sounds like the equation for a cone), you could simply write a UDF to DEFINE_PROFILE for the heat transfer as a function of cone height.
If you write the equation of your geometry and the heat loss condition, I'll reply with a UDF which will allow you to do what you want. ComputerGuy Quote:


January 15, 2012, 06:32 

#3  
Member
Join Date: Jun 2011
Posts: 81
Rep Power: 7 
Quote:
Thanks but I got a better solution. I can now calculate the coordinates of the nodes and using that I can get the radius. I got the solution from here: http://capeforum.com/index.php/topic,2.0.html 

January 15, 2012, 09:23 

#4  
Senior Member
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 192
Rep Power: 9 
Yep  this is virtually the same solution. Glad you got your problem worked out.
Quote:


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Water subcooled boiling  Attesz  CFX  7  January 5, 2013 04:32 
[DesignModeler] Error while Loading a Geometry  JD944  ANSYS Meshing & Geometry  0  October 25, 2011 14:51 
udf for velocity profile in a geometry having two inlets  shubham208011  Fluent UDF and Scheme Programming  0  April 6, 2009 15:13 
I need UDF help.  S.Whitney  FLUENT  0  October 15, 2007 11:29 
UDF macros and updated mesh geometry  Maziar Mahzari  FLUENT  1  November 1, 2005 07:29 