voltoffea fails with my vol file

Issue #22 resolved
Albert Solernou Crusat created an issue

ffeatools voltoffea fails to work with the attached vol file, generated by netgen. However, it used to work with this same file. Anybody?

14:23 kokeicha:~/projects/MesoModel/probes/8_eulerBeamTheory/wtf> ffeatools voltoffea --mesh longCylinder.vol -density 1500.0 -shear_visc 0.001 -bulk_visc 0.001 -shear_mod 285714285.7 -bulk_mod 1333333333.3 -dielec 1.0 -make_script ACTION = 'voltoffea' => Using command 'python /home/DS/issaso/projects/MesoModel/code/bitbucket/install/lib/python2.6/FFEA_initialise/FFEA_convert_from_volume/FFEA_convert_from_volumetric_mesh.py --mesh longCylinder.vol -density 1500.0 -shear_visc 0.001 -bulk_visc 0.001 -shear_mod 285714285.7 -bulk_mod 1333333333.3 -dielec 1.0 -make_script'

Loading FFEA node file...done! Loading FFEA topology file... Loading FFEA surface file... Traceback (most recent call last): File "/home/DS/issaso/projects/MesoModel/code/bitbucket/install/lib/python2.6/FFEA_initialise/FFEA_convert_from_volume/FFEA_convert_from_volumetric_mesh.py", line 105, in <module> surf = FFEA_surface.FFEA_surface(volfname) File "/home/DS/issaso/projects/MesoModel/code/bitbucket/install/lib/python2.6/FFEA_python_modules/FFEA_surface.py", line 11, in init self.load(fname) File "/home/DS/issaso/projects/MesoModel/code/bitbucket/install/lib/python2.6/FFEA_python_modules/FFEA_surface.py", line 28, in load self.load_vol(fname) File "/home/DS/issaso/projects/MesoModel/code/bitbucket/install/lib/python2.6/FFEA_python_modules/FFEA_surface.py", line 154, in load_vol raise Exception("\tCouldn't find the specified %d faces. Only found %d. File '" + fname + "' not formatted correctly." % (num_faces, i)) TypeError: not all arguments converted during string formatting

Comments (2)

  1. Log in to comment