CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

How to calcl cell temperature

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

Like Tree1Likes
  • 1 Post By blackmask

LinkBack Thread Tools Display Modes
Old   June 17, 2013, 06:46
Default How to calcl cell temperature
New Member
Join Date: Jun 2012
Posts: 25
Rep Power: 5
newminde is on a distinguished road
I want to ask how I can access data about single cell.
for example I want to use macro for cell C_T(c,t). The question is how to define cell index as pointer, if I want to calculate temperature at every iteration in {0.0025, 0.00025} cell coordinate.
newminde is offline   Reply With Quote

Old   July 2, 2013, 21:05
Senior Member
Join Date: Aug 2011
Posts: 315
Rep Power: 12
blackmask will become famous soon enough
The function
could be what you required, however its prototype varies among FLUENT versions.

Since you only need to find the corresponding cell index and thread once for all, instead of the aforementioned function you could appeal to the brutal force. You could use
looping over the domain to pinpoint the cell and thread indices at some stage, say
then store such values in file scope variables for late use.
yashganatra likes this.
blackmask is offline   Reply With Quote


Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with zeroGradient wall BC for temperature - Total temperature loss cboss OpenFOAM 10 March 5, 2015 07:57
temperature limited warning in 1 cell Shamoon Jamshed FLUENT 1 April 3, 2014 04:00
temperature limited to 1 in only one cell ??!!! pipin FLUENT 5 July 21, 2009 10:58
Finding the node temperature (not cell) Parsa Zamankhan FLUENT 4 August 22, 2007 15:38
drastic increase of temperature in one cell ravi FLUENT 7 August 30, 2004 22:58

All times are GMT -4. The time now is 13:26.