# CFD post-Fluid mean temperature plot

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

 June 6, 2011, 05:08 CFD post-Fluid mean temperature plot #1 New Member   George Theo Join Date: Apr 2011 Posts: 13 Rep Power: 7 Hello, I'm using ANSYS CFX v13 to simulate the conjugate heat transfer inside a duct. I'm using CFD-post to process my results and I would like to plot a line along the flow direction with the values of the fluid MEAN temperature (in every cross section). Can I do that in CFD post, without having to take a number of planes in various cross sections and export the fluid temperature values in order to calculate the mean in each cross section? Is there another (easier) way? Thank you in advance!

 June 6, 2011, 06:27 #2 New Member   Redddy Join Date: Sep 2010 Posts: 25 Rep Power: 8 Create a variable for Avg temp at plane perpendicular to axial direction. then create chart with x axis as axial distance and y axis as avg temp over plane. Note: in Data series u need to add middle line as data series line..

 June 6, 2011, 09:01 #3 New Member   George Theo Join Date: Apr 2011 Posts: 13 Rep Power: 7 I'm sorry, I don't quite understand, so I hope you could explain it to me a bit more. If the flow is along the Z axis,and X axis is transversal to the flow at the horizontal pane you suggest I should create a XZ plane for Y=middle of the duct? How can I create a variable with the mean fluid temperature? This variable should take the average temperature value in each cross section. Furthermore, how can I create a variable on a plane? Finally, the data series for a chart should be lines (not planes). You mention that I should also create a line. The line should have the values of the avg temperature? Thank you for your help!

 June 6, 2011, 09:30 #4 New Member   Redddy Join Date: Sep 2010 Posts: 25 Rep Power: 8 "If the flow is along the Z axis,and X axis is transversal to the flow at the horizontal pane you suggest I should create a XZ plane for Y=middle of the duct?" If the flow is x direction, then you need create xy plane say plane1. over xy plane you can calculate mean temperature. Then go to CEL expressions, create new expression as areaAve(Temperature)@Plane1. then go to variable create new variable name "avg temp" and insert above expression. Create one line for data series. then add axial distance i.e., z in x axis and avg temp in y axis. Hope you got it.

 June 15, 2011, 06:27 #5 New Member   George Theo Join Date: Apr 2011 Posts: 13 Rep Power: 7 Thank you for the help! The problem is that I need the local mean temperature along the direction of the flow and not just the mean value over the entire plane (which is only ONE value). To be more specific, I need the local mean temperature along a line in the symmetry plane of the duct, so I could create several lines perpendicular to the flow and calculate the mean temperature at each line. Each result would be the mean temperature for the specific location (point). The temperature distribution I want, would then result from the total of the points. Is there a way to create this distribution without having to create sample lines or planes ? Sorry if I'm becoming tiresome!!

 June 15, 2011, 07:46 #6 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 12,638 Rep Power: 98 You will need to generate the sampling lines or planes. But this can all be scripted so you just record a session file of you generating one object, then edit the session file to generate lots of them when you play it back. I assume you are also exporting this to some external package - the export can also be scripted.

 August 19, 2014, 10:49 #7 New Member   velmurugan Join Date: Feb 2014 Location: VIT University, Vellore Posts: 2 Rep Power: 0 can u tel me hw to take temp distribution in CFD post for a rod having conduction convection and heat generation in YZ plane.. actually i ve created YZ plane as u said. and in expressions i ve selected areaAvg but im unable to get temperature in the variable select box...

April 19, 2015, 14:38
#8
Member

sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 3
Dear sir

I am doing a 2D asymmetric case for cylinder - y axis is my axis.... the plane is xy. It is a dynamic mesh - compression stroke only.
I am not able to plot the CFD post chart for the maximum temperature which is needed for comparison with empirical values..

Though I plotted the chart temp vs time for a point location .... but I am unable to do for the maximum temperature vs time...

Please suggest how to get that plot in CFD post ... ansys

Thanks !

regards
Sanjeet
Attached Images
 temp profile.jpg (27.1 KB, 89 views)

 April 19, 2015, 18:52 #9 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 12,638 Rep Power: 98 Define the y variable to be a CEl expression like maxVal(T)@domain or something like that.

 April 19, 2015, 20:51 #10 Member   sanjeet Limbu Join Date: Mar 2015 Posts: 91 Rep Power: 3 thanks! a lot

 April 23, 2015, 11:38 #11 Member   sanjeet Limbu Join Date: Mar 2015 Posts: 91 Rep Power: 3 Hi I am unable to create that maximum temperature expression... can u share in detail...as I am very new to CFD post. Also can u tell how to export the data into excel ... As I wanna compare two different case results, like one using k-e epsilon and other from RNG viscous model Thanks

 April 23, 2015, 18:30 #12 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 12,638 Rep Power: 98 I already showed you how to implement the expression. If it is not working for you then post the error message you are getting. Also, make sure you have done the CFX tutorials. They explain how to do the basics like this.

 November 17, 2015, 20:18 Thank you for the help #13 New Member   Rui Zeng Join Date: Apr 2015 Location: Montreal. CA Posts: 26 Rep Power: 3 It's useful to me

March 28, 2016, 22:27
#14
New Member

Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 18
Rep Power: 4
Quote:
 Originally Posted by ghorrocks You will need to generate the sampling lines or planes. But this can all be scripted so you just record a session file of you generating one object, then edit the session file to generate lots of them when you play it back. I assume you are also exporting this to some external package - the export can also be scripted.
it's been a few years so...did you find a more "Elegant" way to do this?

 March 28, 2016, 22:48 #15 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 12,638 Rep Power: 98 No, a session file is still how I would do this. But don't forget that session files can include perl, so can include looping, branching, file IO, complex variable manipulation etc... Does that qualify as "elegant"?

 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 bearcat Main CFD Forum 8 May 27, 2007 18:02 bioman66 CFX 5 June 3, 2006 01:40 susan_w_b FLUENT 0 January 5, 2004 04:36 Chris R. Kleijn Main CFD Forum 0 September 13, 2000 04:48 VASANT NAVATI CFX 1 November 28, 1999 01:22

All times are GMT -4. The time now is 11:39.