user material
#3839
Replies: 1 comment
-
Hi @darski1 Thank you for open this discussion! @mikerife have you tested the UPF routines within PyMAPDL? |
Beta Was this translation helpful? Give feedback.
0 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.
-
Dear All,
https://mapdl.docs.pyansys.com/version/stable/examples/extended_examples/Python_UPF/python_upf_examples.html#python-upf-examples
into mapdl. At the top I also added the lines to initiate mapdl:
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl(port=50056, run_location='.', jobname='test_usermat', override=True)
It works perfectly for standard material:
mapdl.mp("EX", 1, 1e5)
mapdl.mp("PRXY", 1, 0.3)
Unfortunately when I call user material:
mapdl.run("/UPF,'usermat.py'")
I receive an error: Error in instance GRPC_127.0.0.1:50056.
/usrcal,UserMat
or
mapdl.usrcal("UserMat") in my case?
Best regards,
Darek
usermat.zip
Beta Was this translation helpful? Give feedback.
All reactions