August 23, 2019 at 7:58 pmsxj1121Subscriber
August 25, 2019 at 2:05 ampeteroznewmanSubscriber
Let's say you plot the Temperature result for one face. There is a Graph window under the Graphics window.
Use the Animation capability in the Graph window to write out an animation file.
You could write out all 1200 frames, through that seems like too much data, by using the Result Sets button.
Or you could just write out 120 frames and have a good animation by using the Distributed button.
It takes no time to write out this size file. Make the graphics window smaller to reduce file size further.
The last button I show on the Animation toolbar is the Export Animation File. You can choose between mp4, avi, wmv and gif.
There are many utilities that can extract out all the individual images from the video frames.
Choose gif for lossless image compression. ImageJ lets you scroll through the frames of an animated gif.
You can save any particular frame as a jpg or tiff or other file type. You can even create 120 windows from the stack.
Why would you want 120 (or 1200) individual image frames?
August 25, 2019 at 3:53 amsxj1121Subscriber
Thank you so much!
I noticed that if I export the animation like this, it would take the temperature of the last time step as the reference to set colors (like red, blue, green and so on) of each second. But if I select each time step separately, it would take the temperature of itself as reference. Accordingly, those would give me different pictures. Is there any way to change this?
August 25, 2019 at 1:55 pmpeteroznewmanSubscriber
I assume you want the same fixed color scale for all images. To achieve that, you simply double click on the number below the Maximum in bold and type a number you want like 31 in my case. Do the same for the number above the minimum, 23 in my case. Now that color scale is fixed for any time you choose in Mechanical.
If you export the animated GIF, then all frames automatically use the color scale displayed without the need to fix the top and bottom values.
August 25, 2019 at 6:48 pmsxj1121Subscriber
Thanks, this method works.
I need such individual images because I need to do image processing such as trend analysis of these.
By the way, is there any way to export all the temperature of all elements on the surface? Right now, I could convert from the grayscale value of each picture, but it's not accurate enough. Besides, selecting all elements on the surface manually would take too much time.
August 25, 2019 at 8:49 pmpeteroznewmanSubscriber
For a temperature result on a face at a specific time, right mouse click on the result in the outline and Export Text File. You will get a text file with five columns for that time: Node number, X-coord, Y-coord, Z-coord, Temperature.
There is a way to export the temperature for all the Result Sets (all times) using a Command Object. I just don't know the commands to use, but someone reading this discussion should be able to help.
August 26, 2019 at 1:22 amsxj1121Subscriber
Thank you so much for your time and consideration!
August 26, 2019 at 11:18 pmsxj1121Subscriber
I still have questions about how Ansys convert the temperature to the color of the image? This would help me a lot. Thank you very much!
August 27, 2019 at 12:16 ampeteroznewmanSubscriber
August 28, 2019 at 7:07 pmsxj1121Subscriber
Thank you so much for your help! Those methods help me a lot!
I am still trying to figure out how to export all sets of results to excel or txt.
September 6, 2019 at 4:38 pmsxj1121Subscriber
I write the following the code and u0se "insert commands" to insert those into the solution part in Workbench. But the test_vwrite.text only give me the result as follows:
NODE 0. 0.00000
The APDL commands are as follows:
*CFOPEN, test_vwrite, txt
April 26, 2020 at 8:50 pmYongchao ChengSubscriber
Hi, Do you solve this problem? I have the same question as yours. If you solve it, could you please share the solving method to me? Thanks.
April 26, 2020 at 8:58 pm
April 27, 2020 at 1:49 pmsxj1121Subscriber
Sorry, I did not figure it out. So I exported images manually.
- You must be logged in to reply to this topic.
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.
- Saving & sharing of Working project files in .wbpz format
- An Unknown error occurred during solution. Check the Solver Output…..
- Understanding Force Convergence Solution Output
- Solver Pivot Warning in Beam Element Model
- Colors and Mesh Display
- How to calculate the residual stress on a coating by Vickers indentation?
- whether have the difference between using contact and target bodies
- What is the difference between bonded contact region and fixed joint
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- User manual
© 2023 Copyright ANSYS, Inc. All rights reserved.