Can MCNP solve the geometric coincidence issue with a semi-cylinder and cuboid?

Click For Summary

Discussion Overview

The discussion revolves around the geometric coincidence issue encountered when modeling a semi-cylinder within a cuboid using MCNP (Monte Carlo N-Particle Transport Code). Participants explore the challenges of defining shapes and their intersections in the context of Constructive Solid Geometry.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant raises a question about solving the geometric coincidence problem when fitting a semi-cylinder into a cuboid, indicating it is geometrically problematic.
  • Another participant mentions that MCNP uses Constructive Solid Geometry, suggesting that shapes should intersect and that the user must specify which volumes correspond to different parts of the problem.
  • A participant describes an issue where only two out of four cubes are displayed, questioning why the expected cuboids are not visible in the model.
  • Discussion includes a technical clarification about cell definitions, where positive surfaces indicate areas above or outside, while negative surfaces indicate below or inside, with a specific example provided regarding cell definitions.
  • One participant acknowledges a mistake in the X-axis orientation affecting the surface definitions, indicating a correction was made.
  • Despite correcting the X-axis error, another participant notes that a modeling problem persists in cell card 1, questioning why cell card 1 and cell card 2 are defined similarly when only one causes an issue.
  • A participant observes that MCNP appears to function correctly, while a tool called VisEd does not seem to display the model as expected, suggesting that VisEd may have issues with comments in the model.

Areas of Agreement / Disagreement

The discussion contains multiple competing views and unresolved issues regarding the geometric modeling in MCNP, with participants expressing differing experiences and interpretations of the software's behavior.

Contextual Notes

Participants express uncertainty about the correct definitions and configurations of surfaces and cells, indicating potential limitations in their understanding of the software's requirements for geometric modeling.

chengmo
Messages
9
Reaction score
0
How do we solve the geometric coincidence problem? I need a semi-cylinder that fits into the cuboid but if I use the cuboid and the cylinder directly it's geometrically problematic
 
Engineering news on Phys.org
I'm not quite following the question. MCNP does Constructive Solid Geometry. Shapes are supposed to intersect and then you tell it which volumes are what part of the problem.
 
I set up four cubes but only two are displayed. In my setting, there should be cuboids in the middle and under the ring. Why?

QQ图片20230426151847.png
 

Attachments

In a cell definition a positive surface typically means above or outside. A negative surface means below or inside. If you take a look at cell 3, you have -3 4, meaning below x=4 and at the same time above x=6. The space between x=4 and 6 is "3 -4". Now have a look at cell 4 and see if you can find something similar.
 
Thank you very much Alex A, I got the X-axis wrong. The sign of 1, 2,3, and 4 surfaces in the surface card is wrong
 
However, after I corrected the error of x axis, the modeling problem still occurred in cell card 1. Why is cell card 2 and cell card 1 written in the same way? cell1 caused the problem, but cell2 did not
 

Attachments

  • QQ图片20230427163840.png
    QQ图片20230427163840.png
    19.3 KB · Views: 173
  • QQ图片20230427163848.png
    QQ图片20230427163848.png
    28.7 KB · Views: 158
  • A1++.txt
    A1++.txt
    328 bytes · Views: 164
MCNP seems happy. When I try the interactive plotter I see the full D. VisEd does not seem happy from your picture. Maybe VisEd does not like the comment. I do not see an error.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
20
Views
3K