|
[Sponsors] |
How to Plot Average Temperature or Other Variables of a Domain Versus Pipe n CFD-Post |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2016, 04:56 |
How to Plot Avg Temperature (Other Variables) of Domain Vs Axis Length In CFD-Post
|
#1 |
Senior Member
|
Dear all,
Hi. Hope are well. I wanted to ask how can I make variable of temperature that gives me an average of temperature in all cross sections of a domain so that I can plot that temperature versus the axis of a pipe? I know that an expression can be used in making a scalar varaiable. I made an expression "areaAve(Temperature)@Plane X" but that only gave me average temperature at one plane. I want to know how can I plot for example inner pipe and outer pipe/annnulus average cross sectional temperatures versus axis of pipe. Basically I have found out temperature along a line versus axis of pipe. I did that by making a line but I want to know how can I extend that concept to all cross sections in a domain? Would be extremely grateful. Thanks. Last edited by Shomaz ul Haq; March 15, 2016 at 06:30. |
|
March 15, 2016, 08:21 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
The only way I can think of to do this is to generate lots of cross sections. You can make this easier by scripting it using a session file in CFD-Post.
|
|
March 15, 2016, 08:42 |
|
#3 |
Senior Member
|
Thanks a lot Glenn. What is a "session file" and "script"? and how can I script using a session file in CFD Post? Would be grateful. Thank you.
|
|
March 16, 2016, 02:52 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Have a look at the documentation for CFD-Post. It describes session files.
|
|
March 20, 2016, 06:38 |
|
#5 |
Senior Member
|
Hi. Hope all are well. Thanks a lot Glenn. I looked at the CFD-Post Session Menu in ANSYS Help. It tells how to create a new session command, start recording and stop recording, and play session command. I am confused how to generate graphs of average values of variables in a domain at different cross sections as I want to plot average variables values along the length of pipe. I don't know anything about scripting. Can somebody help? I need it urgently. Is there a tutorial online where I can learn this? Would be extremely grateful if you could help me out. Thank you.
|
|
March 20, 2016, 08:30 |
|
#6 |
Senior Member
|
Hi all. I have understood what is a script file, process of scripting, saving and recording it. Now I want to ask what is meant by "scripting a session file" as by definition scripting is the editing and running of "journal files" and how can I do that to create average values of variables in a domain at different cross sections along the length of a pipe? Would be extremely grateful if someone could help. Thank you.
|
|
March 20, 2016, 19:55 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Have a look at the power syntax (using perl). Then you can put loops, conditional statements, maths and other features in your session files.
In your case you could create a loop which generates lots of cross sections, then gets the averaged condition at each cross section and outputs it to a file. |
|
June 6, 2018, 13:22 |
|
#8 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
Hello there,
Is there any alternative solution methods for this kind of problems? |
|
June 6, 2018, 19:43 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Yes, you can define the sections in the mesh and do it in the solver and output the results to monitor points.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD Salary | CFD | Main CFD Forum | 17 | January 3, 2017 18:09 |
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion | faizan_habib7 | CFX | 4 | February 1, 2016 18:00 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |
CFD post vector plot problem | bharath | CFX | 3 | February 8, 2011 18:16 |
Where do we go from here? CFD in 2001 | John C. Chien | Main CFD Forum | 36 | January 24, 2001 22:10 |