Need help extracting Elemental stiffness and mass matrices #4284
Unanswered
HarshithHyphen
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Hi @HarshithHyphen you will need to provide more information...I just tried a simple model and the emat file was created as expected. If you can't share the input file try this one. I used Python 3.12, MAPDL 25.2, PyMAPDL 0.71.0 from ansys.mapdl.core import launch_mapdl
import os
path = os.getcwd()
exec_file = r"C:\Program Files\ANSYS Inc\v252\ansys\bin\winx64\ansys252.exe"
mapdl = launch_mapdl(run_location = path, exec_file = exec_file)
print(mapdl)
mapdl.clear()
mapdl.prep7()
mapdl.et(1, 185)
mapdl.mp('ex', 1, 1E7)
mapdl.mp('dens', 1, 0.0005)
mapdl.mp('nuxy', 1, 0.28)
mapdl.block(0, 10, 0, 2, 0, 1)
mapdl.esize(.5)
mapdl.vmesh(1)
mapdl.nsel('s', 'loc', 'x', 0)
mapdl.d('all', 'all', 0)
mapdl.allsel()
mapdl.finish()
mapdl.solution()
mapdl.antype('modal')
mapdl.modopt('lanb', 6)
mapdl.ematwrite('yes')
mapdl.solve()
mapdl.finish()
mapdl.exit() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Performing Modal Analysis on plate geometry with SOLID185 element.
The solver skips writing stiffness matrix in the emat file.
Beta Was this translation helpful? Give feedback.
All reactions