Tagged: mechanical, python, result-postprocessing
-
-
February 9, 2023 at 12:37 am
keenanr
SubscriberWondering how to create a parametrized output (that can be fed to Design Explorer) from a python code result object?
Similar to how an APDL snippet can have output variables prefixed with "my_", and can then be parametrized.
Thanks!
-
February 9, 2023 at 2:28 pm
Erik Kostson
Ansys EmployeeYou can add act code like this say to create parameter of largest defection which is the first result on the solution tree (this is just for reference so you need to adjust as needed):
myMax = ExtAPI.DataModel.Project.Model.Analyses[0].Solution.Children[1]
myMax.CreateParameter(‘Maximum’)All the best
Erik
-
February 9, 2023 at 4:05 pm
keenanr
SubscriberThanks! Would this only work for referencing data already in the solution tree?
My goal is to perform calculations on input parameters and expose that result as an output parameter. The output would take no input from the analysis results.
-
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

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.

Ansys Blog
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
- Solver Pivot Warning in Beam Element Model
- Understanding Force Convergence Solution Output
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- whether have the difference between using contact and target bodies
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- Colors and Mesh Display
- User manual
- material damping and modal analysis
-
3670
-
2550
-
1749
-
1226
-
582
© 2023 Copyright ANSYS, Inc. All rights reserved.