neperfepx / neper

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

Neper deletes .msh file after creating Abaqus input file (inp) #301

Closed ashokambig closed 2 years ago

ashokambig commented 2 years ago

Hi @rquey I am facing problems while exporting inp file from Neper. Although neper is able to create input file for abaqus, it deletes the .msh file after creating it. Also I have seen in abaqus that the element sets (*elset) are not properly exported. What might be the problem? Could anyone please help me? I tried to run the below script :

neper -T -n 1000 -domain "cylinder(1,1,50)" -transform "planecut(0.5,1,0,0),planecut(0.5,0,1,0)" -o tess_file neper -V tess_file.tess -datacellcol id -print imag_1 neper -M tess_file.tess -elttype tet -rcl 1 -interface continuous -format inp -o abq_input neper -V tess_file.msh -datacellcol id -print imag_2

Regards Ashok

rquey commented 2 years ago

Use -faset none for proper inp output with the current version. This bug is fixed in the development version (4.2.1-11) and will be fixed in the next official version.

To get both inp and msh output files, use -format inp,msh.

ashokambig commented 2 years ago

Thank you. The command -faset none exports a clean inp file,