CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Plot Graph for CFX transient using as a Reference

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2023, 07:57
Default Plot Graph for CFX transient using as a Reference
  #1
New Member
 
Rakeshchandra
Join Date: Jul 2020
Posts: 13
Rep Power: 6
Rakeshchandra is on a distinguished road
I had gone through previous posts but could'nt find the suitable answer. I'm trying to plot Temperature vs Height using Line as reference for my transient analysis. In charts > XY-transient, the data source as a point is only available. Whereas in XY-Line, the datasource as line is available but is confined to single timestep. Any suggestions that how can I plot it across the complete simulation time?
Rakeshchandra is offline   Reply With Quote

Old   September 20, 2023, 18:31
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,781
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I think you need to have a look at what you are trying to do.

In a transient simulation, if you get data at a point over time - then you have a 2D plot with the data in the y axis and time in the x axis.

In a steady state simulation, if you get data at a line at one point in time - then you have a 2D plot with the data in the y axis and distance along the line in the x axis.

If you have a transient simulation and you are trying to plot a variable over a line you now have 3 dimensions you are trying to plot (distance along line, the variable, time) - so a 2D cartesian plot is not longer suitable. How do you want to plot the third dimension? As a 3D surface? A series of lines? Multiple 2D cartesian plots?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   September 21, 2023, 02:07
Default
  #3
New Member
 
Rakeshchandra
Join Date: Jul 2020
Posts: 13
Rep Power: 6
Rakeshchandra is on a distinguished road
Thank you for explaining. I would like to plot the temperature vs. height as marked in the image across the simulation period of 360s. Could you please explain what I need to do if I want to utilize the lines as a reference?
Attached Images
File Type: jpg CFX2.jpg (43.9 KB, 6 views)
Rakeshchandra is offline   Reply With Quote

Old   September 21, 2023, 02:20
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,781
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I do not know of a good way to display this inside ANSYS or CFX. I would export it and use a graphing package like python (with matplotlib), matplot or excel to plot it.

You can automate the exporting of the data using a CFD-Post session file.
Rakeshchandra likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
ansys 14 cfx, cel expression, cfx 15, plot over time, post procesing


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD-Post Expression transient graph plot takes too long time apr13th CFX 3 June 20, 2023 11:08
What are the best settings for a channel flow simulation? Ashkan Kashani CFX 3 October 13, 2022 21:36
[OpenFOAM.org] ParaView Installation: Python problem KateEisenhower OpenFOAM Installation 5 August 24, 2017 05:27
Simple piston movement in cylinder- fluid models arun1994 CFX 4 July 8, 2016 02:54
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 00:34


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