-
-
May 23, 2022 at 8:25 am
Vasily0616
SubscriberHi Everyone I need to export a 96*96 stiffness matrix about a gearbox with screws from ANSYS workbench, but I met some problems.
At first, I defined some Beam contact as screws and gave them two steps Load and Lock in Analysis Setting.
And I set 16 Remote Points in the middle of the bearings And named them in Command. I need to export the stiffness matrix about these points.
Then I added a command in Analysis Setting, but the model stopped from here and met some errors.
 *** ERROR ***       CP =  842.062 TIME= 11:13:07
 The analysis type must not be changed after the first load step. For a new analysis, enter the FINISH command now and
reenter using the   /SOLUTION command.
There is my APDL code.
antype,substr
seopt,,1,2,1,resolve !CHANGES MADE HERE
*DIM,node_pos,array,arg1,4
*DIM,dof_text_col,CHAR,1,arg1*6
*GET,unitsys,ACTIVE,0,UNITS
*DO,i,1,arg1
 M,M%i%,ALL
 node_pos(i,1)=i
 node_pos(i,2)=NX(M%i%)
 node_pos(i,3)=NY(M%i%)
 node_pos(i,4)=NZ(M%i%)
 dof_text_col(1,6*(i-1)+1)='N%i%_DX'
 dof_text_col(1,6*(i-1)+2)='N%i%_DY'
 dof_text_col(1,6*(i-1)+3)='N%i%_DZ'
 dof_text_col(1,6*(i-1)+4)='N%i%_RX'
 dof_text_col(1,6*(i-1)+5)='N%i%_RY'
 dof_text_col(1,6*(i-1)+6)='N%i%_RZ'
*ENDDO
allsel,all
I don't know how to improve my code to export the stiffness matrix.
Thanks a lot in advance!
-
May 23, 2022 at 1:06 pm
Ashish Khemka
Forum Moderator
Please see if the following link helps:
Export Stiffness Matrix from Ansys (ansystips.com)
Regards Ashish Khemka
-
May 30, 2022 at 3:55 pm
Vasily0616
Subscriber
That's very useful about exporting parts! Thank you.
BTW, I have met some new problems with stiffness matrix again, you may check this post if you please, thank you in advance
-
Viewing 2 reply threads
- The topic ‘Use ANSYS APDL To Export Stiffness Matrix’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Shape Memory Alloy Deployment
- Explicit Dynamics Material properties
- Correct Material Definition
- Get ultimate strength value from simulation
- Softening Issues in Reinforced Concrete
- Error on Material Designer, One or more errors occurred.
- Material Designer – Material Assignment
- Material Designer, Different warp and weft shares in woven RVE
Top Contributors
-
2137
-
918
-
599
-
591
-
483
Top Rated Tags
© 2025 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.