CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

get temperature in the fixed point

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2014, 22:52
Question get temperature in the fixed point
  #1
New Member
 
刘双双
Join Date: Nov 2014
Posts: 3
Rep Power: 11
shuangshuang_liu is on a distinguished road
hello guys:
i need get temperature in the fixed point(0.023,0.015). i take this way
if((sqrt(ND_SUM(pow(xc[0]-0.023,2.),pow(xc[1]-0.015,2.),0)))<.000000000001)
{ temp=C_T(c,t);
Message("temp=%1f\n",temp);
}
but this code doesn't work, the temperature is none. if the code is as follows:

temp=C_T(c,t);
Message("temp=%1f\n",temp);
if((sqrt(ND_SUM(pow(xc[0]-0.023,2.),pow(xc[1]-0.015,2.),0)))<.000000000001)
{
}
then i can get the temp ,but the temp is not correct.
please help me .i have no idea.
shuangshuang_liu is offline   Reply With Quote

Reply

Tags
get a wrong temp, get temp in a point

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27
monitoring point of total temperature rogbrito FLUENT 0 June 21, 2009 18:31
Plot temperature vs time for a defined point FREDERIK FLUENT 0 August 26, 2005 06:49
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


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