May 2, 2022 at 10:33 amteaxdrivSubscriber
I would like to ask you how to export nodal displacements from Worbench?
MichalMay 3, 2022 at 10:29 amMay 3, 2022 at 11:04 amteaxdrivSubscriberHello peteroznewman thank you very much for your reply! I know this, but I search for automated way of export using APDL or Python script. The results should look like: Node ID X coord Y coord Z coord UX UY UZ USUM.
May 3, 2022 at 12:03 pmErik KostsonAnsys EmployeeHi Michal
Yes it is possible to export using apdl or act or python results (dpf), but it is something you would need to script your self.
Search the forum and the internet and you should find plenty of information
(The function to search for in the ACT/API guide/help manual for in order to get nodal displacements is GetNodeValues)
Also dpf results and dpf scripting can do this.
All the best
May 3, 2022 at 12:46 pmteaxdrivSubscriberHello ekostson thank you for your advice! I have searched the internet many time, and on top of that, I am using currently the script from the topic which you sent, but I have a problem with implementation of nodal coordinate x y z. I am still getting incorrect results, so I ask for help here.
May 3, 2022 at 1:06 pmErik KostsonAnsys EmployeeHi Michal
If you can explain which approach you are using, and also attach the actual script used (inline as text in your next post) ? Finally what is the issue with it, then perhaps someone can be of help and offer some feedback.
May 3, 2022 at 1:29 pmteaxdrivSubscriberHello Erik for example if we use APDL script I am not sure how to modify it to export along with UX,UY,UZ,USUM also nodal coordinate and Node ID?
!select Named Selection scoped nodes
*vfill,ndat(1,1),ramp,1,1 ! store node number
May 3, 2022 at 1:51 pmErik KostsonAnsys EmployeeHi
Look on the *vget command and the node section (LOC ) which will show how to get the location.
(e.g., *vget,ndat(1,5),node,1,loc,x ---- gets the x loc and so on and so forth)
As for the node numbers they are given by ndat(1,1) so the first column in the text file.
for guidance on apdl and look in the help manual (*vget, and all other commands).
All the best
May 5, 2022 at 10:04 amteaxdrivSubscriberHello ekostson Thank you very much. This works, but also I would like to ask you for setting of format like in the attached text file with the names of columns Node ID X CoordY CoordZ CoordXYZMagnitude. The columns have fixed width of 26.
Can you help me with it?
Viewing 8 reply threads
Ansys Innovation Space
- 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.
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
- 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
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- whether have the difference between using contact and target bodies
- Defining rigid body and contact
- Colors and Mesh Display
- A solver pivot warning or error has been detected
© 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.