Re: Presolver scriptfile error
Posted: Wed Apr 22, 2020 1:06 pm
Hi Charlie,
The the error code
means that the number of element blocks exceeds the maximum hard coded value, which is 5000. You can calculate the approximate number of elements per block using
Just increase the number of processors you are using to run the simulation.
Thanks for the detailed analysis of the meshing problems you are seeing! It will take me some time to go through it and investigate.
SV uses VMTK to generate a boundary layer mesh using a simple algorithm that is not that robust. I've seen boundary layer meshing create tangled elements for vessels joined at acute angles, like the one in your model (see image). There are GitHub Issues opened on some of the problems you are seeing (https://github.com/SimVascular/SimVascular/issues/411, https://github.com/SimVascular/SimVascular/issues/652).
I've not had time to look into meshing problems. But several users are having problems so I think I will allocate time to try to understand what is causing problems, your analysis will be very useful for this.
Cheers,
Dave
The the error code
Code: Select all
"Fatal: Total Element Block Allocation Exceeded.
Use more processors for this problem or modify MAXBLK in the code."
Code: Select all
np = number of processors
number_of_elements = number of elements in the mesh
num_elem_per_block = 255 (hard coded in svSolver)
num_elem_per_node = number_of_elements / (np * num_elem_per_block) < 5000
Thanks for the detailed analysis of the meshing problems you are seeing! It will take me some time to go through it and investigate.
SV uses VMTK to generate a boundary layer mesh using a simple algorithm that is not that robust. I've seen boundary layer meshing create tangled elements for vessels joined at acute angles, like the one in your model (see image). There are GitHub Issues opened on some of the problems you are seeing (https://github.com/SimVascular/SimVascular/issues/411, https://github.com/SimVascular/SimVascular/issues/652).
I've not had time to look into meshing problems. But several users are having problems so I think I will allocate time to try to understand what is causing problems, your analysis will be very useful for this.
Cheers,
Dave