Error: in position *** is now causing trouble, requesting a step of *** cm

Dear experts,

I wrote some lattices in inp file, it seems to work fine. After adding walls to geometry, an error occurs where it is close to the wall:

Geofar: Particle in region   204 (cell #    0)
  in position   2.121151446E+02 -1.200000000E+02 -1.010970845E+02
  is now causing trouble, requesting a step of  1.198156684E+03 cm
  to direction -8.969680846E-01  4.211408059E-01  1.344941518E-01
  end position -8.625931608E+02  3.845926713E+02  6.004798230E+01
  R2:  2.437064517E+02 R3:  2.638436186E+02 cm  error count:  0
  X*U   (2D): -2.407974117E+02 X*U   (3D): -2.543943783E+02 cm
  X*UOLD(2D):  1.657995434E+02 X*UOLD(3D):  1.551536708E+02 cm
  Kloop:      63741, Irsave:    205, Irsav2:    204, error code: -33 Nfrom:  5000
  old direction  9.492730202E-01  2.962970048E-01  1.053034575E-01, lagain, lstnew, lsense, lsnsct  F  F  F  T
  Particle index    7 total energy   9.537288576E-05 GeV  Nsurf    8
 Try again to establish the current region  moving the particle of a  1.000000000E-07 long step
 We succeeded in saving the particle:  current region is n.   204 (cell #    0)

In the inp file, some strings are longer than 8 characters. but this may not cause trouble? Then, I don’t know why this happens and how to avoid this error.

Thank you for your advice.

test_01001.out (1.3 MB)
test_01.inp (68.8 KB)
test_01001.err (610.7 KB)

I think I find the reason. Some names of ROTDEFs are longer than 8 characters. After shortening those names, everything goes smoothly.

1 Like