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

Cohesive elements at grain boundreies #24

Open
ravikiranbollineni opened this issue Mar 16, 2022 · 2 comments
Open

Cohesive elements at grain boundreies #24

ravikiranbollineni opened this issue Mar 16, 2022 · 2 comments

Comments

@ravikiranbollineni
Copy link

Hi Kristoffer,
I trying to create cohesive elements at the grain boundaries. As a start point I am currently using the polycrystal generated using the Neper. Till now I don't have any success. Here I am attaching the code I am using for generating the cohesive elements (files in text file format
n10-id1.txt
n10-id1_coh.txt
). Could you please let me know where I am doing mistake.

Thanks in advance.

`from phon.io_tools.read.read_from_abaqus_inp import read_from_abaqus_inp
from phon.io_tools.write.export_to_abaqus import export_to_abaqus
from phon.mesh_tools.create_cohesive_elements import create_cohesive_elements

inputfile = "n10-id1.inp"
mesh = read_from_abaqus_inp(inputfile, verbose=0)
create_cohesive_elements(mesh, 3)
export_to_abaqus("n10-id1_coh.inp", mesh, write_2d_elements=False)`

@shuaizhou001
Copy link

It is your Neper inp file problem.
Your inp file did not include FACEx.
image

@fine-hhh
Copy link

这是你的 Neper inp 文件的问题。 你的 inp 文件没有包含 FACEx。 图像
Hello, what should I do to include FACEx in the .inp 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

No branches or pull requests

3 participants