# Problem with variable in expression CFX-Pre

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

 March 7, 2013, 09:11 Problem with variable in expression CFX-Pre #1 Member   Talles Caio Join Date: Oct 2012 Location: Brazil Posts: 94 Rep Power: 5 Personal'm working on a pipe with chemical reaction with heat exchange, I need to get this temperature domain to insert into an equation in expression. how do I insert prara? im try bird (Temperature) @ serpentine but this function takes the average temperature of all the nodes .. Anyone know how I can solve this problem?

 March 7, 2013, 09:25 #2 Senior Member   Erik Join Date: Feb 2011 Location: Earth (Land portion) Posts: 496 Rep Power: 10 Its a bit hard to understand exactly what you want to do but I think I might understand. You want to use the local temperature in your expression not the average over the whole domain? If so you can just use the variable "Temperature" which will be evaluated locally in your expression. For example If i wanted to insert a scalar generation that was a function of local temperature, my expression would read: "1[kg/m^3/s]*Temperature" and this expression would be evaluated at each node.

 March 7, 2013, 10:01 #3 Member   Talles Caio Join Date: Oct 2012 Location: Brazil Posts: 94 Rep Power: 5 in a pipe in the wall heating, ai current enters at T = 298k and should go out at T = 700k, the equation which is inserting T must calculate the temperature occasionally to return the value, do you underating?

 March 7, 2013, 17:25 #4 Senior Member   Erik Join Date: Feb 2011 Location: Earth (Land portion) Posts: 496 Rep Power: 10 I don't really understand, I thought what I said before was correct. maybe a picture would help? Are you using google translate? If not maybe you could try it and I could understand a little better.

 March 7, 2013, 18:32 #5 Member   Talles Caio Join Date: Oct 2012 Location: Brazil Posts: 94 Rep Power: 5 right!, about what you said I think the variable 'temperature' is really what I was looking for, but I thought would have to specify the domain name for example temperature @ domain1, or name of the fluid ('water@ temperature "), but does not accept cfx.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post serendipity CFX 10 August 7, 2012 03:24 Chander CFX 1 November 22, 2011 13:54 monkey1 CFX 5 July 22, 2011 09:53 Luk CFX 5 March 14, 2008 05:59 Vijesh Joshi CFX 1 March 13, 2006 23:42

All times are GMT -4. The time now is 17:28.