TAGGED: ansys-apdl, ansys-mechanical-apdl, apdl
-
-
March 28, 2023 at 9:12 am
Norbert Ionas
SubscriberHi,
I have a simple static structural model for example purposses.
On one end the model is fixed with a fixed support, on the other end a general joint is defined and a 2mm diplacement is applied in Z direction (downwards). After the model is solved I can see a Force=4067N in Z, now I would like to rerun the model and use a Command Snippet and somehow trace the Joint Force in real solving time and when it reaches 3000N (around 1.5mm) lets say, stop the simulation with APDL command.
-
March 30, 2023 at 1:20 pm
Chandra Sekaran
Ansys EmployeeYou already have this information (by looking at the time history of joint force vs time) if you have used multiple substeps during the analysis. However if you need a way to stop the analysis then you can do so with APDL scripting but it is not straightforward. Instead of applying the 2 mm load in one load step you can gradually apply it over many load steps and then at each load check the joint force. If checking the joint force requires postprocessing, then you have to use restarts. Something like below to check for displacement at a node for example.
*do,i,1,20,1 ! apply load over 20 load steps
d,nodeid,uz,-2*i/20
solve
! do postprocessing to check the force value
*get,jf,.....
*if,jf,gt,3000,exit
*enddo
-
- 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.
- Solver Pivot Warning in Beam Element Model
- Saving & sharing of Working project files in .wbpz format
- 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
- User manual
- 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
- material damping and modal analysis
- Colors and Mesh Display
-
5386
-
3367
-
2471
-
1310
-
1022
© 2023 Copyright ANSYS, Inc. All rights reserved.