Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/ansys/mapdl/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _version_from_path(path):
"""Extract ansys version from a path. Generally, the version of
ANSYS is contained in the path:

C:/Program Files/ANSYS Inc/v202/ansys/bin/win64/ANSYS202.exe
C:/Program Files/ANSYS Inc/v202/ansys/bin/winx64/ANSYS202.exe

/usr/ansys_inc/v211/ansys/bin/mapdl

Expand Down Expand Up @@ -395,7 +395,7 @@ def launch_grpc(
Run MAPDL with shared memory parallel and specify the location of
the ansys binary.

>>> exec_file = 'C:/Program Files/ANSYS Inc/v202/ansys/bin/win64/ANSYS202.exe'
>>> exec_file = 'C:/Program Files/ANSYS Inc/v202/ansys/bin/winx64/ANSYS202.exe'
>>> mapdl = launch_mapdl(exec_file, additional_switches='-smp')

"""
Expand Down Expand Up @@ -968,7 +968,7 @@ def change_default_ansys_path(exe_loc):

Change default Ansys location on Windows

>>> ans_pth = 'C:/Program Files/ANSYS Inc/v193/ansys/bin/win64/ANSYS193.exe'
>>> ans_pth = 'C:/Program Files/ANSYS Inc/v193/ansys/bin/winx64/ANSYS193.exe'
>>> launcher.change_default_ansys_path(ans_pth)
>>> launcher.check_valid_ansys()
True
Expand Down Expand Up @@ -1580,7 +1580,7 @@ def launch_mapdl(
Run MAPDL with shared memory parallel and specify the location of
the Ansys binary.

>>> exec_file = 'C:/Program Files/ANSYS Inc/v201/ansys/bin/win64/ANSYS201.exe'
>>> exec_file = 'C:/Program Files/ANSYS Inc/v231/ansys/bin/winx64/ANSYS231.exe'
>>> mapdl = launch_mapdl(exec_file, additional_switches='-smp')

Connect to an existing instance of MAPDL at IP 192.168.1.30 and
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/mapdl/core/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class LocalMapdlPool:

Create a pool while specifying the MAPDL executable in Windows.

>>> exec_file = 'C:/Program Files/ANSYS Inc/v212/ansys/bin/win64/ANSYS212.exe'
>>> exec_file = 'C:/Program Files/ANSYS Inc/v212/ansys/bin/winx64/ANSYS212.exe'
>>> pool = LocalMapdlPool(10, exec_file=exec_file)
Creating Pool: 100%|########| 10/10 [00:01<00:00, 1.43it/s]

Expand Down