Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] - "sort_enclosure": true does not work properly #254

Closed
davideflammini opened this issue Jul 11, 2024 · 1 comment
Closed

[BUG] - "sort_enclosure": true does not work properly #254

davideflammini opened this issue Jul 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@davideflammini
Copy link

When "sort_enclosure": true is selected the enclosure cell(s) is repeated twice in the MCNP input file, using the same cell numbering. If one copy of the cell(s) is manually cancelled from the MCNP input, the geometry still presents errors that are not present when "sort_enclosure": false is set. The geometry errors are due to a wrong sense of some of the surfaces used in the cell description of the enclosure.

Enclosure is written in cell #4 of the attached examples and should be defined as follows:

4 0 -3 4 8 11 -12 -5 (15:14:-13)

It is instead defines as follows when "sort_enclosure": true:

C ##########################################################
C ENCLOSURE 1
C ##########################################################
C
4 0 3 4 8 11 12 -5 (15:14:-13)
imp:n=1.0 imp:p=1.0

  • OS: Windows
  • GEOUNED 1.2.0
  • Python version 3.11

In attachment: step file used for the test, MCNP inputs obtained with "sort_enclosure": true and "sort_enclosure": false
sort_enclosure_false.txt
sort_enclosure_true.txt
step_file.zip

@davideflammini davideflammini added the bug Something isn't working label Jul 11, 2024
@psauvan
Copy link
Member

psauvan commented Jul 12, 2024

bug fixed PR #255

@psauvan psauvan closed this as completed Jul 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants