CFD Online Logo CFD Online URL
Home > Forums > CFX

Setting a Variable Temperature Profile

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

LinkBack Thread Tools Display Modes
Old   June 8, 2012, 12:45
Default Setting a Variable Temperature Profile
New Member
Michael Mera
Join Date: Jun 2012
Posts: 1
Rep Power: 0
kerbelian is on a distinguished road

I need to set a temperature at a boundary condition that varies or reduces as the height of the boundary grows. I tried creating an expression of the form:

Temp=0.008*z+300 [K]

Where z is the z coordinate, but it gave me an error message telling me that I can't assign a dimension to a non-dimension variable as distance. In other words, I can't tell CFX that z is Kelvin and not m. And besides since there is an addition in the formula, it also showed that the dimensions wouldn't match since there is temperature and distance in it.

Any advise for what can I do about this?

PD: The boundary condition has a semi-cylindrical shape with a variable height between -3 and 73 m
kerbelian is offline   Reply With Quote

Old   June 8, 2012, 15:49
Luis Filipe Fabiani
Join Date: Apr 2009
Posts: 43
Rep Power: 8
lffabiani is on a distinguished road
Have you tried

Temp=0.008 [K m^-1]*z+300 [K]

The last [K] is assigned only to the "300" part, not the whole eq.

On the same window where you set the variable, there is an "Evaluate" option, where you can see what will happen to the variable (in your case Temp) changing the inputs (in your case Z)

Best regards
lffabiani 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
Inlet won't apply UDF and has temperature at 0K! tccruise Fluent UDF and Scheme Programming 2 September 14, 2012 06:08
Please Help! Temperature profile UDF for 3D geometry subhankar_bhandari FLUENT 2 April 16, 2011 05:30
Simulation of a Silo Attesz CFX 20 October 15, 2010 08:11
Cells with t below lower limit Purushothama CD-adapco 2 May 31, 2010 21:58
Ultra high temperature? bk CD-adapco 2 July 19, 2005 00:01

All times are GMT -4. The time now is 22:52.