-
-
February 19, 2024 at 3:14 pm
a.eckhardt
SubscriberHello,
I am currently writing a script where I create a bar-node model from many keypoints and lines. I have assigned the element type BEAM188 to most of the lines. However, in the middle of the script I would like to change the element type and create the lines as LINK180. How can I implement this in the script? A small example code would be very helpful.
Thanks for your help and best regards
-
February 19, 2024 at 5:58 pm
Govindan Nagappan
Ansys EmployeeIf you already have beam188 elements, then you can use ET command to define the link180 and then select the elements you want to change using esel and use emodif to change the type.
Example:
ET,100,180, !set element type 100 as link 180. Add any keyoptions you need
ESEL,s,enam,,188 ! select all beam188 elements. Change this command as needed
EMODIF,all,type,100 ! change elements type to link180 for all selected elements
============================
Or if you need to select lines and mesh them with link180, then define link180 with ET command, set the type with type command and select lines and mesh it
ET,100,180, !set element type 100 as link 180. Add any keyoptions you need
TYPE,100 !set type as 100
!select lines and mesh it and it will be meshed with link180
-
- The topic ‘ansys apdl – Multiple element types in one script’ is closed to new replies.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- APDL, memory, solid
- Meaning of the error
- How to model a bimodular material in Mechanical
- Simulate a fan on the end of shaft
- Nonlinear load cases combinations
- Real Life Example of a non-symmetric eigenvalue problem
- How can the results of Pressures and Motions for all elements be obtained?
- Contact stiffness too big
-
4167
-
1487
-
1363
-
1194
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.