November 27, 2017 at 6:25 amJimmyhanSubscriber
Hi, I am Jimmy. I have gotten the pressure deviation result for a boundary, I can show them via cfx post contour. I would like to show this pressure result by excel 3D plot. can I use CFX post to do this directly? I found way to extract the pressure result to csv file which can be open by excel. but the pressure result was very very large, it should be depended on mesh I suppose. so it is very hard to draw 3D plot. Give me some advice. Thank you!
November 27, 2017 at 11:24 ampeteroznewmanSubscriber
Hi Jimmy, when you say "the pressure result was very very large", I think you mean that the size of the csv file was very large, and yes, a smaller mesh element size will result in a larger number of data points covering the same area.
The Excel 3D surface plot is only useful to plot data on a perfect rectangular grid. Is that what your mesh has? Please post an image of your contour plot and the underlying mesh. I don't understand the benefit of a 3D surface plot over a contour plot of the same data. Perhaps you could explain why you want the 3D surface plot.
November 28, 2017 at 12:36 am
November 28, 2017 at 1:30 ampeteroznewmanSubscriber
Okay Jimmy, Excel is not capable of making a surface plot unless the data is on a rectangular grid, which you don't have due to the curved edges of the hole in the center. You can purchase an add-in that has this capability.
A more powerful program like matlab can make a 3D surface plot from x,y,z data, however, you will have to create a surface in the center, put a mesh on that surface and assign values to those nodes. Otherwise, the plotting algorithm will fill the hole in the center by interpolation of the data at the edges of the hole and that won't look pretty.
Why would you expend so much effort to make a 3D surface plot when the same information is conveyed by the contour plot? I don't understand the benefit.
November 28, 2017 at 7:17 amJimmyhanSubscriber
Peter, you are right. I understand what you mean exactly. I don't know how to explain this to you. I have to say sometimes I really didn't get my supervisor order too. whatever, I really appreciate you give me such good information about CFX using.
November 28, 2017 at 7:29 pmraul.raghavSubscriber
As @peteroznewman pointed out, why would you need a 3D surface plot when contours provide you the same data. And for your case since you have flow over a oval cylinder, the max pressure (at stagnation point) will cause a sharp bump in the 3D surface plot. And as peteroznewman mentioned,for the hole in the center, the data would be interpolated based on the data from the edges. See attached figures for contour and 3D surface plot (matlab) for a case of flow over a cylinder:
November 29, 2017 at 5:01 amJimmyhanSubscriber
Hi Rahul, you gave me a figure which I just want to get. But unfortunately, I cant use Matlab anyway. I did not really understand the interpolation of the data of edges. As you know the pressure data was extracted from CFX post as csv file. what I should do is use a different expression method. Today I try to learn Matlab, it will be good news to me if you can give me some suggestion about Matlab using in CFX simulation.
November 29, 2017 at 3:14 pmraul.raghavSubscriber
Any data you export from the plane of interest is going to be missing values at the empty/void region (oval section in your case). And for a surface plot, you need a uniform rectangular grid. So no matter which code you run (Matlab, Excel with the additonal addin, Origin etc.), the value of the exported data in the empty region will be interpolated based on the values at the edges of the empty region. I hope that helps!
Correct me if I'm wrong here, so you are saying that you want to export the data as an expression? And why if I may ask?
Creating surface plots are quite straightforward in Matlab particularly with improvements in the GUI. Refer link below:
November 30, 2017 at 6:12 amJimmyhanSubscriber
You know, if I can get the 3D plot, why not try to use it for shear stress. so after learning Matlab using, maybe I can add in some expression for others parameters. from the website you gave me I found it is not too difficult to convert to 3D plots. Thank you so much for your guidance.
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- The solver failed with a non-zero exit code of : 2
- Exporting Data Results
- Floating point exception