csg2csg icon indicating copy to clipboard operation
csg2csg copied to clipboard

parenthesis in fluka cell definitions

Open py1sl opened this issue 6 years ago • 4 comments

Fluka appears to have a limit on the number of terms enclosed by parenthesis. Converting a large MCNP cell can lead to geometry that looks okay in flair but gives the following error when run

*** Too many terms in parenthesis expansion *** *** Execution terminated ***

I cannot yet find details of what is the limit for the number of terms. it also does not give a great indication of which cells are the problem.

py1sl avatar Oct 01 '19 12:10 py1sl

It doesn't, it's a fundamental issue with fluka. Its not just parentheses it's also unions. There is a limit I just can't recall what it is. There's also a maximum cell limit of 100k. There are some really simple Mcnp geometries that fluka can't tolerate at all.


From: Steve Lilley [email protected] Sent: Tuesday, October 1, 2019 1:58:31 PM To: makeclean/csg2csg [email protected] Cc: Subscribed [email protected] Subject: [makeclean/csg2csg] parenthesis in fluka cell definitions (#35)

Fluka appears to have a limit on the number of terms enclosed by parenthesis. Converting a large MCNP cell can lead to geometry that looks okay in flair but gives the following error when run

*** Too many terms in parenthesis expansion *** *** Execution terminated ***

I cannot yet find details of what is the limit for the number of terms. it also does not give a great indication of which cells are the problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/makeclean/csg2csg/issues/35?email_source=notifications&email_token=AASTUSVQD3WB4LSPPGR5YKDQMNCPPA5CNFSM4I4JED3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HO2ZVPA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AASTUSQERSY3MHS3H4MN543QMNCPPANCNFSM4I4JED3A.

makeclean avatar Oct 01 '19 13:10 makeclean

That last should start it does!


From: Davis, Andrew Sent: Tuesday, October 1, 2019 2:02:25 PM To: makeclean/csg2csg [email protected]; makeclean/csg2csg [email protected] Cc: Subscribed [email protected] Subject: Re: [makeclean/csg2csg] parenthesis in fluka cell definitions (#35)

It doesn't, it's a fundamental issue with fluka. Its not just parentheses it's also unions. There is a limit I just can't recall what it is. There's also a maximum cell limit of 100k. There are some really simple Mcnp geometries that fluka can't tolerate at all.


From: Steve Lilley [email protected] Sent: Tuesday, October 1, 2019 1:58:31 PM To: makeclean/csg2csg [email protected] Cc: Subscribed [email protected] Subject: [makeclean/csg2csg] parenthesis in fluka cell definitions (#35)

Fluka appears to have a limit on the number of terms enclosed by parenthesis. Converting a large MCNP cell can lead to geometry that looks okay in flair but gives the following error when run

*** Too many terms in parenthesis expansion *** *** Execution terminated ***

I cannot yet find details of what is the limit for the number of terms. it also does not give a great indication of which cells are the problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/makeclean/csg2csg/issues/35?email_source=notifications&email_token=AASTUSVQD3WB4LSPPGR5YKDQMNCPPA5CNFSM4I4JED3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HO2ZVPA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AASTUSQERSY3MHS3H4MN543QMNCPPANCNFSM4I4JED3A.

makeclean avatar Oct 01 '19 13:10 makeclean

Perhaps it is something csg2csg can check for and warn / not produce the Fluka input file. Ultimately some unrolling of brackets could be done, but I'm not that smart to be able to generalise how it would work.

py1sl avatar Oct 01 '19 15:10 py1sl

Picking this back up, 1 year later, Im not smart enough either - maybe a summer project?

makeclean avatar Nov 10 '20 21:11 makeclean