# Index exceeds array bounds after split object

2 messages
 I occasionally I have encountered the following error or one similar to it: I was finally able to get a reproducer (at least is has repeated a couple of times for me).  I was able to capture it in a GUI script: IndexExceedsBounds3.fesWhen run, it creates a model (two spheres in a block), sets up grid, equation, boundaries, and solves. It then splits the block and repeats grid and equation, but when boundaries is selected it gets the error: Then going back (manually) to the Equation mode and selecting subdomain 4 gets a similar error: Then if the fea struct is exported to MATLAB there seems to be an inconsistency between the number of subdomains (4) and the number of array positions for the coefficient data (3): >> fea.phys.dc.eqn.coef ans = 4×4 cell array {'dts_dc'} {'d<…'} {'Time scaling co…'} {1×3 cell} {'s_dc' } {'σQ' } {'Current source' } {1×3 cell} {'V0_dc' } {'> This does not always happen. I have been able to create this model successfully at times. Perhaps there is some detail that is different so that it IS repeatable, except I do something else sometimes that precludes the error from appearing. Thanks for taking a look. If it does not repeat for you, perhaps you can give me some instructions as to what else to capture or examine. Kind regards, Randal