CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF for linear temperature profile on horizontal parallel surfaces. (http://www.cfd-online.com/Forums/fluent-udf/96892-udf-linear-temperature-profile-horizontal-parallel-surfaces.html)

 Chirag2302 February 4, 2012 01:44

UDF for linear temperature profile on horizontal parallel surfaces.

1 Attachment(s)
Hello,
I am analyzing the thermoacoustic heat engine.For that, I need to give linear temperature profile on parallel horizontal surfaces whose length are 10mm and thickness of stack plate is 0.5 mm and gap between plates are also 0.5mm. I have gone through the UDF manual of Fluent and found that I need to use DEFINE_PROFILE and F_PROFILE but not able to write UDF.

I have given schematic sketch below.(It is sketch not according to the scale.)

As shown in the above fig.,origin is shown as (0,0), there are 12 parallel plates of length 10 mm having thickness 0.5mm and gap between them is also 0.5mm and whose hot ends are at 587 K and cold ends are at 300 K and horizontal surfaces are required to give linear temperature profile.

Equation for that is: T= ((- 28700 * x)+ 1448) Kelvin

Anyone can help me to write UDF.

Thank you............

Chirag.

 mali28 February 11, 2012 09:45

Quote:
 Originally Posted by Chirag2302 (Post 342705) Hello, I am analyzing the thermoacoustic heat engine.For that, I need to give linear temperature profile on parallel horizontal surfaces whose length are 10mm and thickness of stack plate is 0.5 mm and gap between plates are also 0.5mm. I have gone through the UDF manual of Fluent and found that I need to use DEFINE_PROFILE and F_PROFILE but not able to write UDF. I have given schematic sketch below.(It is sketch not according to the scale.) As shown in the above fig.,origin is shown as (0,0), there are 12 parallel plates of length 10 mm having thickness 0.5mm and gap between them is also 0.5mm and whose hot ends are at 587 K and cold ends are at 300 K and horizontal surfaces are required to give linear temperature profile. Equation for that is: T= ((- 28700 * x)+ 1448) Kelvin Anyone can help me to write UDF. Thank you............ Chirag.

See the post below:

http://cape-forum.com/index.php/topic,3.0.html

You will need to define the UDF under define_profile macro.

 All times are GMT -4. The time now is 03:02.