-
-
March 19, 2024 at 2:46 amDaeho JangSubscriber
-cantilver beam with sinusoidal load(transient transient structural)
Im trying to export nodal force to make Forcer matrix to solve F=KX using matlab, and compare result from ansys solution. I got stiffness matrix K_sparse using APDL, but i cant get force matrix. If i choose nodal force F, it only contain force at fixed nodes, which is useless.Â
Are there any method to get nodal force for every nodes?
 Also, is the method I'm attempting to implement feasible?
 Thanks
Â
-
March 19, 2024 at 8:17 pmChandra SekaranAnsys Employee
Take a look at the APDL Math commands and examples like below ( https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/ans_apdl/apdlmathex.html?q=%5C*dmat ) . This example below shows how to read the stiffness matrix and the load vector (RHS).
Example 4.2: Read a Matrix and a Load Vector from a FULL File and Solve
! READ THE STIFFNESS MATRIX FROM THE FULL FILE *SMAT,MatK,D,IMPORT,FULL,file.full,STIFF ! READ THE MAPPING TABLE: INTERNAL -> SOLV *SMAT,Nod2Solv,D,IMPORT,FULL,file.full,NOD2SOLV ! READ THE LOAD VECTOR FROM THE FULL FILE *DMAT,VecB,D,IMPORT,FULL,file.full,RHS ! ALLOCATE THE SOLUTION VECTOR IN SOLVER SPACE BY SIMPLY COPYING B *DMAT,VecX,D,COPY,VecB ! FACTORIZE A USING THE SPARSE SOLVER FUNCTIONS *LSENGINE,DSP,MySolver,MatK *LSFACTOR,MySolver ! SOLVE THE LINEAR SYSTEM *LSBAC,MySolver,VecB,VecX ! CONVERT THE SOLUTION TO THE INTERNAL SPACE *MULT,Nod2Solv,T,VecX,,XNod ! PRINT THE SOLUTION *PRINT,XNod ! FREE ALL OBJECTS *FREE,ALL 
-
- The topic ‘How can i export nodal force x,y,z for every single node in transient analysis?’ is closed to new replies.
- 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
- Frictional No separation contact
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- Script Error Code:800a000d
- Elastic limit load, Elastic-plastic limit load
- Element has excessive thickness change, distortion, is turning inside out
-
1421
-
599
-
591
-
565
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.