How to get Bolt Pretension Section ID, and Pilot Node ID before solve

Mike.Thompson
Mike.Thompson Member, Employee Posts: 336
25 Answers First Anniversary 100 Comments 25 Likes
✭✭✭✭

You can use this APDL snippet to get both.

Starting with a body, you can get the type id of the body elements from a command snippet under that body, or cy solverdata in a python code object.
Once you have this, the apdl snippet above will give the pretension section ID, as well as the pilot node ID. This assumes implementation by pretension section, PRETS179

User would need to modify this if they are doing it with a beam, or if the formulation is for large deflection where a joint element is used instead of the 179 elems

ESEL,S,TYPE,,BodyTypeId
NSLE
ESLN
ESEL,R,ENAME,,179
FirstElId = ElNext(-1)
*GET,SecId,ELEM,FirstElId,ATTR,SECN
*GET,PilotNdId,SCTN,SecId,3
Tagged: