May 12, 2021 at 12:51 pmferozheloiseSubscriber
The Multi_Object_Export method worked for me. It is quite straightforward to export information from NamedSelection Objects. But, this does not work when I want data from ConstructionGeometry Objects Path.May 12, 2021 at 1:20 pmErik KostsonAnsys EmployeeHi
Not sure, I have never used this ACT - perhaps someone else can help here ().
May 13, 2021 at 7:37 amErik KostsonAnsys EmployeeHi
Also it will not be possible to modify this since it is a webex, and is not currently further developed (last release was for ANsys 17).
,what would you like to do exactly with the path, please elaborate and we can see if it is scriptable with ACT.
All the best
May 13, 2021 at 10:52 amferozheloiseSubscriber
Thank you for the reply. I am sending you a test case file (ANSYSv19.0), where I am trying to extract the modal deformation along a centerline of a pipe. There are two blocks of Modal analysis. In Mechanical1, the MultiObjectExport works only for the first set of results. Mechanical2 is an exact copy of Mechanical1; the only difference is -- I just rewrote the same ObjectBaseName 'Total Deformation' again. Now the MultiObjectExport does not work here as well.
I believe that the problem is not associated with the scoping method (as I mentioned previously) -- both NamedSelection Objects and ConstructionGeometry Objects Path has the same issue. Can you please check the file?
May 13, 2021 at 11:43 amErik KostsonAnsys EmployeeHi
Thanks for the information.
Ansys staff are not allowed to open any attachments - also as we said, this act extension is very old (for version 17) and not maintained and developed further so we can not help with that.
You can try instead to do your own little script (ACT mechanical), and tailor it as you need (this is the only way since this extension is frozen and we do not update it).
To help you get started the script below collects the result objects (e.g., Total Def. ., DIrectional Def., etc.) and creates/export results files/data in a D: drive.
--code snippet act---
for i in range(1,maxres):
This can be easily extended to loop also over all the analysis, and then to finally concatenate all files into one if needed. Also results can be scoped to geom., or NS or Paths without any issues.
May 17, 2021 at 10:55 amErik KostsonAnsys EmployeeIn case this might help - below is an act script that exports all results to files and then merges them all into one single file. Hope this helps:
for j in range(0,maxnls):
for i in range(1,maxres):
with open("D:\\output_file.txt", "w") as outfile:
for filename in files:
with open(filename) as infile:
contents = infile.read outfile.write(contents)
All the best
Viewing 5 reply threads
Ansys Innovation Space
- 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.Trending discussions
- How to calculate the residual stress on a coating by Vickers indentation?
- An Unknown error occurred during solution. Check the Solver Output…..
- Saving & sharing of Working project files in .wbpz format
- Solver Pivot Warning in Beam Element Model
- Understanding Force Convergence Solution Output
- whether have the difference between using contact and target bodies
- Colors and Mesh Display
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- Massive amount of memory (RAM) required for solve
- What is the difference between bonded contact region and fixed joint
Top Rated Tags
© 2022 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.