CFD Online Discussion Forums

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

Chirag2302 February 4, 2012 00: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.


All times are GMT -4. The time now is 23:41.