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

Support for ETBLOCK #297

Open
2 tasks done
duhd1993 opened this issue Aug 2, 2023 · 3 comments
Open
2 tasks done

Support for ETBLOCK #297

duhd1993 opened this issue Aug 2, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@duhd1993
Copy link

duhd1993 commented Aug 2, 2023

🔍 Before submitting the issue

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

🐞 Description of the bug

As described here, https://discuss.ansys.com/discussion/2365/unable-to-read-cdb-file-in-pyprimemesh, Ansys 2023 added ETBLOCK, and is using it in favour of ET

📝 Steps to reproduce

Cannot read cdb file generated by Ansys APDL 2023

💻 Which operating system are you using?

Linux

📀 Which ANSYS version are you using?

R2023

🐍 Which Python version are you using?

3.7

📦 Installed packages

NA
@duhd1993 duhd1993 added the bug Something isn't working label Aug 2, 2023
@akaszynski
Copy link
Collaborator

akaszynski commented Sep 9, 2023

Addressed in akaszynski/mapdl-archive#9

@germa89, please note that repository is effectively a fork of this one that removes the binary result reader and focuses on reading in blocked archive files written from either Mechanical or APDL.

I didn't feel comfortable removing that feature in this library as the binary reader is still used, and the refactor of the archive writer was quite significant.

@germa89
Copy link
Contributor

germa89 commented Sep 11, 2023

Personally, I think this is fine.

Any future plants to re-merge it back? Feel free to ping me for assistance then.

@akaszynski
Copy link
Collaborator

Any future plants to re-merge it back? Feel free to ping me for assistance then.

I don't mind pushing the changes back to this repository time permitting.

BTW, inspecting ETBLOCK reveals

- `Field 1` - A user selected element type identifier.
- `Field 2` - Identifier number for the element (e.g. 186 for SOLID186)
- `Fields 3-20` - KEYOPT values (ranging from 1 to 18) specific to the given element type in field 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants