CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   point determination (http://www.cfd-online.com/Forums/fluent/110756-point-determination.html)

krisipanikou December 19, 2012 17:18

point determination
 
Hello,

Does anybody know if Fluent is able to determine a specific point, for example, I have a cylinder as a model and I'm wondering if Fluent can find the point which has the lowest temperature in a heat transfer problem, and give me the coordinates..

Thank you,

K.P

LuckyTran December 20, 2012 00:52

I don't think so.

Sixkillers December 20, 2012 01:40

I think it can be easily implemented by UDF. Take a look at macro called DEFINE_ON_DEMAND in UDF guide.

krisipanikou December 20, 2012 14:52

Thank you..both !!

krisipanikou December 23, 2012 05:42

Goodmorning Sixkillers
I read the DEFINE_ON_DEMAND in UDF guide and I used the example.. Unfortunatelly I am not familiar with C language, so for that example, I can only take the min and max of temperature and not the coordinates.. Am I doing it wrong or I have to do something more ??

krisipanikou December 23, 2012 11:32

Quote:

Originally Posted by Sixkillers (Post 398372)
I think it can be easily implemented by UDF. Take a look at macro called DEFINE_ON_DEMAND in UDF guide.

Hello Sixkillers,
I read the DEFINE_ON_DEMAND in UDF guide and I used the example.. Unfortunatelly I am not familiar with C language, so for that example, I can only take the min and max of temperature and not the coordinates.. Am I doing it wrong or I have to do something more ??

Sixkillers December 26, 2012 03:59

You can use macro C_CENTROID to obtain centroid of each cell. Basically you need to iterate through all cells in your domain and save location (centroid) of a cell with min/max temperature and then print its location.


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