Accessing results from an External Force Tracker object in Workbench LS-Dyna using the Scripting API
TAGGED: api, scripting, workbench-ls-dyna
-
-
February 2, 2022 at 8:06 pm
emarkowski
SubscriberI am working on an automation script that will set up, run, and export results from a simple analysis in Workbench LS-Dyna. One of the results that I want to be able to access and export with the script is force data from an External Force Tracker.
I was able to create the External Force Tracker and scope to an existing boundary condition with something like:
dataModel = ExtAPI.DataModel solutionInformation = dataModel.GetObjectsByName("Solution Information")[0] normalForce = solutionInformation.AddExternalForce() normalForce.BoundaryCondition = displacement normalForce.NormalOrientation = NormalOrientationType.YAxis normalForce.Name = "Normal Force"
In the above code, "displacement" is a reference of type: Ansys.ACT.Automation.Mechanical.BoundaryConditions.Displacement that points to an existing Displacement condition in the set up.
However, I cannot seem to find a way to actually access any of the tabular data captured by the External Force Tracker using the scripting API. Is this supported?
February 8, 2022 at 2:21 pmAniket
Ansys EmployeeSorry, it doesn't seem supported as of now.
-Aniket
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum
February 10, 2022 at 7:31 pmemarkowski
SubscriberThank you for the information. Is there an alternative route that I could use to access and export time vs force data for a selection in the simulation using scripting?
Essentially, I'm just looking to being able to export force magnitude results over time at a named selection. One result for the X direction and another result for the Y direction.
Viewing 2 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost 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.
Trending discussions- explicit dynamics
- Explicit dynamics ERRORS
- turning simulation
- getting zero maximum and minimum stress value in explicit analysis
- How do get Full values instead of just minimum and maximum ?
- How to figure out impact force in Explicit Dynamic Analysis
- Monte Carlo Simulation
- Euler Domain Restricting Simulation
- Running an explicit dynamics simulation on a composite plate
- Which analysis to use for dynamic and quasi-static compression of auxetic structures?
Top Contributors-
3804
-
2587
-
1841
-
1244
-
600
Top Rated Tags© 2023 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.
-