pymapdl
pymapdl copied to clipboard
Several minor warnings in examples
Before submitting the issue
- [X] I have visited the Troubleshooting section.
- [X] I have searched among the existing issues.
- [X] I am using a Python virtual environment.
- [X] I have a fully updated virtual environment (i.e.
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
)
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
- [x] 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"")"
- [x] 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\LocSeveral 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"")"
- [x] 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
PyMAPDL Report
Installed packages
Logger output file
Show the logger output file.
# PASTE HERE THE CONTENT OF THE LOGGER OUTPUT FILE.