Dear FLUKA experts and users,
Recently, I want to add a magnetic field to a certain region, I copy the main code from the advanced course website,however, I find it doesn't apply the field successfully. I submitted the problems several days ago, but yet I don't receive some suggestions. After submitting, I have checked the code carefully for several days, and I can't find the problem.
the code of applying to the region is as follows:
CALL GEON2R("pipenei2",pipe2,IERR)
CALL GEON2R("pipenei4",pipe4,IERR)
WRITE (LUNOUT,*) ' "pipenei2" region is number: ',pipe2
WRITE (LUNOUT,*) ' "pipenei4" region is number: ',pipe4
after running, fluka reports errors:
"pipenei2" region is number: 2.3715151000379834E-322
"pipenei4" region is number: 2.4703282292062327E-322
Abort called from MAGFLD reason NO MAGNETIC FIELD IN THIS REGION! Run stopped!
STOP NO MAGNETIC FIELD IN THIS REGION!
so the magnetic field is not applied successfully.
I don't know where the problem is.
attachments are the input file and the magnetic subroutine file.
any suggestion is appreciable!
best regards!
Yang.
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
- application/octet-stream attachment: 1.inp
- application/octet-stream attachment: source.f
Received on Fri Dec 06 2019 - 07:27:57 CET