How Does MCNP Macro Definition Modeling Work?

AI Thread Summary
MCNP macro definition modeling is essential for creating intricate geometries in Monte Carlo N-Particle simulations. The initial macro definitions establish four right circular cylinder (RCC) regions with varying dimensions and positions, crucial for representing different materials or structures. Following this, three rectangular parallelepiped (RPP) regions are defined, adding detail to the geometry within the RCC regions. The final set of macro definitions integrates these regions into a cohesive model, facilitating organization and identification. This modeling approach enhances efficiency and flexibility in nuclear and radiation physics research.
chengmo
Messages
9
Reaction score
0
TL;DR Summary
The results I modeled using the macro definition can be viewed with vised but vised doesn't display all of them and doesn't report errors. Why
C
1 1 -19.35 -7 1 -2
2 1 -19.35 -8 3 -4
3 1 -19.35 -5:-6
4 0 5 6 #1 #2

C
1 RCC 0 -10 0 0 -10 10 2
2 RCC 0 -10 0 0 -10 10 5
3 RCC 0 10 0 0 10 10 2
4 RCC 0 10 0 0 10 10 5
5 RPP 2 5 -10 10 0 10
6 RPP -3 0 -15 15 0 10
7 RPP 0 5 -15 -10 0 10
8 RPP 0 5 10 15 0 10

C
M1 074184 1
 
Engineering news on Phys.org
1 -19.35 -7 1 -2
M2 074185 2 1 -19.35 -8 3 -4
M3 074186 3 1 -19.35 -5:-6
M4 074187 4 0 5 6 #1 #2

MCNP macro definition modeling is a useful tool for creating complex geometries in Monte Carlo N-Particle (MCNP) simulations. In this example, the macro definitions are used to define various regions of interest in the model, such as RCC (right circular cylinder) and RPP (rectangular parallelepiped) shapes.

The first set of macro definitions (C1-C4) defines four RCC regions with different dimensions and positions. These regions can represent different materials or structures in the model, and the numbers following the RCC command specify the dimensions of the cylinder. The numbers following the RCC dimensions represent the coordinates of the center of the cylinder, as well as the rotation angles around the x, y, and z axes.

The next set of macro definitions (C5-C8) defines three RPP regions with different dimensions and positions. These regions can represent volumes within the RCC regions, allowing for more detailed modeling of the geometry. The numbers following the RPP command specify the dimensions of the parallelepiped, and the numbers following the dimensions represent the coordinates of the corners of the parallelepiped.

Finally, the last set of macro definitions (M1-M4) combines the previously defined regions to create the final model. The numbers following the M commands correspond to the number of the macro definition, allowing for easy identification and organization of the model.

Overall, MCNP macro definition modeling allows for efficient and flexible creation of complex geometries in MCNP simulations, making it a valuable tool in nuclear and radiation physics research.
 
Hello everyone, I am currently working on a burnup calculation for a fuel assembly with repeated geometric structures using MCNP6. I have defined two materials (Material 1 and Material 2) which are actually the same material but located in different positions. However, after running the calculation with the BURN card, I am encountering an issue where all burnup information(power fraction(Initial input is 1,but output file is 0), burnup, mass, etc.) for Material 2 is zero, while Material 1...
Hi everyone, I'm a complete beginner with MCNP and trying to learn how to perform burnup calculations. Right now, I'm feeling a bit lost and not sure where to start. I found the OECD-NEA Burnup Credit Calculational Criticality Benchmark (Phase I-B) and was wondering if anyone has worked through this specific benchmark using MCNP6? If so, would you be willing to share your MCNP input file for it? Seeing an actual working example would be incredibly helpful for my learning. I'd be really...
Back
Top