Skip to content

file : import read_from_neper_inp #23

@khriama

Description

@khriama

Hello Mr. Carlsson,
Please, could you help me?. I used neper to creat 2D case as follows :
1- Creating Tessellations : neper -T -n 100 -id 1 -dim 2 -reg 1
2- Creating Mesh : neper -M n100-id1.tess -dim 1,2 -format 'inp' -faset 'faces'
I followed these commonds for creating cohesive elements:

from phon.io_tools.read.read_from_neper_inp import read_from_neper_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 = "n100-id1.inp"
mesh = read_from_neper_inp(inputfile, verbose=0)
create_cohesive_elements(mesh, 2)
export_to_abaqus("n100-id1_coh.inp", mesh,write_2d_elements=True)

attached will you find the .inp file which I get from neper and error message?
The error is : ModuleNotFoundError: No module named 'phon.io_tools.read.read_from_neper_inp'.

I checked phon.io_tools , do not find this code (read_from_neper_inp),
Thank you in advance for your help and this wonderful tool
Best regards
Manhal
My files.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions