-
-
November 15, 2023 at 1:12 pmM NoumanSubscriber
Hello everyone, I want to develop a script in mechanical where the line bodies of about 110 in number will be imported from geometry. These bodies have to sort based on their location to respective named selection. then I have to apply line pressure on these named selection.
I have created edge based named selections but dont know how to sort the edges based on location and application of load. Kindly guide
-
November 15, 2023 at 1:23 pmErik KostsonAnsys Employee
Hi
Can you explain what you want to do and why ?
Also you said "to sort based on their location to respective named selection"?
So in each named selection it will include one or multiple beams depending on what (the position say centroid)?
Try to write a pseudo code on what you want to do and then you can find which commands to use.
https://builtin.com/data-science/pseudocode
All the best
Erik
-
November 15, 2023 at 1:23 pmErik KostsonAnsys Employee
Hi
Can you explain what you want to do and why ?
Also you said "to sort based on their location to respective named selection"?
Try to write a pseudo code on what you want to do and then you can find which commands to use.
https://builtin.com/data-science/pseudocode
All the best
Erik
-
November 15, 2023 at 1:23 pmErik KostsonAnsys Employee
Hi
Can you explain what you want to do and why ?
Also you said "to sort based on their location to respective named selection"?
Try to write a pseudo code on what you want to do and then you can find which commands to use.
https://builtin.com/data-science/pseudocode
All the best
Erik
-
- The topic ‘Scripting in ANSYS Mechanical’ is closed to new replies.
- Problem with access to session files
- Ayuda con Error: “Unable to access the source: EngineeringData”
- Reaction forces and moments during random vibration at local coordinate systems
- At least one body has been found to have only 1 element in at least 2 directions
- Using APDL to extract stresses on a beam element.
- How to select the interface delamination surface of a laminate?
- Geometric stiffness matrix for solid elements
- Timestep range set for animation export
- Non-linear convergence issue
- Computation Accleration
-
1131
-
468
-
466
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.