Ansys Learning Forum › Forums › Discuss Simulation › General Mechanical › Extracting K, U and F from ansys › Reply To: Extracting K, U and F from ansys
November 27, 2023 at 5:34 pm
mrife
Ansys Employee
Hi Jacopo
What are you using to solve? I ask as the PyAnsys Math application can dump out the matrices into Numpy and SciPy formats easily. (It is using Mechanical APDL behind the scenes.) Â
Otherwise see the pdf attached to the first link Tasos supplied. And see the *DMAT, *SMAT, and WRFULL commands in the Mechancial APDL help. WRFULL allows us to stop an analysis after assembling the full file if a actual solve is not necessary...though if you are comparing you'll need to do the solve anyway.
Mike