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

create_cohesive_elements(mesh, 3) #25

Open
mumayy opened this issue Jul 26, 2022 · 2 comments
Open

create_cohesive_elements(mesh, 3) #25

mumayy opened this issue Jul 26, 2022 · 2 comments

Comments

@mumayy
Copy link

mumayy commented Jul 26, 2022

create_cohesive_elements(mesh, 3) gives error.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users.....\Phon-master\phon\mesh_tools\create_cohesive_elements.py", line 62, in create_cohesive_elements
for element_set_name in mesh.element_sets.keys():
RuntimeError: OrderedDict mutated during iteration

@shuaizhou001
Copy link

It is your Python version problem.
You should change some lines of the codes.

@mumayy
Copy link
Author

mumayy commented Jul 30, 2022

Thank you for your answer, but which parts should I change?

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

No branches or pull requests

2 participants