MCNP - Tallies definition with "<"

In summary, the conversation is about the use of the "<" symbol in the MCNP manual for defining tallies. The person asking the question is confused about its meaning and is looking for clarification. The expert explains that "<" is used as a logical operator and is commonly used to specify elements in repeated structures built with universe/fill. They also mention that the manual provides a not-so-great explanation in section 5.9.1.5.
  • #1
19matthew89
47
12
TL;DR Summary
Examples of tallies definition with logical operator "<" but I don't know what it means.
Hi everyone,

In MCNP manual there are often examples of Listing containing examples of tallies which have, in the definition of the cells/surfaces of the tally itself, the "<" symbol. I could not find in the document any reference to the use of logical expression in the definition of tallies (assuming "<" is actually used as a logical operator).

Could you please tell me what it means?

Referring to the last version of the manual (MCNP® Code Version 6.3.0 Theory & User Manual) the first example of use in a Listing is for Listing 5.13 but it appears in several other listing (e.g. Listing 5.51 or Listing 6.2).

Thanks a lot in advance.
 
Engineering news on Phys.org
  • #2
I actually stared at the example for about 10 mins completely clueless, before realising I'd used these myself. That is a such an unhelpful fragment. < means within and [x y z], which you'd commonly see with it, means part of a lattice. They are for specifying elements in repeated structures built with universe/fill.

See "5.9.1.5 Repeated Structures Tallies" for not a great explanation.
 
  • Like
Likes Grelbr42 and 19matthew89
  • #3
Thanks a lot!
 
  • Like
Likes Alex A

FAQ: MCNP - Tallies definition with "<"

What is the purpose of the "<" symbol in MCNP tally definitions?

The "<" symbol in MCNP tally definitions is used to indicate that the tally is to be scored in a specific energy or time bin. This allows users to obtain detailed information about the energy or time distribution of the particles being tallied.

How do you define energy bins using the "<" symbol in an F4 tally?

To define energy bins using the "<" symbol in an F4 tally, you need to specify the energy bins after the tally type. For example, "F4:N < E1 E2 E3 ..." defines an F4 neutron flux tally with energy bins at E1, E2, E3, etc. The energy values should be listed in ascending order.

Can the "<" symbol be used with all types of tallies in MCNP?

No, the "<" symbol is not applicable to all types of tallies in MCNP. It is primarily used with tallies that can benefit from energy or time binning, such as F4 (flux), F6 (energy deposition), and F8 (pulse height), among others. Users should refer to the MCNP manual to determine the appropriate use of energy or time bins for each tally type.

How do you specify time bins using the "<" symbol in an F1 tally?

To specify time bins using the "<" symbol in an F1 tally, you would list the time bins after the tally type. For example, "F1:N < T1 T2 T3 ..." defines an F1 neutron current tally with time bins at T1, T2, T3, etc. The time values should be provided in ascending order, and they represent the boundaries of the time intervals for scoring the tally.

What is the significance of the order of energy or time values when using the "<" symbol?

The order of energy or time values when using the "<" symbol is significant because MCNP interprets these values as the boundaries of the bins. The values must be listed in ascending order to correctly define the bins. Incorrect ordering can lead to errors in the tally calculations and inaccurate results.

Similar threads

Back
Top