Skip to content

a bug of 'plot_nodal_displacement' when use BEAM188 #1948

Closed
@FemLearner

Description

@FemLearner

Before submitting the issue

  • I have visited the Troubleshooting section.
  • I have searched among the existing issues.
  • I am using a Python virtual environment.
  • I have a fully updated virtual environment (i.e. pip install --upgrade --upgrade-strategy eager ansys-mapdl-core)

Description of the bug

When I use the element beam188, there is an error:
'ValueError: data length of (11) != required length (31)', what does the ‘required length (31)’ mean?There is only 11 nodes actually.

Steps To Reproduce

Steps:

  • First I did...
  • ...

And I ran the following code:

from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl()

# Insert your code here

Which Operating System are you using?

None

Which Python version are you using?

None

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!

# PASTE HERE THE OUTPUT OF `python -m pip freeze` here

Logger output file

Show the logger output file.

# PASTE HERE THE CONTENT OF THE LOGGER OUTPUT FILE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions