[fluka-discuss]: Geometry Error: Too many terms in parenthesis expansion

From: Bartkoski,Dirk Alan <DABartkoski_at_mdanderson.org>
Date: Thu, 9 Apr 2020 17:12:07 +0000

I am trying to build a gamma knife type of geometry with a number of converging collimator holes. I have run into great difficulty with the geometry definition.

I get the error:
*** Region COLLMTR too many terms in parenthesis expansion ***
*** Execution Terminated ***

I have tried numerous REGION definitions that produce the same geometry but with different ways of combining bodies and zones to reduce the number of terms within a set of parenthesis with no success.

Version 1
COLLMTR 5 +collbody -collinSf -colTbIn -colCtPln
               -( +ChShTm1 -ChShBm1 +ChCtm1 -ChELm1 -ChERm1 | +ChShT0 -ChShB0 +ChCt0 -ChEL0 -ChER0 | +ChShTp1 -ChShBp1 +ChCtp1 -ChELp1 -ChERp1 | +ChShTp2 -ChShBp2 +ChCtp2 -ChELp2 -ChERp2 )
               -(
               (+Lm9Tm1 | +Lm8Tm1 | +Lm7Tm1 | +Lm6Tm1 | +Lm5Tm1 | +Lm4Tm1 | +Lm3Tm1 | +Lm2Tm1 | +Lm1Tm1 | +Lm1T0 | +Lp1Tm1 | +Lp2Tm1 | +Lp3Tm1 | +Lp4Tm1 | +Lp5Tm1 | +Lp6Tm1 | +Lp7Tm1 | +Lp8Tm1 | +Lp9Tm1
               |+Lm9T0 | +Lm8T0 | +Lm7T0 | +Lm6T0 | +Lm5T0 | +Lm4T0 | +Lm3T0 | +Lm2T0 | +Lm1T0 | +L0T0 | +Lp1T0 | +Lp2T0 | +Lp3T0 | +Lp4T0 | +Lp5T0 | +Lp6T0 | +Lp7T0 | +Lp8T0 | +Lp9T0
               |+Lm9Tp1 | +Lm8Tp1 | +Lm7Tp1 | +Lm6Tp1 | +Lm5Tp1 | +Lm4Tp1 | +Lm3Tp1 | +Lm2Tp1 | +Lm1Tp1 | +L0Tp1 | +Lp1Tp1 | +Lp2Tp1 | +Lp3Tp1 | +Lp4Tp1 | +Lp5Tp1 | +Lp6Tp1 | +Lp7Tp1 | +Lp8Tp1 | +Lp9Tp1
               |+Lm9Tp2 | +Lm8Tp2 | +Lm7Tp2 | +Lm6Tp2 | +Lm5Tp2 | +Lm4Tp2 | +Lm3Tp2 | +Lm2Tp2 | +Lm1Tp2 | +L0Tp2 | +Lp1Tp2 | +Lp2Tp2 | +Lp3Tp2 | +Lp4Tp2 | +Lp5Tp2 | +Lp6Tp2 | +Lp7Tp2 | +Lp8Tp2 | +Lp9Tp2)
               +ChShB0 )
               | +colTbOut -colTbIn -ChShB0 -colCtPln
               | +collPlte

Version 2
COLLMTR 5 +collbody -collinSf -colTbIn -colCtPln
               -( ChShTm1 -ChShBm1 +ChCtm1 -ChELm1 -ChERm1 | +ChShT0 -ChShB0 +ChCt0 -ChEL0 -ChER0 | +ChShTp1 -ChShBp1 +ChCtp1 -ChELp1 -ChERp1 | +ChShTp2 -ChShBp2 +ChCtp2 -ChELp2 -ChERp2 )
               -((+Lm9Tm1 | +Lm8Tm1 | +Lm7Tm1 | +Lm6Tm1 | +Lm5Tm1 | +Lm4Tm1 | +Lm3Tm1 | +Lm2Tm1 | +Lm1Tm1 | +L0Tm1 | +Lp1Tm1 | +Lp2Tm1 | +Lp3Tm1 | +Lp4Tm1 | +Lp5Tm1 | +Lp6Tm1 | +Lp7Tm1 | +Lp8Tm1 | +Lp9Tm1) +ChShB0 )
               -((+Lm9T0 | +Lm8T0 | +Lm7T0 | +Lm6T0 | +Lm5T0 | +Lm4T0 | +Lm3T0 | +Lm2T0 | +Lm1T0 | +L0T0 | +Lp1T0 | +Lp2T0 | +Lp3T0 | +Lp4T0 | +Lp5T0 | +Lp6T0 | +Lp7T0 | +Lp8T0 | +Lp9T0 ) +ChShB0 )
               -((+Lm9Tp1 | +Lm8Tp1 | +Lm7Tp1 | +Lm6Tp1 | +Lm5Tp1 | +Lm4Tp1 | +Lm3Tp1 | +Lm2Tp1 | +Lm1Tp1 | +L0Tp1 | +Lp1Tp1 | +Lp2Tp1 | +Lp3Tp1 | +Lp4Tp1 | +Lp5Tp1 | +Lp6Tp1 | +Lp7Tp1 | +Lp8Tp1 | +Lp9Tp1) +ChShB0 )
               -((+Lm9Tp2 | +Lm8Tp2 | +Lm7Tp2 | +Lm6Tp2 | +Lm5Tp2 | +Lm4Tp2 | +Lm3Tp2 | +Lm2Tp2 | +Lm1Tp2 | +L0Tp2 | +Lp1Tp2 | +Lp2Tp2 | +Lp3Tp2 | +Lp4Tp2 | +Lp5Tp2 | +Lp6Tp2 | +Lp7Tp2 | +Lp8Tp2 | +Lp9Tp2) +ChShB0 )
               | +colTbOut -colTbIn -ChShB0 -colCtPln
               | +collPlte

Version 3
COLLMTR 5 +collbody -collinSf -colTbIn -colCtPln
               -(+ChShTm1 -ChShBm1 +ChCtm1 -ChELm1 -ChERm1) -(+ChShT0 -ChShB0 +ChCt0 -ChEL0 -ChER0) -(+ChShTp1 -ChShBp1 +ChCtp1 -ChELp1 -ChERp1) -(+ChShTp2 -ChShBp2 +ChCtp2 -ChELp2 -ChERp2 )
               -(+Lm9Tm1 +ChShB0) -(+Lm8Tm1 +ChShB0) -(+Lm7Tm1 +ChShB0) -(+Lm6Tm1 +ChShB0) -(+Lm5Tm1 +ChShB0) -(+Lm4Tm1 +ChShB0) -(+Lm3Tm1 +ChShB0) -(+Lm2Tm1 +ChShB0) -(+Lm1Tm1 +ChShB0) -(+L0Tm1 +ChShB0)
               -(+Lp1Tm1 +ChShB0) -(+Lp2Tm1 +ChShB0) -(+Lp3Tm1 +ChShB0) -(+Lp4Tm1 +ChShB0) -(+Lp5Tm1 +ChShB0) -(+Lp6Tm1 +ChShB0) -(+Lp7Tm1 +ChShB0) -(+Lp8Tm1 +ChShB0) -(+Lp9Tm1 +ChShB0)
               -(+Lm9T0 +ChShB0) -(+Lm8T0 +ChShB0) -(+Lm7T0 +ChShB0) -(+Lm6T0 +ChShB0) -(+Lm5T0 +ChShB0) -(+Lm4T0 +ChShB0) -(+Lm3T0 +ChShB0) -(+Lm2T0 +ChShB0) -(+Lm1T0 +ChShB0) -(+L0T0 +ChShB0)
               -(+Lp1T0 +ChShB0) -(+Lp2T0 +ChShB0) -(+Lp3T0 +ChShB0) -(+Lp4T0 +ChShB0) -(+Lp5T0 +ChShB0) -(+Lp6T0 +ChShB0) -(+Lp7T0 +ChShB0) -(+Lp8T0 +ChShB0) -(+Lp9T0 +ChShB0)
               -(+Lm9Tp1 +ChShB0) -(+Lm8Tp1 +ChShB0) -(+Lm7Tp1 +ChShB0) -(+Lm6Tp1 +ChShB0) -(+Lm5Tp1 +ChShB0) -(+Lm4Tp1 +ChShB0) -(+Lm3Tp1 +ChShB0) -(+Lm2Tp1 +ChShB0) -(+Lm1Tp1 +ChShB0) -(+L0Tp1 +ChShB0)
               -(+Lp1Tp1 +ChShB0) -(+Lp2Tp1 +ChShB0) -(+Lp3Tp1 +ChShB0) -(+Lp4Tp1 +ChShB0) -(+Lp5Tp1 +ChShB0) -(+Lp6Tp1 +ChShB0) -(+Lp7Tp1 +ChShB0) -(+Lp8Tp1 +ChShB0) -(+Lp9Tp1 +ChShB0)
               -(+Lm9Tp2 +ChShB0) -(+Lm8Tp2 +ChShB0) -(+Lm7Tp2 +ChShB0) -(+Lm6Tp2 +ChShB0) -(+Lm5Tp2 +ChShB0) -(+Lm4Tp2 +ChShB0) -(+Lm3Tp2 +ChShB0) -(+Lm2Tp2 +ChShB0) -(+Lm1Tp2 +ChShB0) -(+L0Tp2 +ChShB0)
               -(+Lp1Tp2 +ChShB0) -(+Lp2Tp2 +ChShB0) -(+Lp3Tp2 +ChShB0) -(+Lp4Tp2 +ChShB0) -(+Lp5Tp2 +ChShB0) -(+Lp6Tp2 +ChShB0) -(+Lp7Tp2 +ChShB0) -(+Lp8Tp2 +ChShB0) -(+Lp9Tp2+ChShB0)
               | +colTbOut -colTbIn -ChShB0 -colCtPln
               | +collPlte

Attached is my Flair3 file with the full geometry. Flair3 renders the geometry with no errors but FLUKA-2011 throws the error when I try to run a simulation.

How else might I define the geometry such that I won't get this error?

What is the allowed number of terms in the parenthesis?

Is the limit based on the most terms within a single set of parenthesis in a REGION or is the total number of terms in all parenthesis?
_______________________________________________________________________________
Dirk A. Bartkoski, Ph.D.
Research Scientist | Division of Radiation Oncology
[mdacc-logo2]
T. Boone Pickens Tower (FCT8.5007)
1515 Holcombe Blvd.
Unit 1420
Houston, TX 77030
(713)794-5026

The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.






__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

image001.jpg
(image/jpeg attachment: image001.jpg)

Received on Thu Apr 09 2020 - 20:49:44 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 09 2020 - 20:49:46 CEST