You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the latest version of PyMAPDL and its dependencies (fully updated virtual environment). You can update them using pip install --upgrade --upgrade-strategy eager ansys-mapdl-core in your activated virtual environment.
But the documentation shows that 'MODE' is going to return the type of instance.
Something here is breaking the MODE command. When used it returns a type error: "TypeError: 'str' object is not callable"
It is used with axisymmetric element with non-axosymmetric loading capabilites and is used in a few VMs like VM43.
🕵️ Steps To Reproduce
fromansys.mapdl.coreimportlaunch_mapdlmapdl=launch_mapdl(loglevel="WARNING", print_com=True)
mapdl.units("bin")
# parameters# materialEXX_1=30E6PR_1=0Dens_1=0.00073# geometricL_1=200d_out=2d_in=1# loadinggrav_1=986mapdl.prep7()
# PLANE25 keyopt 6 set to 2 turns on extra output on both facesmapdl.et(1, "PLANE25", "", "", "", "", "", 2)
# DEFINE MATERIAL PROPERTIESmapdl.mp("EX", 1, EXX_1)
mapdl.mp("DENS", 1, Dens_1)
mapdl.mp("NUXY", 1, PR_1)
# bottom up modeling DEFINE KEYPOINTSmapdl.k(1, d_in/2)
mapdl.k(2, d_in/2, L_1)
mapdl.kgen(2, 1, 2, 1, .5) # GENERATE 2 ADDITIONAL KEYPOINTS IN X DIRECTION# DEFINE LINES AND NUMBER OF DIVISIONSmapdl.l(1, 2) # DEFINE LINES AND NUMBER OF DIVISIONSmapdl.lesize(1, "", "", 12)
mapdl.l(2, 4)
mapdl.lesize(2, "", "", 1)
mapdl.l(3, 4)
mapdl.lesize(3, "", "", 12)
mapdl.l(1, 3)
mapdl.lesize(4, "", "", 1)
# DEFINE AREA and capture area number for later meshingarea_number=mapdl.a(3, 1, 2, 4)
mapdl.smrtsize("OFF")
mapdl.amesh(area_number)
mapdl.finish()
mapdl.slashsolu()
mapdl.antype("STATIC")
mapdl.time(1)
# GRAVITY AS THE SUM OF TWO HARMONICALLY VARYING LOADSmapdl.acel(grav_1, "", -grav_1)
# SYMMETRIC HARMONIC LOADmapdl.mode(1, 1)
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
in your activated virtual environment.🔍 Description of the bug
The APDL MODE command is in the code base here
But the documentation shows that 'MODE' is going to return the type of instance.
Something here is breaking the MODE command. When used it returns a type error: "TypeError: 'str' object is not callable"
It is used with axisymmetric element with non-axosymmetric loading capabilites and is used in a few VMs like VM43.
🕵️ Steps To Reproduce
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.10
📝 PyMAPDL Report
Show the Report!
📝 Installed packages
Show the installed packages!
📝 Logger output file
Show the logger output file.
The text was updated successfully, but these errors were encountered: