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.txtn10-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
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)`