MCNP6.2 - SSW and surfaces defining universe boundaries

  • Thread starter 19matthew89
  • Start date
  • Tags
    Mcnp
In summary, the conversation discusses using SSW card to track particles crossing surfaces defining higher level universes. The manual is clear about using cells from the lowest level, but not as clear about surfaces. The code provided includes examples of surfaces and materials. The question is whether SSW can track particles entering a cylinder with specific parameters. It is also asked whether the original surface or the modified one should be specified when using a transformation. The answer is not clear and requires further clarification.
  • #1
19matthew89
47
12
TL;DR Summary
Is SSW card able to track neutrons crossing surfaces defining universes?
Hi everyone,

I am using SSW card.
Although the manual is very clear about the fact that the cells used in SSW card have to belong to the lowest level, the manual is not that clear the surfaces.
Is SSW able to track particles crossing surfaces defining higher level universes?

Let's assume this code:
Code:
1 1  -1.0 10:-11
2 1  -1.0 11 -10 FILL=20
3 2  -2.7 -12 U=20
4 1  -1.0 12  U=20

C Surfaces
10 PZ 50
11 PZ -50
12 CZ 2

C Materials
M1      1001      0.6665667   $water                                                                   
        1002      0.000100                                                                       
        8016      0.3332063                                                                       
        8017      0.000127
      
M2      13027     1   $Al

May I write
Code:
 SSW -12 (3) -10 (3) 11 (3)
if I want to record all the particle entering the cylinder of basis at +50, -50 and of radius 2?
Or do I need to have auxiliary planes used in the universe U=20?

Moreover if I need to track particles through surfaces which have been transformed first via a TRCL, do I need to give the original surface, or the modified one. For instance, in the example above let's assume I applied a transformation TRCL at the cell 3, which surface do I need to specify
Code:
 SSW -3012 (3)
if I want to track the particles accross the lateral surface? Because I'd expect so, but when I tried a simple run it gave me error exactly saying that "surface 3012 not defined". So I am a bit puzzled.

Thanks in advance
 
Last edited:
Engineering news on Phys.org
  • #2
Hello,

Thank you for your question about MCNP6.2 and SSW card. The SSW card is used to define a special weight window for a specific cell or group of cells. The surfaces used in the SSW card should belong to the lowest level of the cell hierarchy. This means that the surfaces should be defined in the same cell or in a cell below the cell where the SSW card is used.

In your example code, the surfaces 10, 11, and 12 are defined in cell 1, which is the lowest level cell. So, you can use these surfaces in the SSW card for cell 1. However, if you want to use the same surfaces in the SSW card for cell 3, you will need to define them again in cell 3 or in a lower level cell. This is because cell 3 is above cell 1 in the cell hierarchy.

For your second question, you can write SSW -12 (3) -10 (3) 11 (3) to track particles entering the cylinder at +50, -50, and of radius 2. You do not need to use auxiliary planes in the universe U=20 for this.

If you need to track particles through transformed surfaces, you should use the original surface in the SSW card. In your example, you should use SSW -3012 (3) to track particles across the lateral surface after applying the transformation TRCL at cell 3.

I hope this helps clarify your questions. Please refer to the MCNP manual for more detailed information on using the SSW card. Thank you.
 

Related to MCNP6.2 - SSW and surfaces defining universe boundaries

What is MCNP6.2 and what does SSW stand for?

MCNP6.2 is a general-purpose Monte Carlo N-Particle code used for neutron, photon, electron, or coupled neutron/photon/electron transport. SSW stands for Surface Source Write, which is a feature in MCNP6.2 that allows users to record particles crossing a specified surface, creating a surface source file that can be used for subsequent simulations.

How do I define surfaces that act as universe boundaries in MCNP6.2?

In MCNP6.2, surfaces that act as universe boundaries are defined using surface cards in the input file. These surfaces are used to delineate the spatial regions (or universes) within the simulation. Each surface is assigned a unique identifier and type, such as planes, spheres, or cylinders, and can be combined to form complex geometries.

Can I use the SSW feature for any type of particle in MCNP6.2?

Yes, the SSW feature in MCNP6.2 can be used for any type of particle that MCNP6.2 supports, including neutrons, photons, and electrons. The surface source file generated by SSW will contain information about the particles crossing the specified surface, such as their type, energy, position, and direction.

How can I read and utilize the surface source file generated by SSW in a subsequent MCNP6.2 simulation?

To read and utilize a surface source file generated by SSW in a subsequent MCNP6.2 simulation, you need to use the Surface Source Read (SSR) feature. This involves specifying the surface source file in the input file of the new simulation using the SSR card. This allows the subsequent simulation to use the particles recorded in the surface source file as the starting conditions for the transport calculations.

What are the common issues encountered when using SSW and defining universe boundaries in MCNP6.2?

Common issues when using SSW and defining universe boundaries in MCNP6.2 include incorrect surface definitions, leading to errors in geometry setup; improper specification of the surface source file, causing issues in reading or using the file; and insufficient particle statistics in the surface source file, resulting in poor simulation results. It is crucial to carefully check the input file for correct syntax and ensure adequate sampling of particles crossing the defined surfaces.

Similar threads

  • Nuclear Engineering
Replies
1
Views
1K
  • Nuclear Engineering
Replies
1
Views
2K
Replies
1
Views
319
  • Nuclear Engineering
Replies
4
Views
2K
  • Nuclear Engineering
Replies
7
Views
2K
Replies
5
Views
2K
Replies
3
Views
2K
  • Nuclear Engineering
Replies
7
Views
2K
  • Nuclear Engineering
Replies
3
Views
1K
  • Nuclear Engineering
Replies
2
Views
2K
Back
Top