CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Problem with variable in expression CFX-Pre (http://www.cfd-online.com/Forums/cfx/114232-problem-variable-expression-cfx-pre.html)

 TallesC March 7, 2013 09:11

Problem with variable in expression CFX-Pre

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?

 evcelica March 7, 2013 09:25

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.

 TallesC March 7, 2013 10:01

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?

 evcelica March 7, 2013 17:25

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.

 TallesC March 7, 2013 18:32

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.

 All times are GMT -4. The time now is 20:31.