August 12, 2019 at 8:27 amMarek11xSubscriber
I do a transient structural mechanics in ANSYS Workbench and want to export the results of a defined path for each time step. Can anyone help me with this command?
Thank you so much
August 12, 2019 at 4:09 pmSandeep MedikondaAnsys Employee
What are you already using?
You can try using something like this:
August 14, 2019 at 1:15 pmMarek11xSubscriber
Hey, thank you for tip,
currently I try it this way, but it doesn't work:
*GET,nline,PARM,PathData,DIM,1 !retrieve the number of values of the paget table
*do,i,1,nsets ! do it for every time
*MWRITE,PATHsig(1,1),RESULTS_PathSig,txt,,JIK,,, 1 !write it on a file
August 15, 2019 at 1:40 amSandeep MedikondaAnsys Employee
echo what you have for in 'nline' and 'nsets' and double-check? You are not using the set commands as specified earlier. Refer to the *GET help on what each argument means.
Let's say I want to export 2 columns of data (substep, max equivalent stress) into an external file.
I would use something as follows (not for the path):
!Beginning of script
seqv_max(i,1) = mymax
!End of script
July 7, 2020 at 6:16 pmfredjahnertSubscriber
I did this and it worked. I had 1503 sets.
*do,i,1,total_sets ! do it for every time
*MWRITE,PATHStrain(1,1),RESULTS_,txt,,,,, !write it on a file
December 2, 2020 at 4:28 pmbojandimeski1SubscriberI would like to ask you something about the code, that you wrote before. When I use it and compare the results I see that the results, which have been output with APDL differ from those in Ansys Workbench. The equivalent stress in my txt file is always lower that the one in the solution in Workbench. For the last substep in solution I have a value 4798.8 MPa and in txt file is around 2500Mpa... How do I know that the node with the maximum value has been chosen? n
- 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.