# Udf

 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 3, 2010, 05:11 Udf #1 New Member   elsa Join Date: Mar 2010 Posts: 7 Rep Power: 9 how can I define a function (UDF) in cfx? I have a specific thermal function (Pennes equation) for a hemisphere.

 March 3, 2010, 06:51 #2 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 13,808 Rep Power: 107 I have no idea what Penne equation is. This link tells me it is a heat transfer model used in physiology - http://jap.physiology.org/cgi/content/full/85/1/35 - I assume this is what you are talking about. Looks like you will be able to implement this using source terms on the temperature/heat equation. I don't think you will need fortran. CEL expressions should work fine and they are MUCH easier.

 March 3, 2010, 14:22 Cel #3 New Member   elsa Join Date: Mar 2010 Posts: 7 Rep Power: 9 thank you for your response. yeah pennes is a bioheat equation. could you please tell me more about CEL or give me a clue that where I can read about it. thanks

 March 3, 2010, 17:58 #4 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 13,808 Rep Power: 107 CFX documentation, reference manual - CEL Expression language.

 March 3, 2010, 23:07 heat flux #5 New Member   elsa Join Date: Mar 2010 Posts: 7 Rep Power: 9 I have simulated a duct with constant walls temperature and air flow inside; how can I get the heat flux from one section of the duct to the other section? or is it possible to get the Nusselt number at one point in fully developed area?

 March 4, 2010, 06:41 #6 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 13,808 Rep Power: 107 Nusselt number - Yes, define a new variable with an expression with the equation for Nusselt number in CFD-Post. Then you can view it, make contours of it and anything else you can do with variables. Do you mean the heat flux from the air to the wall (look at the wall heat flux variable) or do you mean the heat flux from the convection of the air (make a surface which intersects the flow and define a new variable of density*Cp*normal velocity or something like that.)

 March 4, 2010, 14:18 #7 New Member   elsa Join Date: Mar 2010 Posts: 7 Rep Power: 9 Thank you actually, I'm looking for hat flux to find the convection coefficient or Nusselt number. if I can define the Nusselt number, there will be no necessity to calculate the heat flux. the problem is I don't know how I can define the Nusselt number.

 March 4, 2010, 16:45 #8 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 13,808 Rep Power: 107 As I said, in CFD-Post you need to define a new variable which is an equation to define Nusselt number. Then you can view it in CFD-Post. Have a look at the CFX tutorials, some of them will define variables in CFD-Post for post-processing.

 March 11, 2010, 00:05 #9 New Member   elsa Join Date: Mar 2010 Posts: 7 Rep Power: 9 I already have written the Pennes equation by Fortran, how can I apply it in CFX?

 March 12, 2010, 00:53 #10 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 13,808 Rep Power: 107 As I said, define a variable in CFD-Post and you can get it from there. If you are doing it in the solver then have a look in the CEL reference guide for the list of available variables - you will find wall heat transfer to be useful for you.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Qureshi FLUENT 7 March 23, 2017 08:37 shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14 kim FLUENT 3 October 26, 2011 21:38 Luc SEMINEL FLUENT 0 November 25, 2002 05:03 Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

All times are GMT -4. The time now is 18:59.