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.rlblock is not implemented. #1399

Closed
2 tasks done
germa89 opened this issue Aug 24, 2022 · 1 comment · Fixed by #2024
Closed
2 tasks done

mapdl.rlblock is not implemented. #1399

germa89 opened this issue Aug 24, 2022 · 1 comment · Fixed by #2024

Comments

@germa89
Copy link
Collaborator

germa89 commented Aug 24, 2022

Before submitting the issue

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

Description of the bug

For some reason mapdl.rlblock and rlblock_num do not work in the current implementation. They won't work in the new iteration #1299 but I leave this issue open to get it fixed in the future.

Steps To Reproduce

Inside MapdlMesh class

...
    @property
    def rlblock(self):
        """Real constant data from the RLBLOCK."""
        if not self._rdat:
            pass # todo: fix this
        return self._rdat

    @property
    def rlblock_num(self):
        """Indices from the real constant data"""
        return self._rnum
...

Which Operating System are you using?

No response

Which Python version are you using?

No response

PyMAPDL Report

NA

Installed packages

NA

@germa89
Copy link
Collaborator Author

germa89 commented Aug 24, 2022

Same with mapdl.mesh.node_angles, it seems to not work.

  def node_angles(self):
      """Node angles from the archive file."""
      if self._node_angles is None:
          self._node_angles = np.ascontiguousarray(self._nodes[:, 3:])
      return self._node_angles

It is overwriting to return None in the mesh_grpc file.

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

Successfully merging a pull request may close this issue.

1 participant