neperfepx / neper

Polycrystal generation and meshing
http://neper.info
GNU General Public License v3.0
214 stars 53 forks source link

error:Cannot convert to ".inp" format. #792

Open Zihaoggg opened 11 months ago

Zihaoggg commented 11 months ago

Describe the bug

After creating the structure, why can't it be converted to an inp format file?

step 1: neper -T -n 1000 -domain "cube(0.6,0.6,1.4):translate(-0.3,-0.3,-0.7)" -transform "cut(cylinder(-0.9,0,0,0,1,0,0.8),cylinder(0.9,0,0,0,1,0,0.8),cylinder(0,-0.9,0,1,0,0,0.8),cylinder(0,0.9,0,1,0,0,0.8))"

step 2: neper -M n1000-id1.tess -format inp

To Reproduce

step 1:

$ neper -T -n 1000 -domain "cube(0.6,0.6,1.4):translate(-0.3,-0.3,-0.7)" -transform "cut(cylinder(-0.9,0,0,0,1,0,0.8),cylinder(0.9,0,0,0,1,0,0.8),cylinder(0,-0.9,0,1,0,0,0.8),cylinder(0,0.9,0,1,0,0,0.8))"

======================== N e p e r ======================= Info : A software package for polycrystal generation and meshing. Info : Version 4.7.1-5 Info : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full) Info : Running on 12 threads. Info : https://neper.info Info : Copyright (C) 2003-2022, and GNU GPL'd, by Romain Quey. Info : No initialization file found (/home/zh/.neperrc'). Info : --------------------------------------------------------------- Info : MODULE -T loaded with arguments: Info : [ini file] (none) Info : [com line] -n 1000 -domain cube(0.6,0.6,1.4):translate(-0.3,-0.3,-0.7) -transform cut(cylinder(-0.9,0,0,0,1,0,0.8),cylinder(0.9,0,0,0,1,0,0.8),cylinder(0,-0.9,0,1,0,0,0.8),cylinder(0,0.9,0,1,0,0,0.8)) Info : --------------------------------------------------------------- Info : Reading input data... Info : Creating domain... Info : Creating tessellation... Info : - Setting seeds... Info : - Running tessellation... Info : Generating crystal orientations... Info : Transforming tessellation... Info : - Cutting (experimental)... Info : > cylinder(-0.9,0,0,0,1,0,0.8)... Info : > cylinder(0.9,0,0,0,1,0,0.8)... Info : > cylinder(0,-0.9,0,1,0,0,0.8)... Info : > cylinder(0,0.9,0,1,0,0,0.8)... Info : Writing results... Info : [o] Writing filen1000-id1.tess'... Info : [o] Wrote file `n1000-id1.tess'. Info : Elapsed time: 0.758 secs.

step2: $ neper -M n1000-id1.tess -format inp

======================== N e p e r ======================= Info : A software package for polycrystal generation and meshing. Info : Version 4.7.1-5 Info : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full) Info : Running on 12 threads. Info : https://neper.info Info : Copyright (C) 2003-2022, and GNU GPL'd, by Romain Quey. Info : No initialization file found (/home/zh/.neperrc'). Info : --------------------------------------------------------------- Info : MODULE -M loaded with arguments: Info : [ini file] (none) Info : [com line] n1000-id1.tess -format inp Info : --------------------------------------------------------------- Info : Reading input data... Info : - Reading arguments... Info : Loading input data... Info : - Loading tessellation... Info : [i] Parsing filen1000-id1.tess'... Info : [i] Parsed file `n1000-id1.tess'. Info : Meshing... Info : - Preparing... (cl = 0.04026) 95%Error : - Failed to project face 3178. 已放弃