TAGGED: mechanical-apdl, units
-
-
June 27, 2023 at 9:34 amJagogSubscriber
Hello everyone. For my simulation project I modelled a bending beam in Ansys Mechanical 2022 R2 in order to calculate the node displacements in a static structural analysis under a certain load:
I exported stiffness and mass matrix of the bending beam in a txt-file because I want to programme the same scenario with the exported matrices in Matlab for my project. For the export I used these APDL-commands that saves the stiffness matrix in a txt-file:
Â*SMAT,MatKS,D,IMPORT,FULL,file.full,STIFF*PRINT,MatKS,Ksparse.txtÂUnfortunately, I was not able to calculate similar results for the maximal displacements in Matlab with the exported matrix (vary about factor 1000 compared with Ansys analysis). After checking my code and workflow several times without finding my error I was wondering if the units of the exported matrices could be responsible for the error. I used a metric unit system for the Ansys simulation (m, kg, N, s, V, A) and due to the basic equation   K u = f   I assumed that the unit of the stiffness matrix K is [N/m].ÂIs my assumption for the exported stiffness matrix correct or are there different units used for the export? If I am wrong, what unit is used for the exported mass matrix in addition?ÂThank you for reading my post, I am looking forward to receiving your respond. -
June 27, 2023 at 10:45 amZoi StavrothanasiAnsys Employee
Hello Jagog,
You are correct, since a metric unit system (m, kg, N, s, V, A) was used for the simulation the unit of stiffness is Newtons per meter (N/m). The units of the exported matrices will be the same as the units used in your project, as determined by the system of units set in your project settings.
Also note that, when exporting the stiffness and mass matrices using the SMAT and PRINT commands after the solution, the numerical values of the matrices will be exported without any information for the units.
Hope that helps!
Â
-
June 28, 2023 at 8:10 amJagogSubscriber
Hello Zoi Stavrothanasi, that answers my question. Thank you for the reply and clarification!
-
-
- The topic ‘Units of exported stiffness and mass matrices in Ansys Mechanical’ is closed to new replies.
- 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
- How to apply Compression-only Support?
- Geometric stiffness matrix for solid elements
- 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
- Frictional No separation contact
- Elastic limit load, Elastic-plastic limit load
-
1301
-
591
-
544
-
524
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.