-
-
July 3, 2024 at 2:59 amAnita AmirsardariSubscriber
Hi ANSYS community,Â
I'd like to know how I can write an APDL script to conduct nonlinear static analysis where the death command for elements can be implement based on the level of stress or strain reached in the analysis.Â
I have read the post "I want to SEE the failure!" from May 2018, however the links do not work.Â
I would really appreciated it if someone can please provide me with some guidance!
-
July 4, 2024 at 6:24 amErik KostsonAnsys Employee
Hi
Search for that and they will be some links that might help:
https://innovationspace.ansys.com/forum/forums/topic/i-want-to-see-the-failure/
https://innovationspace.ansys.com/forum/forums/topic/ekill-and-element-distortion-in-workbench/
This is the main principle and workflow:
https://simutechgroup.com/performing-ekill-element-death-in-mechanical/
If you search for "I want to SEE the failure" on an search engine, there will be more links to look at.
Hope this helps.
Erik
-
July 9, 2024 at 2:03 amAnita AmirsardariSubscriber
Hi Erik,Â
Thank you very much for the references. I was able to find a link which opened up to the APDL command for ekill. However, when I am trying to follow the script, it appears that I have an issue with applying the load such that each step is solved using the loop command.Â
I am essentially running an incremental static nonlinear analysis. A displacement load of 20mm is to be applied in 100 substeps. At each substep, I'd like to check the strain or stress level and apply ekill if the threshold is exceeded. But currently, I can see that the problem in my script is that the load is not applied correctly (without even trying to execute ekill). Essentially, in the first load step the 20mm displacement is applied, rather than 20/100 = 0.2mm, thus encountering convergence issue. The relevant part of my script is below. Could you please advise what I may be doing wrong?Â
------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Apply load on selected nodes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NSLA, R,1
NSEL,R,LOC,X,-100, 100
NSEL,R,LOC,Y,300
NSEL,R,LOC,Z,27
CM, n0, NODES
D,n0,UY,20, , , , , , , , ,Â
ALLSEL,ALL
!*
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Define Solution Controls !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/SOLU
!total number of steps for solve
  steps=100
  TIME_END=1
  timeinc=TIME_END/steps
  time,timeinc
  solve
*do,ICOUNT,1,steps-1
 /solu
 allsel,all
 time,timeinc*ICOUNT+timeinc
 solve
 finish
*enddo
-
- The topic ‘APDL script for death based on material stress or strain’ is closed to new replies.
- Ayuda con Error: “Unable to access the source: EngineeringData”
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- How to apply Compression-only Support?
- Geometric stiffness matrix for solid elements
- How to select the interface delamination surface of a laminate?
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- Frictional No separation contact
- Elastic limit load, Elastic-plastic limit load
-
1301
-
591
-
544
-
524
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.