Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAPDL server connection terminated when running on linux container #3070

Open
4 tasks done
chrisg564 opened this issue May 3, 2024 · 1 comment
Open
4 tasks done

Comments

@chrisg564
Copy link

chrisg564 commented May 3, 2024

🤓 Before submitting the issue

🔍 Description of the bug

I am importing a cdb (brake aqueal problem in PyMAPDL help doc 1.6 Analysis and solution controls are highlighted: linear non-prestressed modal, partial nonlinear perturbed modal, and full nonlinear perturbed modal.)

Towards the end of the script the connection terminates and we are unable to finish the simulation.

This is running on Ansys Notebook (jupyter backend for execution) and the mapdl product is in a linux container with 8 cores and 64 GB of memory.

File to reproduce, please contact me to get Notebook access if preferred.

mapdl_ex_3 2.zip

🕵️ Steps To Reproduce

See attached file

💻 Which Operating System are you using?

Linux

🐍 Which Python version are you using?

3.9

💾 Which MAPDL version are you using?

2024R1

📝 PyMAPDL Report

Show the Report!

# PASTE HERE THE OUTPUT OF `python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"` here

📝 Installed packages

Show the installed packages!

aiohttp==3.9.5
aiosignal==1.3.1
alembic @ file:///home/conda/feedstock_root/build_artifacts/alembic_1647367721563/work
annotated-types==0.6.0
ans.protocol.amk==0.1.0b9
ansys-additive-core==0.17.2
ansys-api-additive==1.4.1
ansys-api-dbu==0.2.5
ansys-api-dyna==0.3.6
ansys-api-edb==1.0.0
ansys-api-fluent==0.3.22
ansys-api-geometry==0.3.8
ansys-api-mapdl==0.5.1
ansys-api-mechanical==0.1.1
ansys-api-meshing-prime==0.1.2
ansys-api-platform-instancemanagement==1.0.0
ansys-api-pyensight==0.3.7
ansys-api-sherlock==0.1.22
ansys-api-systemcoupling==0.1.0
ansys-cloud-core==1.1.4
ansys-dpf-composites==0.4.0
ansys-dpf-core==0.10.1
ansys-dpf-gate==0.4.1
ansys-dpf-gatebin==0.4.1
ansys-dpf-post==0.6.0
ansys-dyna-core==0.4.13
ansys-dynamicreporting-core==0.5.1
ansys-edb-core==0.1.3
ansys-fluent-core==0.19.2
ansys-fluent-parametric==0.9.0
ansys-fluent-visualization==0.8.0
ansys-geometry-core==0.4.11
ansys-grantami-bomanalytics==2.0.0
ansys-grantami-bomanalytics-openapi==2.0.0
ansys-grantami-recordlists==1.1.0
ansys-grantami-serverapi-openapi==2.0.0
ansys-grpc-dpf==0.8.1
ansys-hps-client==0.7.1
ansys-lab==0.1.68
ansys-mapdl-core==0.67.0
ansys-mapdl-reader==0.53.0
ansys-materials-manager==0.2.3
ansys-math-core==0.1.3
ansys-mechanical-core==0.10.8
ansys-mechanical-env==0.1.4
ansys-meshing-prime==0.5.1
ansys-motorcad-core==0.4.3
ansys-openapi-common==1.5.1
ansys-optislang-core==0.6.3
ansys-platform-instancemanagement==1.1.2
ansys-pyensight-core==0.7.8
ansys-pythonnet==3.1.0rc3
ansys-rocky-core==0.1.0
ansys-seascape==0.2.0
ansys-sherlock-core==0.4.0
ansys-simai-core==0.1.4
ansys-simbuilder-core==2.76.0
ansys-systemcoupling-core==0.4.1
ansys-tools-path==0.4.1
ansys-turbogrid-api==0.4.0
ansys-turbogrid-core==0.4.0
ansys-units==0.2.0
ansysedt-adaptors==23.2.927
anyio==3.7.1
appdirs==1.4.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
asgiref==3.7.2
asttokens==2.4.1
async-generator==1.10
async-timeout==4.0.3
attrs==23.2.0
Babel==2.14.0
backcall @ file:///home/conda/feedstock_root/build_artifacts/backcall_1592338393461/work
backoff==2.2.1
backports.functools-lru-cache @ file:///home/conda/feedstock_root/build_artifacts/backports.functools_lru_cache_1618230623929/work
bcrypt==4.1.2
beartype==0.17.2
beautifulsoup4==4.12.2
bleach==6.1.0
blinker==1.4
bokeh==3.3.2
boto3==1.34.85
botocore==1.34.85
brotlipy @ file:///home/conda/feedstock_root/build_artifacts/brotlipy_1648854164373/work
build==1.1.1
CacheControl==0.13.1
cachetools==5.3.2
Cartopy==0.22.0
certifi==2023.11.17
certipy==0.1.3
cffi==1.16.0
charset-normalizer==3.3.2
cleo==2.1.0
click==8.1.7
clr-loader==0.2.6
colorama @ file:///home/conda/feedstock_root/build_artifacts/colorama_1602866480661/work
comm==0.2.1
conda==4.12.0
conda-package-handling @ file:///home/conda/feedstock_root/build_artifacts/conda-package-handling_1649385069444/work
contourpy==1.2.1
crashtest==0.4.1
cryptography==38.0.4
cycler==0.12.1
debugpy==1.8.0
decorator==5.1.1
defusedxml==0.7.1
Deprecated==1.2.14
dill==0.3.8
distlib==0.3.8
distro==1.9.0
Django==4.2.11
docker==7.0.0
docutils==0.20.1
dotnetcore2==3.1.23
dulwich==0.21.7
ecdsa==0.18.0
elementpath==4.4.0
entrypoints==0.4
exceptiongroup==1.2.0
executing==2.0.1
fabric==3.2.2
fastjsonschema==2.19.1
filelock==3.13.1
flatbuffers==23.5.26
flit_core @ file:///home/conda/feedstock_root/build_artifacts/flit-core_1645629044586/work/source/flit_core
fonttools==4.51.0
fpdf2==2.7.8
frozenlist==1.4.1
geomdl==5.3.1
gmsh==4.12.0
google-api-core==2.15.0
google-api-python-client==2.111.0
google-auth==2.26.0
google-auth-httplib2==0.2.0
googleapis-common-protos==1.62.0
greenlet @ file:///home/conda/feedstock_root/build_artifacts/greenlet_1648882382645/work
grpcio==1.60.0
grpcio-health-checking==1.48.2
grpcio-status==1.48.2
h5py==3.10.0
httplib2==0.22.0
idna==3.7
importlib-metadata==7.0.1
importlib_resources==6.4.0
installer==0.7.0
invoke==2.2.0
ipycanvas==0.13.1
ipydatawidgets==4.3.5
ipyevents==2.0.2
ipykernel==6.28.0
ipython==8.18.1
ipython-genutils==0.2.0
ipyvtklink==0.2.3
ipywidgets==7.8.1
jaraco.classes==3.3.1
jedi==0.19.1
jeepney==0.8.0
Jinja2==3.1.2
jmespath==1.0.1
json5==0.9.14
jsonschema==4.20.0
jsonschema-specifications==2023.12.1
jupyter-ansys-commands==0.1.68
jupyter-ansys-docmanager==0.1.2
jupyter-server==1.24.0
jupyter-telemetry @ file:///home/conda/feedstock_root/build_artifacts/jupyter_telemetry_1605173804246/work
jupyter_client==8.6.0
jupyter_core==5.6.1
jupyter_server_proxy==4.1.0
jupyterhub @ file:///home/conda/feedstock_root/build_artifacts/jupyterhub-feedstock_1651846799684/work
jupyterlab==3.4.0
jupyterlab-ansys-theme==0.1.5
jupyterlab-topbar==0.6.1
jupyterlab-widgets==1.1.7
jupyterlab_pygments==0.3.0
jupyterlab_server==2.25.2
keyring==24.3.1
kiwisolver==1.4.5
libmambapy @ file:///home/conda/feedstock_root/build_artifacts/mamba-split_1652294196376/work/libmambapy
linkify-it-py==2.0.2
lxml==5.0.0
Mako @ file:///home/conda/feedstock_root/build_artifacts/mako_1649097013621/work
mamba @ file:///home/conda/feedstock_root/build_artifacts/mamba-split_1652294196376/work/mamba
Markdown==3.5.1
markdown-it-py==3.0.0
MarkupSafe==2.1.3
marshmallow==3.21.1
marshmallow-oneofschema==3.1.1
matplotlib==3.8.4
matplotlib-inline==0.1.6
mdit-py-plugins==0.4.0
mdurl==0.1.2
meshio==5.3.4
mistune==0.8.4
more-itertools==10.1.0
msgpack==1.0.8
multidict==6.0.5
nbclassic==0.5.6
nbclient==0.9.0
nbconvert==6.5.4
nbformat==5.9.2
nest-asyncio==1.5.8
nh3==0.2.15
notebook==6.5.4
notebook_shim==0.2.3
numpy==1.26.4
oauthlib @ file:///home/conda/feedstock_root/build_artifacts/oauthlib_1643507977997/work
packaging==24.0
pamela==1.0.0
pandas==2.1.4
pandocfilters==1.5.0
panel==1.3.6
param==2.0.1
paramiko==3.4.0
parso==0.8.3
pexpect==4.9.0
pickleshare @ file:///home/conda/feedstock_root/build_artifacts/pickleshare_1602536217715/work
pillow==10.3.0
Pint==0.23
pkginfo==1.10.0
platformdirs==4.1.0
plotly==5.18.0
plumbum==1.8.2
poetry==1.7.1
poetry-core==1.8.1
poetry-plugin-export==1.6.0
pooch==1.8.0
prettytable==3.9.0
prometheus-client==0.19.0
prompt-toolkit==3.0.43
protobuf==3.20.3
psutil==5.9.7
ptyprocess==0.7.0
pure-eval==0.2.2
pyaedt==0.7.10
pyansys==2024.1.7
pyansys-tools-report==0.7.0
pyansys-tools-versioning==0.5.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycosat @ file:///home/conda/feedstock_root/build_artifacts/pycosat_1649384802055/work
pycparser==2.21
pycryptodome==3.20.0
pycurl==7.45.1
pydantic==2.5.3
pydantic_core==2.14.6
PyGithub==2.1.1
Pygments==2.17.2
pygranta==2024.1.0
pyiges==0.3.1
PyJWT==2.8.0
PyNaCl==1.5.0
pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1643496850550/work
pyparsing==3.1.2
pypng==0.20220715.0
pyproj==3.6.1
pyproject_hooks==1.0.0
PyQt5==5.15.6
PyQt5-Qt5==5.15.2
PyQt5-sip==12.13.0
Pyro5==5.15
pyrsistent @ file:///home/conda/feedstock_root/build_artifacts/pyrsistent_1649013355209/work
pyshp==2.3.1
PySide6==6.2.3
PySocks @ file:///home/conda/feedstock_root/build_artifacts/pysocks_1648857263093/work
pyspnego==0.10.2
python-dateutil==2.9.0.post0
python-jose==3.3.0
python-json-logger @ file:///home/conda/feedstock_root/build_artifacts/python-json-logger_1602545356084/work
python-keycloak==2.0.0
pythreejs==2.4.2
pytwin==0.6.0
pytz==2023.3.post1
pyvista==0.43.1
pyvistaqt==0.7.0
pyviz_comms==3.0.0
PyYAML==6.0.1
pyzmq==25.1.2
QtPy==2.4.1
rapidfuzz==3.8.1
readme_renderer==43.0
referencing==0.32.0
requests==2.31.0
requests-ntlm==1.2.0
requests-toolbelt==1.0.0
rfc3986==2.0.0
rich==13.7.0
rpds-py==0.16.2
rpyc==5.3.1
rsa==4.9
ruamel-yaml-conda @ file:///home/conda/feedstock_root/build_artifacts/ruamel_yaml_1636009144459/work
ruamel.yaml @ file:///home/conda/feedstock_root/build_artifacts/ruamel.yaml_1649033202141/work
ruamel.yaml.clib @ file:///home/conda/feedstock_root/build_artifacts/ruamel.yaml.clib_1649013070954/work
rustworkx==0.12.0
s3transfer==0.10.1
scipy==1.11.4
scooby==0.9.2
SecretStorage==3.3.3
semver==3.0.2
Send2Trash==1.8.2
serpent==1.41
shapely==2.0.2
shellingham==1.5.4
shiboken6==6.2.3
simpervisor==1.0.0
simple-upload-server-client==0.0.1
six==1.16.0
sniffio==1.3.0
soupsieve==2.5
SQLAlchemy @ file:///home/conda/feedstock_root/build_artifacts/sqlalchemy_1651017976253/work
sqlparse==0.4.4
sseclient-py==1.8.0
stack-data==0.6.3
tenacity==8.2.3
terminado==0.18.0
tinycss2==1.2.1
tomli==2.0.1
tomlkit==0.12.4
tornado==6.4
tqdm==4.66.1
traitlets==5.14.1
traittypes==0.2.1
trame==3.6.0
trame-client==3.0.2
trame-server==3.0.0
trame-vtk==2.8.5
trame-vuetify==2.4.3
trove-classifiers==2024.4.10
twine==5.0.0
types-requests==2.31.0.6
types-six==1.16.21.20240311
types-urllib3==1.26.25.14
typing_extensions==4.11.0
tzdata==2023.4
uc-micro-py==1.0.2
uritemplate==4.1.1
urllib3==1.26.18
virtualenv==20.26.0
vtk==9.3.0
wakepy==0.7.2
wcwidth==0.2.12
webencodings==0.5.1
websocket-client==1.7.0
websockets==12.0
widgetsnbextension==3.6.6
wrapt==1.16.0
wslink==2.0.2
xmlschema==2.5.1
xyzservices==2023.10.1
yarl==1.9.4
zipp==3.18.1

📝 Logger output file

Show the logger output file.


 Ansys Mechanical Enterprise Solver                


 *------------------------------------------------------------------*
 |                                                                  |
 |   W E L C O M E   T O   T H E   A N S Y S (R)  P R O G R A M     |
 |                                                                  |
 *------------------------------------------------------------------*




 ***************************************************************
 *         ANSYS MAPDL                  LEGAL NOTICES          *
 ***************************************************************
 *                                                             *
 * Copyright 1971-2024 Ansys, Inc.  All rights reserved.       *
 * Unauthorized use, distribution or duplication is            *
 * prohibited.                                                 *
 *                                                             *
 * Ansys is a registered trademark of Ansys, Inc. or its       *
 * subsidiaries in the United States or other countries.       *
 * See the Ansys, Inc. online documentation or the Ansys, Inc. *
 * documentation CD or online help for the complete Legal      *
 * Notice.                                                     *
 *                                                             *
 ***************************************************************
 *                                                             *
 * THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION       *
 * INCLUDE TRADE SECRETS AND CONFIDENTIAL AND PROPRIETARY      *
 * PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS.    *
 * The software products and documentation are furnished by    *
 * Ansys, Inc. or its subsidiaries under a software license    *
 * agreement that contains provisions concerning               *
 * non-disclosure, copying, length and nature of use,          *
 * compliance with exporting laws, warranties, disclaimers,    *
 * limitations of liability, and remedies, and other           *
 * provisions.  The software products and documentation may be *
 * used, disclosed, transferred, or copied only in accordance  *
 * with the terms and conditions of that software license      *
 * agreement.                                                  *
 *                                                             *
 * Ansys, Inc. is a UL registered                              *
 * ISO 9001:2015 company.                                      *
 *                                                             *
 ***************************************************************
 *                                                             *
 * This product is subject to U.S. laws governing export and   *
 * re-export.                                                  *
 *                                                             *
 * For U.S. Government users, except as specifically granted   *
 * by the Ansys, Inc. software license agreement, the use,     *
 * duplication, or disclosure by the United States Government  *
 * is subject to restrictions stated in the Ansys, Inc.        *
 * software license agreement and FAR 12.212 (for non-DOD      *
 * licenses).                                                  *
 *                                                             *
 ***************************************************************



          *****  MAPDL COMMAND LINE ARGUMENTS  *****
  NONE

 RELEASE=                      BUILD= 24.1      UP20231106   VERSION=LINUX x64   
 CURRENT JOBNAME=file1  19:09:09  MAY 02, 2024 CP=      0.248


 PRINTOUT RESUMED BY /GOP


 NUMBER OF DISPLAYED ERRORS ALLOWED PER COMMAND=                200
 NUMBER OF ERRORS ALLOWED PER COMMAND BEFORE ANSYS ABORT=     10000
 ABORT LEVEL KEY= -1
 ALL ERRORS WRITTEN TO /work/data/mapdl-241-sqypqvbifqwxvtfmp0mp2ens8qbvubxke8xnxunbg5y/file1.err                                                                                                                                                                                          
 DO NOT TERMINATE /INPUT UPON FIRST ERROR

 CLEAR MAPDL DATABASE AND RESTART

 Ansys Mechanical Enterprise Solver                

 *** VERIFICATION RUN - CASE linear_non_prestressed           ***  OPTION=  4

 PRINTOUT RESUMED BY /GOP

 *****  MAPDL SOLUTION ROUTINE  *****

 FINISH SOLUTION PROCESSING


 ***** ROUTINE COMPLETED *****  CP =         0.000



 *****  MAPDL SOLUTION ROUTINE  *****

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 Deformable-deformable contact pair identified by real constant set 30   
 and contact element type 30 has been set up.                            
 Contact algorithm: Augmented Lagrange method
 Contact detection at: Gauss integration point
 Contact stiffness factor FKN                  1.0000    
 The resulting initial contact stiffness      0.76937E+15
 Default penetration tolerance factor FTOLN   0.10000    
 The resulting penetration tolerance          0.51991E-03
 Max. initial friction coefficient MU         0.30000    
 Default tangent stiffness factor FKT          1.0000    
 Default elastic slip factor SLTOL            0.10000E-01
 The resulting elastic slip tolerance         0.17330E-03
 The actual elastic slip will not exceed the tolerance within each sub-step
 Update contact stiffness at each iteration
 Default Max. friction stress TAUMAX          0.10000E+21
 Average contact surface length               0.17330E-01
 Average contact pair depth                   0.51991E-02
 Average target surface length                0.17828E-01
 User defined pinball region PINB             0.20000E-02
 Auto contact offset used to close gap        0.10100E-03
 Initial penetration is excluded.

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 Min.  Initial gap 1.E-04 was detected between contact element 0 and     
 target element 0.                                                       
 Contact is detected due to initial settings.                            
 ****************************************
  

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 Deformable-deformable contact pair identified by real constant set 32   
 and contact element type 32 has been set up.                            
 Contact algorithm: Augmented Lagrange method
 Contact detection at: Gauss integration point
 Contact stiffness factor FKN                  1.0000    
 The resulting initial contact stiffness      0.75453E+15
 Default penetration tolerance factor FTOLN   0.10000    
 The resulting penetration tolerance          0.53013E-03
 Max. initial friction coefficient MU         0.30000    
 Default tangent stiffness factor FKT          1.0000    
 Default elastic slip factor SLTOL            0.10000E-01
 The resulting elastic slip tolerance         0.17671E-03
 The actual elastic slip will not exceed the tolerance within each sub-step
 Update contact stiffness at each iteration
 Default Max. friction stress TAUMAX          0.10000E+21
 Average contact surface length               0.17671E-01
 Average contact pair depth                   0.53013E-02
 Average target surface length                0.17828E-01
 User defined pinball region PINB             0.20000E-02
 Auto contact offset used to close gap        0.10100E-03
 Initial penetration is excluded.

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 Min.  Initial gap 1.E-04 was detected between contact element 0 and     
 target element 0.                                                       
 Contact is detected due to initial settings.                            
 ****************************************
  


  *** MASS SUMMARY BY ELEMENT TYPE ***

  TYPE      MASS
     1   2.89122    
     3  0.126921    
     4  0.126921    
     7  0.126921    
     8  0.126921    
     9  0.126921    
    10  0.126921    
    13  0.126921    
    14  0.126921    
    15  0.126921    
    17  0.126921    
    18  0.126921    
    19  0.126921    
    21  0.126921    
    22  0.126921    
    23   3.23681    
    25  0.139969E-02
    26  0.933787E-01
    28  0.687824    
 AN AVERAGE OF THE X-, Y-, AND Z-DIRECTION MASS TERMS ARE USED

  UNSYMMETRIC CALCULATION OF UP TO    30 EIGENVECTORS.
  NUMBER OF EQUATIONS              =       159836
  MAXIMUM WAVEFRONT                =            0
  MAXIMUM MODES STORED             =           30
  MINIMUM EIGENVALUE               =  0.00000E+00
  MAXIMUM EIGENVALUE               =  0.10000E+31

   *****MAPDL VERIFICATION RUN ONLY*****
     DO NOT USE RESULTS FOR PRODUCTION

  ***** FREQUENCIES FROM UNSYMMETRIC EIGENSOLVER *****

               COMPLEX FREQUENCY (HERTZ)
  MODE     STABILITY            FREQUENCY         MODAL DAMPING RATIO


    1       0.0000000           775.90783    j       0.0000000    
    2       0.0000000           863.53923    j       0.0000000    
    3       0.0000000           1097.1795    j       0.0000000    
    4       0.0000000           1311.5592    j       0.0000000    
    5       0.0000000           1328.7616    j       0.0000000    
    6       0.0000000           1600.9461    j       0.0000000    
    7       0.0000000           1616.1622    j       0.0000000    
    8       0.0000000           1910.5015    j       0.0000000    
    9       0.0000000           2070.7314    j       0.0000000    
   10       0.0000000           2081.2620    j       0.0000000    
   11       0.0000000           2676.7851    j       0.0000000    
   12       0.0000000           2724.1098    j       0.0000000    
   13       0.0000000           3373.9821    j       0.0000000    
   14       0.0000000           4141.6388    j       0.0000000    
   15       0.0000000           4145.1563    j       0.0000000    
   16       0.0000000           4434.0556    j       0.0000000    
   17       0.0000000           4486.6164    j       0.0000000    
   18       0.0000000           4668.5499    j       0.0000000    
   19       0.0000000           4767.5697    j       0.0000000    
   20       0.0000000           5241.6155    j       0.0000000    
   21      -21.589753           6474.4568    j      0.33345861E-02
   22       21.589753           6474.4568    j     -0.33345861E-02
   23       0.0000000           6763.3671    j       0.0000000    
   24       0.0000000           6765.6185    j       0.0000000    
   25       0.0000000           6920.6853    j       0.0000000    
   26       0.0000000           6929.2582    j       0.0000000    
   27       0.0000000           7069.8230    j       0.0000000    
   28       0.0000000           7243.8570    j       0.0000000    
   29       0.0000000           8498.6932    j       0.0000000    
   30       0.0000000           8624.1208    j       0.0000000    

 FINISH SOLUTION PROCESSING


 ***** ROUTINE COMPLETED *****  CP =         0.000



 CLEAR MAPDL DATABASE AND RESTART

 Ansys Mechanical Enterprise Solver                

 CLEAR MAPDL DATABASE AND RESTART

 Ansys Mechanical Enterprise Solver                

 *** VERIFICATION RUN - CASE partial_prestressed              ***  OPTION=  4

 PRINTOUT RESUMED BY /GOP

 *****  MAPDL SOLUTION ROUTINE  *****

 FINISH SOLUTION PROCESSING


 ***** ROUTINE COMPLETED *****  CP =         0.000



 *****  MAPDL SOLUTION ROUTINE  *****

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 Deformable-deformable contact pair identified by real constant set 30   
 and contact element type 30 has been set up.                            
 Contact algorithm: Augmented Lagrange method
 Contact detection at: Gauss integration point
 Contact stiffness factor FKN                  1.0000    
 The resulting initial contact stiffness      0.76937E+15
 Default penetration tolerance factor FTOLN   0.10000    
 The resulting penetration tolerance          0.51991E-03
 Max. initial friction coefficient MU         0.30000    
 Default tangent stiffness factor FKT          1.0000    
 Default elastic slip factor SLTOL            0.10000E-01
 The resulting elastic slip tolerance         0.17330E-03
 The actual elastic slip will not exceed the tolerance within each sub-step
 Update contact stiffness at each iteration
 Default Max. friction stress TAUMAX          0.10000E+21
 Average contact surface length               0.17330E-01
 Average contact pair depth                   0.51991E-02
 Average target surface length                0.17828E-01
 User defined pinball region PINB             0.20000E-02
 Auto contact offset used to close gap        0.10100E-03
 Initial penetration is excluded.

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 Min.  Initial gap 1.E-04 was detected between contact element 0 and     
 target element 0.                                                       
 Contact is detected due to initial settings.                            
 ****************************************
  

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 Deformable-deformable contact pair identified by real constant set 32   
 and contact element type 32 has been set up.                            
 Contact algorithm: Augmented Lagrange method
 Contact detection at: Gauss integration point
 Contact stiffness factor FKN                  1.0000    
 The resulting initial contact stiffness      0.75453E+15
 Default penetration tolerance factor FTOLN   0.10000    
 The resulting penetration tolerance          0.53013E-03
 Max. initial friction coefficient MU         0.30000    
 Default tangent stiffness factor FKT          1.0000    
 Default elastic slip factor SLTOL            0.10000E-01
 The resulting elastic slip tolerance         0.17671E-03
 The actual elastic slip will not exceed the tolerance within each sub-step
 Update contact stiffness at each iteration
 Default Max. friction stress TAUMAX          0.10000E+21
 Average contact surface length               0.17671E-01
 Average contact pair depth                   0.53013E-02
 Average target surface length                0.17828E-01
 User defined pinball region PINB             0.20000E-02
 Auto contact offset used to close gap        0.10100E-03
 Initial penetration is excluded.

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 Min.  Initial gap 1.E-04 was detected between contact element 0 and     
 target element 0.                                                       
 Contact is detected due to initial settings.                            
 ****************************************
  



  *** MASS SUMMARY BY ELEMENT TYPE ***

  TYPE      MASS
     1   2.89122    
     3  0.126921    
     4  0.126921    
     7  0.126921    
     8  0.126921    
     9  0.126921    
    10  0.126921    
    13  0.126921    
    14  0.126921    
    15  0.126921    
    17  0.126921    
    18  0.126921    
    19  0.126921    
    21  0.126921    
    22  0.126921    
    23   3.23681    
    25  0.139969E-02
    26  0.933787E-01
    28  0.687824    
 AN AVERAGE OF THE X-, Y-, AND Z-DIRECTION MASS TERMS ARE USED
     FORCE CONVERGENCE VALUE  =  0.3472E-04  CRITERION=  0.5000E-04
  Memory available (MB) =    0.0    ,  Memory required (MB) =    0.0    


 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 The system matrix is unsymmetric.                                       
     DISP CONVERGENCE VALUE   =  0.5560E-14  CRITERION=  0.5000E-13 <<< CONVERGED
    EQUIL ITER   1 COMPLETED.  NEW TRIANG MATRIX.  MAX DOF INC= -0.5560E-14
     DISP CONVERGENCE VALUE   =  0.5560E-14  CRITERION=  0.5630E-07 <<< CONVERGED
      The calculated reference DISP CONVERGENCE VALUE   =  0.1000E-11
       is less than MINREF (which can be modified on the CNVTOL command).
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC = -0.5560E-14
     FORCE CONVERGENCE VALUE  =  0.4470E-04  CRITERION=  0.5000E-04 <<< CONVERGED
     DISP CONVERGENCE VALUE   =  0.5560E-14  CRITERION=  0.5630E-07 <<< CONVERGED
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC = -0.5560E-14
     FORCE CONVERGENCE VALUE  =  0.4470E-04  CRITERION=  0.5000E-04 <<< CONVERGED
    >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION   2

   *** ELEMENT RESULT CALCULATION TIMES
     TYPE    NUMBER   ENAME      TOTAL CP  AVE CP

        1      2048  SOLID186      0.000   0.000000
        2       224  SOLID186      0.000   0.000000
        3       192  SOLID186      0.000   0.000000
        4       224  SOLID186      0.000   0.000000
        5       144  SOLID186      0.000   0.000000
        6       144  SOLID186      0.000   0.000000
        7       192  SOLID186      0.000   0.000000
        8       224  SOLID186      0.000   0.000000
        9       192  SOLID186      0.000   0.000000
       10       144  SOLID186      0.000   0.000000
       11       144  SOLID186      0.000   0.000000
       12       192  SOLID186      0.000   0.000000
       13       224  SOLID186      0.000   0.000000
       14       192  SOLID186      0.000   0.000000
       15       144  SOLID186      0.000   0.000000
       16       144  SOLID186      0.000   0.000000
       17       192  SOLID186      0.000   0.000000
       18       224  SOLID186      0.000   0.000000
       19       192  SOLID186      0.000   0.000000
       20       144  SOLID186      0.000   0.000000
       21       144  SOLID186      0.000   0.000000
       22       192  SOLID186      0.000   0.000000
       23      2048  SOLID186      0.000   0.000000
       24       992  SOLID186      0.000   0.000000
       25       123  SOLID187      0.000   0.000000
       26       310  SOLID186      0.000   0.000000
       27      1632  SOLID186      0.000   0.000000
       28       256  SOLID186      0.000   0.000000
       29       256  SOLID186      0.000   0.000000
       30        32  CONTA174      0.000   0.000000
       32        32  CONTA174      0.000   0.000000
       34       292  CONTA174      0.000   0.000000
       36       656  CONTA174      0.000   0.000000
       38       664  CONTA174      0.000   0.000000
       40       284  CONTA174      0.000   0.000000
       42       280  CONTA174      0.000   0.000000
       44       274  CONTA174      0.000   0.000000
       46       274  CONTA174      0.000   0.000000
       48       280  CONTA174      0.000   0.000000
       50       284  CONTA174      0.000   0.000000
       52       280  CONTA174      0.000   0.000000
       54       274  CONTA174      0.000   0.000000
       56       274  CONTA174      0.000   0.000000
       58       280  CONTA174      0.000   0.000000
       60       284  CONTA174      0.000   0.000000
       62       280  CONTA174      0.000   0.000000
       64       274  CONTA174      0.000   0.000000
       66       274  CONTA174      0.000   0.000000
       68       280  CONTA174      0.000   0.000000
       70       284  CONTA174      0.000   0.000000
       72       284  CONTA174      0.000   0.000000
       74       280  CONTA174      0.000   0.000000
       76       274  CONTA174      0.000   0.000000
       78       274  CONTA174      0.000   0.000000
       80       280  CONTA174      0.000   0.000000
       82       274  CONTA174      0.000   0.000000
       84       280  CONTA174      0.000   0.000000
       86       284  CONTA174      0.000   0.000000
       88       280  CONTA174      0.000   0.000000
       90       274  CONTA174      0.000   0.000000
       92       274  CONTA174      0.000   0.000000
       94       280  CONTA174      0.000   0.000000
       96       284  CONTA174      0.000   0.000000
       98       280  CONTA174      0.000   0.000000
      100       274  CONTA174      0.000   0.000000
      102       274  CONTA174      0.000   0.000000
      104       280  CONTA174      0.000   0.000000
      106       284  CONTA174      0.000   0.000000
      108       284  CONTA174      0.000   0.000000
      110       280  CONTA174      0.000   0.000000
      112       274  CONTA174      0.000   0.000000
      114       274  CONTA174      0.000   0.000000
      116       280  CONTA174      0.000   0.000000
      118       284  CONTA174      0.000   0.000000
      120       280  CONTA174      0.000   0.000000
      122       274  CONTA174      0.000   0.000000
      124        32  SURF154       0.000   0.000000
      125        32  SURF154       0.000   0.000000

   *** NODAL LOAD CALCULATION TIMES
     TYPE    NUMBER   ENAME      TOTAL CP  AVE CP

        1      2048  SOLID186      0.000   0.000000
        2       224  SOLID186      0.000   0.000000
        3       192  SOLID186      0.000   0.000000
        4       224  SOLID186      0.000   0.000000
        5       144  SOLID186      0.000   0.000000
        6       144  SOLID186      0.000   0.000000
        7       192  SOLID186      0.000   0.000000
        8       224  SOLID186      0.000   0.000000
        9       192  SOLID186      0.000   0.000000
       10       144  SOLID186      0.000   0.000000
       11       144  SOLID186      0.000   0.000000
       12       192  SOLID186      0.000   0.000000
       13       224  SOLID186      0.000   0.000000
       14       192  SOLID186      0.000   0.000000
       15       144  SOLID186      0.000   0.000000
       16       144  SOLID186      0.000   0.000000
       17       192  SOLID186      0.000   0.000000
       18       224  SOLID186      0.000   0.000000
       19       192  SOLID186      0.000   0.000000
       20       144  SOLID186      0.000   0.000000
       21       144  SOLID186      0.000   0.000000
       22       192  SOLID186      0.000   0.000000
       23      2048  SOLID186      0.000   0.000000
       24       992  SOLID186      0.000   0.000000
       25       123  SOLID187      0.000   0.000000
       26       310  SOLID186      0.000   0.000000
       27      1632  SOLID186      0.000   0.000000
       28       256  SOLID186      0.000   0.000000
       29       256  SOLID186      0.000   0.000000
       30        32  CONTA174      0.000   0.000000
       32        32  CONTA174      0.000   0.000000
       34       292  CONTA174      0.000   0.000000
       36       656  CONTA174      0.000   0.000000
       38       664  CONTA174      0.000   0.000000
       40       284  CONTA174      0.000   0.000000
       42       280  CONTA174      0.000   0.000000
       44       274  CONTA174      0.000   0.000000
       46       274  CONTA174      0.000   0.000000
       48       280  CONTA174      0.000   0.000000
       50       284  CONTA174      0.000   0.000000
       52       280  CONTA174      0.000   0.000000
       54       274  CONTA174      0.000   0.000000
       56       274  CONTA174      0.000   0.000000
       58       280  CONTA174      0.000   0.000000
       60       284  CONTA174      0.000   0.000000
       62       280  CONTA174      0.000   0.000000
       64       274  CONTA174      0.000   0.000000
       66       274  CONTA174      0.000   0.000000
       68       280  CONTA174      0.000   0.000000
       70       284  CONTA174      0.000   0.000000
       72       284  CONTA174      0.000   0.000000
       74       280  CONTA174      0.000   0.000000
       76       274  CONTA174      0.000   0.000000
       78       274  CONTA174      0.000   0.000000
       80       280  CONTA174      0.000   0.000000
       82       274  CONTA174      0.000   0.000000
       84       280  CONTA174      0.000   0.000000
       86       284  CONTA174      0.000   0.000000
       88       280  CONTA174      0.000   0.000000
       90       274  CONTA174      0.000   0.000000
       92       274  CONTA174      0.000   0.000000
       94       280  CONTA174      0.000   0.000000
       96       284  CONTA174      0.000   0.000000
       98       280  CONTA174      0.000   0.000000
      100       274  CONTA174      0.000   0.000000
      102       274  CONTA174      0.000   0.000000
      104       280  CONTA174      0.000   0.000000
      106       284  CONTA174      0.000   0.000000
      108       284  CONTA174      0.000   0.000000
      110       280  CONTA174      0.000   0.000000
      112       274  CONTA174      0.000   0.000000
      114       274  CONTA174      0.000   0.000000
      116       280  CONTA174      0.000   0.000000
      118       284  CONTA174      0.000   0.000000
      120       280  CONTA174      0.000   0.000000
      122       274  CONTA174      0.000   0.000000
      124        32  SURF154       0.000   0.000000
      125        32  SURF154       0.000   0.000000
 *** LOAD STEP     1   SUBSTEP     1  COMPLETED.    CUM ITER =      2
 *** TIME =  0.500000E-01     TIME INC =  0.500000E-01
 *** AUTO STEP TIME:  NEXT TIME INC = 0.50000E-01  UNCHANGED

     FORCE CONVERGENCE VALUE  =  0.8939E-04  CRITERION=  0.5000E-04
     DISP CONVERGENCE VALUE   =  0.8066E-14  CRITERION=  0.5630E-07 <<< CONVERGED
    EQUIL ITER   1 COMPLETED.  NEW TRIANG MATRIX.  MAX DOF INC=  0.8066E-14
     DISP CONVERGENCE VALUE   =  0.8066E-14  CRITERION=  0.5630E-07 <<< CONVERGED
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC =  0.8066E-14
     FORCE CONVERGENCE VALUE  =  0.3732E-07  CRITERION=  0.5000E-04 <<< CONVERGED
    >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION   1
 *** LOAD STEP     1   SUBSTEP     2  COMPLETED.    CUM ITER =      3
 *** TIME =  0.100000         TIME INC =  0.500000E-01
 *** AUTO TIME STEP:  NEXT TIME INC = 0.75000E-01  INCREASED (FACTOR = 1.5000)

     FORCE CONVERGENCE VALUE  =  0.6705E-04  CRITERION=  0.5000E-04
     DISP CONVERGENCE VALUE   =  0.6049E-14  CRITERION=  0.5630E-07 <<< CONVERGED
    EQUIL ITER   1 COMPLETED.  NEW TRIANG MATRIX.  MAX DOF INC= -0.6049E-14
     DISP CONVERGENCE VALUE   =  0.6049E-14  CRITERION=  0.5630E-07 <<< CONVERGED
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC = -0.6049E-14
     FORCE CONVERGENCE VALUE  =  0.4591E-07  CRITERION=  0.5000E-04 <<< CONVERGED
    >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION   1
 *** LOAD STEP     1   SUBSTEP     3  COMPLETED.    CUM ITER =      4
 *** TIME =  0.175000         TIME INC =  0.750000E-01
 *** AUTO TIME STEP:  NEXT TIME INC = 0.11250      INCREASED (FACTOR = 1.5000)

     FORCE CONVERGENCE VALUE  =  0.9401E-07  CRITERION=  0.5000E-04
     DISP CONVERGENCE VALUE   =  0.1576E-16  CRITERION=  0.5630E-07 <<< CONVERGED
    EQUIL ITER   1 COMPLETED.  NEW TRIANG MATRIX.  MAX DOF INC= -0.1576E-16
     DISP CONVERGENCE VALUE   =  0.1576E-16  CRITERION=  0.5630E-07 <<< CONVERGED
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC = -0.1576E-16
     FORCE CONVERGENCE VALUE  =  0.3816E-07  CRITERION=  0.5000E-04 <<< CONVERGED
    >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION   1
 *** LOAD STEP     1   SUBSTEP     4  COMPLETED.    CUM ITER =      5
 *** TIME =  0.287500         TIME INC =  0.112500    
 *** AUTO TIME STEP:  NEXT TIME INC = 0.16875      INCREASED (FACTOR = 1.5000)

     FORCE CONVERGENCE VALUE  =  0.9012E-07  CRITERION=  0.5000E-04
     DISP CONVERGENCE VALUE   =  0.2618E-16  CRITERION=  0.5630E-07 <<< CONVERGED
    EQUIL ITER   1 COMPLETED.  NEW TRIANG MATRIX.  MAX DOF INC=  0.2618E-16
     DISP CONVERGENCE VALUE   =  0.2618E-16  CRITERION=  0.5630E-07 <<< CONVERGED
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC =  0.2618E-16
     FORCE CONVERGENCE VALUE  =  0.4890E-07  CRITERION=  0.5000E-04 <<< CONVERGED
    >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION   1
 *** LOAD STEP     1   SUBSTEP     5  COMPLETED.    CUM ITER =      6
 *** TIME =  0.456250         TIME INC =  0.168750    
 *** AUTO TIME STEP:  NEXT TIME INC = 0.25000      INCREASED (FACTOR = 1.4815)

     FORCE CONVERGENCE VALUE  =  0.9686E-07  CRITERION=  0.5000E-04
     DISP CONVERGENCE VALUE   =  0.2249E-16  CRITERION=  0.5630E-07 <<< CONVERGED
    EQUIL ITER   1 COMPLETED.  NEW TRIANG MATRIX.  MAX DOF INC= -0.2249E-16
     DISP CONVERGENCE VALUE   =  0.2249E-16  CRITERION=  0.5630E-07 <<< CONVERGED
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC = -0.2249E-16
     FORCE CONVERGENCE VALUE  =  0.4195E-07  CRITERION=  0.5000E-04 <<< CONVERGED
    >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION   1
 *** LOAD STEP     1   SUBSTEP     6  COMPLETED.    CUM ITER =      7
 *** TIME =  0.706250         TIME INC =  0.250000    
 *** AUTO TIME STEP:  NEXT TIME INC = 0.14687      DECREASED (FACTOR = 0.5875)

     FORCE CONVERGENCE VALUE  =  0.5792E-07  CRITERION=  0.5000E-04
     DISP CONVERGENCE VALUE   =  0.2113E-16  CRITERION=  0.5630E-07 <<< CONVERGED
    EQUIL ITER   1 COMPLETED.  NEW TRIANG MATRIX.  MAX DOF INC=  0.2113E-16
     DISP CONVERGENCE VALUE   =  0.2113E-16  CRITERION=  0.5630E-07 <<< CONVERGED
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC =  0.2113E-16
     FORCE CONVERGENCE VALUE  =  0.5180E-07  CRITERION=  0.5000E-04 <<< CONVERGED
    >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION   1
 *** LOAD STEP     1   SUBSTEP     7  COMPLETED.    CUM ITER =      8
 *** TIME =  0.853125         TIME INC =  0.146875    
 *** AUTO STEP TIME:  NEXT TIME INC = 0.14687      UNCHANGED

     FORCE CONVERGENCE VALUE  =  0.8290E-07  CRITERION=  0.5000E-04
     DISP CONVERGENCE VALUE   =  0.2309E-16  CRITERION=  0.5630E-07 <<< CONVERGED
    EQUIL ITER   1 COMPLETED.  NEW TRIANG MATRIX.  MAX DOF INC= -0.2309E-16
     DISP CONVERGENCE VALUE   =  0.2309E-16  CRITERION=  0.5630E-07 <<< CONVERGED
     LINE SEARCH PARAMETER =   1.000     SCALED MAX DOF INC = -0.2309E-16
     FORCE CONVERGENCE VALUE  =  0.3603E-07  CRITERION=  0.5000E-04 <<< CONVERGED
    >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION   1
 *** LOAD STEP     1   SUBSTEP     8  COMPLETED.    CUM ITER =      9
 *** TIME =   1.00000         TIME INC =  0.146875    

 FINISH SOLUTION PROCESSING


 ***** ROUTINE COMPLETED *****  CP =         0.000



 CLEAR MAPDL DATABASE AND RESTART

 Ansys Mechanical Enterprise Solver                

 *****  MAPDL SOLUTION ROUTINE  *****

 *** NOTE ***                            CP =       0.000   TIME= 00:00:00
 This SOLVE command is only used to generate the matrices needed to      
 perform the linear perturbation analysis.  The linear perturbation      
 analysis corresponds to time = 1 (load step = 1, substep = 8).  No      
 results are being written.                                              



  *** MASS SUMMARY BY ELEMENT TYPE ***

  TYPE      MASS
     1   2.89122    
     3  0.126921    
     4  0.126921    
     7  0.126921    
     8  0.126921    
     9  0.126921    
    10  0.126921    
    13  0.126921    
    14  0.126921    
    15  0.126921    
    17  0.126921    
    18  0.126921    
    19  0.126921    
    21  0.126921    
    22  0.126921    
    23   3.23681    
    25  0.139969E-02
    26  0.933787E-01
    28  0.687824    
 AN AVERAGE OF THE X-, Y-, AND Z-DIRECTION MASS TERMS ARE USED

  UNSYMMETRIC CALCULATION OF UP TO    30 EIGENVECTORS.
  NUMBER OF EQUATIONS              =       159836
  MAXIMUM WAVEFRONT                =            0
  MAXIMUM MODES STORED             =           30
  MINIMUM EIGENVALUE               =  0.00000E+00
  MAXIMUM EIGENVALUE               =  0.10000E+31

   *****MAPDL VERIFICATION RUN ONLY*****
     DO NOT USE RESULTS FOR PRODUCTION

  ***** FREQUENCIES FROM UNSYMMETRIC EIGENSOLVER *****

               COMPLEX FREQUENCY (HERTZ)
  MODE     STABILITY            FREQUENCY         MODAL DAMPING RATIO


    1       0.0000000           775.23168    j       0.0000000    
    2       0.0000000           863.11741    j       0.0000000    
    3       0.0000000           1096.6012    j       0.0000000    
    4       0.0000000           1309.3166    j       0.0000000    
    5       0.0000000           1325.6772    j       0.0000000    
    6       0.0000000           1599.8804    j       0.0000000    
    7       0.0000000           1614.8182    j       0.0000000    
    8       0.0000000           1910.4797    j       0.0000000    
    9       0.0000000           2069.4938    j       0.0000000    
   10       0.0000000           2080.0030    j       0.0000000    
   11       0.0000000           2670.3394    j       0.0000000    
   12       0.0000000           2717.0494    j       0.0000000    
   13       0.0000000           3371.6283    j       0.0000000    
   14       0.0000000           4140.8219    j       0.0000000    
   15       0.0000000           4144.7075    j       0.0000000    
   16       0.0000000           4420.3089    j       0.0000000    
   17       0.0000000           4475.4569    j       0.0000000    
   18       0.0000000           4664.4664    j       0.0000000    
   19       0.0000000           4764.7471    j       0.0000000    
   20       0.0000000           5240.7871    j       0.0000000    
   21      -21.623551           6455.3870    j      0.33496721E-02
   22       21.623551           6455.3870    j     -0.33496721E-02
   23       0.0000000           6762.6961    j       0.0000000    
   24       0.0000000           6765.1542    j       0.0000000    
   25       0.0000000           6916.1644    j       0.0000000    
   26       0.0000000           6929.0363    j       0.0000000    
   27       0.0000000           7054.7695    j       0.0000000    
   28       0.0000000           7239.2198    j       0.0000000    
   29       0.0000000           8474.9517    j       0.0000000    
   30       0.0000000           8586.0567    j       0.0000000    

 FINISH SOLUTION PROCESSING


 ***** ROUTINE COMPLETED *****  CP =         0.000



@chrisg564
Copy link
Author

chrisg564 commented May 3, 2024

Code that errors:

rstp_path = os.path.join(pymapdl_cur_dir, 'file')

mapdl.post1()

mapdl.file(rstp_path, "rstp")
print(mapdl.post_processing)

mapdl.set(1, 21)
mapdl.post_processing.plot_nodal_displacement(
    scalar_bar_args={"title": "Total displacement\n Substep 21"}
)

mapdl.set(1, 22)
mapdl.post_processing.plot_nodal_displacement(
    scalar_bar_args={"title": "Total displacement\n Substep 22"}
)

Output:

PyMAPDL PostProcessing Instance
	Active Result File:    file
	Number of result sets: 60
	Current load step:     1
	Current sub step:      8


*****  INDEX OF DATA SETS ON RESULTS FILE  *****

     SET   TIME/FREQ    LOAD STEP   SUBSTEP  CUMULATIVE
       1  0.0000000             1         1         1                  
       2  775.23168             1         1         1                  
       3  0.0000000             1         2         2                  
       4  863.11741             1         2         2                  
       5  0.0000000             1         3         3                  
       6  1096.6012             1         3         3                  
       7  0.0000000             1         4         4                  
       8  1309.3166             1         4         4                  
       9  0.0000000             1         5         5                  
      10  1325.6772             1         5         5                  
      11  0.0000000             1         6         6                  
      12  1599.8804             1         6         6                  
      13  0.0000000             1         7         7                  
      14  1614.8182             1         7         7                  
      15  0.0000000             1         8         8                  
      16  1910.4797             1         8         8                  
      17  0.0000000             1         9         9                  
      18  2069.4938             1         9         9                  
      19  0.0000000             1        10        10                  
      20  2080.0030             1        10        10                  
      21  0.0000000             1        11        11                  
      22  2670.3394             1        11        11                  
      23  0.0000000             1        12        12                  
      24  2717.0494             1        12        12                  
      25  0.0000000             1        13        13                  
      26  3371.6283             1        13        13                  
      27  0.0000000             1        14        14                  
      28  4140.8219             1        14        14                  
      29  0.0000000             1        15        15                  
      30  4144.7075             1        15        15                  
      31  0.0000000             1        16        16                  
      32  4420.3089             1        16        16                  
      33  0.0000000             1        17        17                  
      34  4475.4569             1        17        17                  
      35  0.0000000             1        18        18                  
      36  4664.4664             1        18        18                  
      37  0.0000000             1        19        19                  
      38  4764.7471             1        19        19                  
      39  0.0000000             1        20        20                  
      40  5240.7871             1        20        20                  
      41 -21.623551             1        21        21                  
      42  6455.3870             1        21        21                  
      43  21.623551             1        22        22                  
      44  6455.3870             1        22        22                  
      45  0.0000000             1        23        23                  
      46  6762.6961             1        23        23                  
      47  0.0000000             1        24        24                  
      48  6765.1542             1        24        24                  
      49  0.0000000             1        25        25                  
      50  6916.1644             1        25        25                  
      51  0.0000000             1        26        26                  
      52  6929.0363             1        26        26                  
      53  0.0000000             1        27        27                  
      54  7054.7695             1        27        27                  
      55  0.0000000             1        28        28                  
      56  7239.2198             1        28        28                  
      57  0.0000000             1        29        29                  
      58  8474.9517             1        29        29                  
      59  0.0000000             1        30        30                  
      60  8586.0567             1        30        30

Stack trace:

MapdlExitedError                          Traceback (most recent call last)
Cell In[25], line 8
      5 mapdl.file(rstp_path, "rstp")
      6 print(mapdl.post_processing)
----> 8 mapdl.set(1, 21)
      9 mapdl.post_processing.plot_nodal_displacement(
     10     scalar_bar_args={"title": "Total displacement\n Substep 21"}
     11 )
     13 mapdl.set(1, 22)

File /opt/conda/lib/python3.9/site-packages/ansys/mapdl/core/mapdl.py:4660, in _MapdlCore.set(self, lstep, sbstep, fact, kimg, time, angle, nset, order, **kwargs)
   4646 @wraps(Commands.set)
   4647 def set(
   4648     self,
   (...)
   4657     **kwargs,
   4658 ):
   4659     """Wraps SET to return a Command listing"""
-> 4660     output = super().set(
   4661         lstep, sbstep, fact, kimg, time, angle, nset, order, **kwargs
   4662     )
   4664     if (
   4665         isinstance(lstep, str)
   4666         and lstep.upper() == "LIST"
   4667         and not sbstep
   4668         and not fact
   4669     ):
   4670         return CommandListingOutput(
   4671             output,
   4672             magicwords=["SET", "TIME/FREQ"],
   (...)
   4679             ],
   4680         )

File /opt/conda/lib/python3.9/site-packages/ansys/mapdl/core/_commands/post1_/setup.py:633, in Setup.set(self, lstep, sbstep, fact, kimg, time, angle, nset, order, **kwargs)
    513 """Defines the data set to be read from the results file.
    514 
    515 APDL Command: SET
   (...)
    630 Distributed ANSYS.
    631 """
    632 command = f"SET,{lstep},{sbstep},{fact},{kimg},{time},{angle},{nset},{order}"
--> 633 return self.run(command, **kwargs)

File /opt/conda/lib/python3.9/site-packages/ansys/mapdl/core/mapdl.py:3291, in _MapdlCore.run(self, command, write_to_log, mute, **kwargs)
   3287     if "/COM" not in cmd_ and "/TITLE" not in cmd_:
   3288         # Edge case. `\title, 'par=1234' `
   3289         self._check_parameter_name(param_name)
-> 3291 text = self._run(command, verbose=verbose, mute=mute)
   3293 if command[:4].upper() == "/CLE" and self.is_grpc:
   3294     # We have reset the database, so we need to create a new session id
   3295     self._create_session()

File /opt/conda/lib/python3.9/site-packages/ansys/mapdl/core/mapdl_grpc.py:938, in MapdlGrpc._run(self, cmd, verbose, mute)
    936     response = self._send_command_stream(cmd, True)
    937 else:
--> 938     response = self._send_command(cmd, mute=mute)
    939 self._busy = False
    941 return response.strip()

File /opt/conda/lib/python3.9/site-packages/ansys/mapdl/core/errors.py:168, in protect_grpc.<locals>.wrapper(*args, **kwargs)
    166     # Must close unfinished processes
    167     mapdl._close_process()
--> 168     raise MapdlExitedError("MAPDL server connection terminated") from None
    170 if threading.current_thread().__class__.__name__ == "_MainThread":
    171     received_interrupt = bool(SIGINT_TRACKER)

MapdlExitedError: MAPDL server connection terminated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant