# Temperature depending on x,y as boundary condition in Steady-state Thermal simulation

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

 November 29, 2012, 10:18 Temperature depending on x,y as boundary condition in Steady-state Thermal simulation #1 Member   Deutschland Join Date: Nov 2012 Posts: 31 Rep Power: 13 Hi, I'd like to add a varying temperature distribution depending on the x and y direction as a boundary condition in a steady-state thermal simulation. When I add "Temperature" to the "Steady-State Thermal" folder in the "Setup" step I can only make it dependent from x or y, but not from both. Can anybody tell me whether it is possible to add a 2D temperature distribution? It should be something like T1-x^2-y^2. Best regards

 November 29, 2012, 10:47 #2 Senior Member     Chris DeGroot Join Date: Nov 2011 Location: Canada Posts: 414 Rep Power: 17 Yes using CEL this is possible.

November 29, 2012, 11:32
#3
Senior Member

Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
Quote:
 Originally Posted by FluidCFD Hi, I'd like to add a varying temperature distribution depending on the x and y direction as a boundary condition in a steady-state thermal simulation. When I add "Temperature" to the "Steady-State Thermal" folder in the "Setup" step I can only make it dependent from x or y, but not from both. Can anybody tell me whether it is possible to add a 2D temperature distribution? It should be something like T1-x^2-y^2. Best regards
Seems like you're creating your model in Mechanical. This is the forum for CFX. You can do that simulation in CFX using a CEL Expression, as Chris mentioned, and it is quite straightforward.

 December 3, 2012, 05:27 #4 Member   Deutschland Join Date: Nov 2012 Posts: 31 Rep Power: 13 Hi, thanks to you both. I first tried to do it in CFX and with the help of CEL, then had some other problems and thought, Steady-state Thermal is designed to do exactly what I want to do. Apparently, it is easier to implement in CFX than in Thermal analysis. I got it running now. Another question: When I want to know the heat flux at an arbitrary plane, is the one displayed normal to that plane? Best regards

 December 3, 2012, 09:38 #5 Senior Member     Chris DeGroot Join Date: Nov 2011 Location: Canada Posts: 414 Rep Power: 17 Glad you got it running. I'm not sure I understand your current question. If you define a plane, the heat flux reported will be the heat flux through that plane.

 December 3, 2012, 10:12 #6 Member   Deutschland Join Date: Nov 2012 Posts: 31 Rep Power: 13 Yeah, that was my question. Can you also tell me what the difference between heat flux and wall heat flux is, as the heat flux is often "not defined" and I don't understand why.

 December 3, 2012, 11:01 #7 Senior Member   Bruno Join Date: Mar 2009 Location: Brazil Posts: 277 Rep Power: 21 Heat fluxes come from the solver, they're not calculated by CFD-Post, and I think the results file don't include that field. You can calculate it yourself, though. Just create one variable that calculates the temperature gradient, and another one that does the rest of the calculation (heat flux by conduction, advection, etc). Cheers