KristofferC / Phon

Insert cohesive elements between grains in microstructures
MIT License
29 stars 19 forks source link

how to use phon? #22

Open Chevy1994 opened 6 years ago

Chevy1994 commented 6 years ago

phon is very good softerware to insert cohesive. but i have a question in install it,can you tell me what should i do

Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information.

import phon from phon.io_tools.read.read_from_abaqus_inp import read_from_abaqus_inp mesh = read_from_abaqus_inp("n10-id1.inp")

Traceback (most recent call last): File "<pyshell#2>", line 1, in mesh = read_from_abaqus_inp("n10-id1.inp") File "build\bdist.win-amd64\egg\phon\io_tools\read\read_from_abaqus_inp.py", line 55, in read_from_abaqus_inp with open(filename, "rU") as f: IOError: [Errno 2] No such file or directory: 'n10-id1.inp'