ansys/pymapdl-examples

Several minor warnings in examples

germa89 opened this issue ยท 1 comments

๐Ÿ” Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

๐Ÿž Description of the bug

Several warnings/messages generated when building the docs.

  • MAPDL 2D Plane Stress Concentration Analysis
py file worked fine, for the jypyter file: had to instal 'pip install ansys-mapdl-core' in the local drive the example directory existed
  • 2D Pressure Vessel
py file worked fine, for the jypyter file: had to instal 'pip install ansys-mapdl-core' in the local drive the example directory existed
  • Basic Thermal Analysis with pyMAPDL
"The example mentions ""First, start MAPDL as a service and disable all but error messages.""
But the code is: mapdl = launch_mapdl()
Instead of: mapdl = launch
_mapdl(loglevel=""ERROR"")"
  • 3D Acoustic Analysis
"C:\Users\dtsalagr\AppData\Local\Temp\ipykernel_24268\2001064517.py:22: UserWarning: Matplotlib is currently using module://matplotlib_inline.backend_inline, which is a non-GUI backend, so cannot show the figure.
  fig.show()"
  • Basic DPF-Core Usage with PyMAPDL
"Jupyter & Py file error: File ""C:\ProgramData\Anaconda3\lib\site-packages\ansys\dpf\gate\generated\data_processing_capi.py"", line 388, in data_processing_get_server_version_on_client
    raise errors.DPFServerException(sError.value)

DPFServerException: a service is currently unavailable error ocurred: failed
to connect to all addresses"
  • Static simulation of double cantilever beam test via cohesive elements
Py file: last gif doesn't animate
  • Cyclic Analysis
Jupyter error: AttributeErro
r: 'NoneType' object has no attribute 'GetNumberOfPoints'
  • Static Cyclic Analysis
"Py & Jupyter error: MapdlRuntimeError: There is at least 1 small equation solver pivot term (e.g., at the UZ degree of freedom of node 423).  Please check for an insufficiently     
 constrained model."
  • Plotting and Mesh Access
"Jupyter: 
MapdlRuntimeError: 

*** ERROR ***                           CP =       0.000   TIME= 00:00:00
 Element type 1 is not the same shape as SOLID187.  Switching to a       
 different shape is not allowed while elements of type 1 exist."

Other warnings:

  • General jupyter warning:
--
C:\Users\dtsalagr\AppData\Local\Programs\Python\Python39\lib\site-packages\pyvista\jupyter\notebook.py:60: UserWarning: Failed to use notebook backend:
 
Please install `ipyvtklink` to use this feature: https://github.com/Kitware/ipyvtklink
 
Falling back to a static output.
warnings.warn(
 
when I installed the package I ran into an error regarding javascript on the jupyter page, had to uninstall it

๐Ÿ“ Steps to reproduce

Running the examples.

This come from internal feedback. If needed, ping Massimo Capidiferro.

๐Ÿ’ป Which operating system are you using?

Windows

๐Ÿ Which Python version are you using?

3.7

๐Ÿ“ฆ Installed packages

NA

These errors are located in the examples of the PyMAPDL repository. This issue is closed to be opened in the PyMAPDL one as ansys/pymapdl#1927.