How to launch PyMAPDL in older ansys versions as compared to the most latest installed version?
Include the exec_file argument in the launch_mapdl function to point to 24R2 (for example) instead of default 25R1 (if its the latest installed).
mapdl = launch_mapdl(exec_file='C:\\Program Files\\ANSYS Inc\\v242\\ansys\\bin\\winx64\\ansys242.exe')
You can also do:
from ansys.mapdl.core import launch_mapdl mapdl = launch_mapdl(version=22.2)
See: https://mapdl.docs.pyansys.com/version/stable/api/_autosummary/ansys.mapdl.core.launcher.launch_mapdl.html