PolymerGuy / muDIC

Digital Image Correlation in Python
MIT License
155 stars 69 forks source link

IndexError: index 15 is out of bounds for axis 5 with size 15 #50

Open lacklusterNo opened 2 weeks ago

lacklusterNo commented 2 weeks ago

Hello sir, this is an error in my program when identifying a concrete beam. The grid size of 15x15 or 30x30 has stopped at frame 15. I only modified the upscale to be equal to 1, and all other setting parameters are default values. I hope to receive your answer.Thanks.

root:INFO:Found 99 images in folder muDIC.mesh.meshUtilities:INFO:Using Q4 elements muDIC.mesh.meshUtilities:INFO:Element contains 30.0 X 30.0 pixels and is divided in 140 X 34 muDIC.solver.correlate:INFO:Processing frame nr: 1 root:INFO:Converged in 8 iterations muDIC.solver.correlate:INFO:Processing frame nr: 2 root:INFO:Did not converged in 19 iterations last increment was 4.8524 muDIC.solver.correlate:INFO:Processing frame nr: 3 root:INFO:Did not converged in 19 iterations last increment was 4.4508 muDIC.solver.correlate:INFO:Processing frame nr: 4 root:INFO:Did not converged in 19 iterations last increment was 2.1891 muDIC.solver.correlate:INFO:Processing frame nr: 5 root:INFO:Did not converged in 19 iterations last increment was 3.6475 muDIC.solver.correlate:INFO:Processing frame nr: 6 root:INFO:Did not converged in 19 iterations last increment was 3.8177 muDIC.solver.correlate:INFO:Processing frame nr: 7 root:INFO:Did not converged in 19 iterations last increment was 2.9512 muDIC.solver.correlate:INFO:Processing frame nr: 8 root:INFO:Did not converged in 19 iterations last increment was 2.7295 muDIC.solver.correlate:INFO:Processing frame nr: 9 root:INFO:Did not converged in 19 iterations last increment was 2.9675 muDIC.solver.correlate:INFO:Processing frame nr: 10 root:INFO:Did not converged in 19 iterations last increment was 2.9839 muDIC.solver.correlate:INFO:Processing frame nr: 11 root:INFO:Did not converged in 19 iterations last increment was 2.3890 muDIC.solver.correlate:INFO:Processing frame nr: 12 root:INFO:Did not converged in 19 iterations last increment was 4.0410 muDIC.solver.correlate:INFO:Processing frame nr: 13 root:INFO:Did not converged in 19 iterations last increment was 3.4677 muDIC.solver.correlate:INFO:Processing frame nr: 14 root:INFO:Did not converged in 19 iterations last increment was 3.5449 muDIC.solver.correlate:INFO:Processing frame nr: 15 muDIC.solver.correlate:INFO:Updating reference at 15 root:INFO:Post processing results from Q4 elements. The seed variable is ignored and the values are extracted at the element centers. Use the upscale value to get interpolated fields. Traceback (most recent call last): File "C:\Users\Jdsoa\Desktop\muDIC-master\muDIC-master\Examples\quick_start.py", line 59, in viz.show(field="engstrain", component=(0, 0), frame=i) File "C:\Users\Jdsoa\Desktop\muDIC-master\muDIC-master\muDIC\post\viz.py", line 398, in show fvar = self.fields.eng_strain()[0, component[0], component[1], :, :, frame] IndexError: index 15 is out of bounds for axis 5 with size 15