MCNP6.2 - SDEF on a RCC surface

In summary, the speaker is trying to set up a surface neutron source on the surface of a cylinder defined as a macrobody, but they are encountering a fatal error when trying to define the surface. The simulation works when using a spherical surface instead. They are seeking help in understanding the issue and if it is possible to define a surface source on a cylindrical surface.
  • #1
19matthew89
47
12
TL;DR Summary
Error for SDEF source on RCC surface
Hi everyone,

I'm trying to set up a surface neutron source on the surface of a cylinder defined as a macrobody (RCC) and used also to define cell of the system. My aim is setting up a surface source where I'd like to give a specific spectrum (and DIR) at each surface defining the cylinder.

But, before getting so far, I simply tried to set up a monoenergetic source on the surface of the macrobody (see attachment). Unfortunately, the code gives me this fatal error: "fatal error sdef surface not valid surface" and I don't manage to understand why. In fact, the simulation runs smoothly if I simply replace the cylinder surface with a spherical surface. Aren't you allowed to define a surface source on a cylindrical surface? can you spot what the issue could be?Thanks in advance
 

Attachments

  • sphere_cyl_source_example.txt
    3.2 KB · Views: 102
Engineering news on Phys.org
  • #2
for your help!

Hi there,

It is possible to define a surface source on a cylindrical surface in MCNP6.2. The error you are receiving may be due to an incorrect definition of the surface or a problem with your input file. I suggest double-checking your input file and making sure the surface is correctly defined as an RCC macrobody. You may also want to try running a simple test case with a monoenergetic source on a cylindrical surface to see if the issue persists.

If the problem persists, you can also try reaching out to the MCNP6.2 user community for assistance or contacting the developers for further support. They may be able to provide more specific guidance on troubleshooting this issue.

I hope this helps, and good luck with your simulation!
 

Related to MCNP6.2 - SDEF on a RCC surface

What is the purpose of the SDEF card in MCNP6.2?

The SDEF (Source Definition) card in MCNP6.2 is used to define the characteristics of the particle source in a simulation. It specifies parameters such as particle type, energy, position, direction, and other properties essential for accurately modeling the source term in a Monte Carlo simulation.

How do you define a source on a RCC (Right Circular Cylinder) surface in MCNP6.2?

To define a source on a RCC surface in MCNP6.2, you need to use the SDEF card in combination with the SUR (surface) parameter. The SUR parameter specifies the surface number of the RCC. Additionally, you may need to use other parameters like POS (position) and RAD (radius) to accurately describe the source distribution on the RCC surface.

What parameters are essential for specifying a source on a RCC surface?

Essential parameters for specifying a source on a RCC surface include SUR (surface number of the RCC), POS (position coordinates), RAD (radius), and VEC (vector direction). These parameters help in defining the exact location and distribution of the source on the cylindrical surface.

Can you provide an example of an SDEF card for a source on a RCC surface?

Sure! Here is an example of an SDEF card for a source on a RCC surface:

SDEF SUR=1 POS=0 0 0 RAD=d1 VEC=0 0 1 PAR=2 ERG=14.1
In this example, SUR=1 specifies the RCC surface number, POS=0 0 0 sets the position at the origin, RAD=d1 defines the radial distribution, VEC=0 0 1 sets the direction vector along the z-axis, PAR=2 indicates neutron particles, and ERG=14.1 sets the energy to 14.1 MeV.

What are common issues when defining a source on a RCC surface, and how can they be resolved?

Common issues include incorrect surface number, improper positioning, and incorrect direction vectors. These can lead to simulation errors or unexpected results. To resolve these issues, double-check the RCC surface definition in the geometry section, ensure the POS and VEC parameters are correctly set, and verify that the RAD parameter matches the intended source distribution. Additionally, consulting the MCNP6.2 manual for detailed descriptions and examples can help troubleshoot these issues.

Similar threads

Replies
3
Views
2K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
6
Views
2K
  • Nuclear Engineering
Replies
4
Views
2K
  • Nuclear Engineering
Replies
9
Views
3K
  • Nuclear Engineering
Replies
1
Views
2K
Replies
1
Views
864
  • Nuclear Engineering
Replies
1
Views
3K
  • Introductory Physics Homework Help
Replies
5
Views
2K
Back
Top