TAGGED: apdl-ansys, command-snippet, springs, torsional-stiffness
-
-
March 21, 2022 at 10:05 amlbtung248Subscriber
Hello everyone,
I have a space truss model includes of multiple truss bars and these bars are connected to each other by spring element. I converted these springs from longitudinal springs to rotational COMBI250 springs by the following command:
etet,_sid,combi250
KEYOPT,_sid,1,0
K1=1e15
K2=1e15
K3=1e15
K4=ARG1
K5=ARG1
K6=ARG1
r,_sid,,,,,,,
RMORE,K1,K2,K3,K4,K5,K6
However there are 56 springs in total and copy paste these command snippets to each spring takes a lot of time and also when i want to change the value of the stiffness of the spring for the whole system, i have to go to every spring to adjust it.
Is there anyway i can use 1 command snippet to add these stiffness properties to all my 56 springs at once?
March 23, 2022 at 3:30 pmGovindan NagappanAnsys EmployeeYes, you can use one command object under the analysis branch (static, modal etc)
Sample commands:
/prep7
esel,s,enam,,250 !Select all 250 elements
*get,eltype_max,etyp,0,num,max !find max element type number used
et,eltype_max+1,250 !specify next element type as 250
emodif,all,type,eltype_max+1 !modify all selected elements to have type = eltype_max+1
!then define your stiffness values
KEYOPT,eltype_max+1 ,1,0
allsel
/solu
Check the feedback from solution information to verify this works. Check the command reference manual for details on the command
Viewing 1 reply thread- The topic ‘Assign spring stiffness to multiple springs at one time’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Problem with access to session files
- 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
- Geometric stiffness matrix for solid elements
- How to apply Compression-only Support?
- 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
- SMART crack under fatigue conditions, different crack sizes can’t growth
Top Contributors-
1236
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-