The model crushed when I tried to use Velocity Profile Option 5.
The erro message is "Fortran runtime error: Array reference out of bounds for array 'zmin', lower bound of dimension 1 exceeded (0 < 1)"
The crush pointed to Line 141 in bord.f
DO K=1,NPTFR
IFR=NUMLIQ(K)
ZMIN(IFR)=MIN(ZMIN(IFR),ZF(NBOR(K))+H%R(NBOR(K)))
ENDDO
I had a look at bord3d.f and it has a check statement for the array bound.
DO K=1,NPTFR2
IFRLIQ=NUMLIQ%I(K)
IPOIN2=NBOR2%I(K)
IF(IFRLIQ.NE.0) THEN
ZMIN(IFRLIQ)=MIN(ZMIN(IFRLIQ),ZF%R(IPOIN2)+H%R(IPOIN2))
ENDIF
ENDDO
should this check statement also be incorporated in bord.f? Thanks.
Edwin