[Simnibs-discuss] Head mesh not generated ( Error msg attached )

Axel Thielscher axelt at drcmr.dk
Mon Jun 13 10:30:46 CEST 2022


the image size in MB does not really matter. It's more about the 
resolution, where too small voxel sizes might be a challenge. Usual 
resolutions range between 0.75 to 1.0 mm.

Increasing the vertex density makes the mesh larger, thus the 
simulations slower but more accurate. Just try out the suggested 
increase to see whether your problem is resolved.

Best regards,


On 13-06-2022 10:10, Utkarsh Pancholi wrote:
> Hi,
> I tried to make mesh generation using headreco all command in command 
> line. Here is the error.
> *Traceback (most recent call last):
>   File 
> "C:\Users\Administrator\SimNIBS-3.2\simnibs_env\lib\site-packages\simnibs\cli\headreco.py", 
> line 13, in <module>
>     main()
>   File 
> "C:\Users\Administrator\SimNIBS-3.2\simnibs_env\lib\site-packages\simnibs\cli\headreco.py", 
> line 10, in main
>     headmodel(sys.argv)
>   File 
> "C:\Users\Administrator\SimNIBS-3.2\simnibs_env\lib\site-packages\simnibs\msh\headreco.py", 
> line 730, in headmodel
>     "Gmsh failed meshing one or more volumes. "
> RuntimeError: Gmsh failed meshing one or more volumes. Please try 
> running headreco again increasing the '-v' option (eg. -v 1.0). Type 
> 'headreco all -h' for more information*
> *
> *
> What can be done for this?
> Also, I wanted to know if structural MRI images above 45 MB can be 
> processed without any errors as i mentioned above. But I have 
> processed T1 weighted structural MRI image having a size of 38MB. is 
> having the above error.
> I want to know what is the minimum criteria for the T1 weighted MRI 
> image's size.
> Runtime error suggested increasing vertex density to 1.0. (-V).. What 
> is the consequence of increasing vertex density on electric field 
> strength distribution?
> Waiting for the help.
> -----------------------------------------------------------------------------------------------------
> AHMEDABAD-380015
> _______________________________________________
> Simnibs-discuss mailing list
> Simnibs-discuss at drcmr.dk
> https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss

Dr. Axel Thielscher
Professor of Neurophysics and Neuroimaging
Danish Research Center for Magnetic Resonance
Copenhagen University Hospital Hvidovre
DK-2650 Hvidovre, Denmark
Department of Health Technology
Technical University of Denmark
DK-2800 Kgs. Lyngby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.drcmr.dk/pipermail/simnibs-discuss/attachments/20220613/7f6c765c/attachment-0001.html>

More information about the Simnibs-discuss mailing list