You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigated and organized by Katarzyna Borowiec at ORNL (@KatarzynaBorowiec)
Problem description
Implementation of the user defined neutron source caused significant slowdown of MCNP run. The following slowdown was observed (from 3.5M histories/hr using SDEF to 0.02M histories/hr for user-defined source). Upon investigation, this is caused by source particles being tracked until the statistical weight of the particle reaches 0.0 for the user defined source.
Identified cause
The default value of the swtm variable is set to 0. The variable is used in the MCNP initialization to determine the weight cutoffs. If the user defined source is used, swtm remains equal to 0 and the weight cutoffs are also set to 0. If the general source (e.g., SDEF card) is used this variable is set to the minimum weight of source particle.
Possible solutions
The swtm variable can be specified using the CUT card in the input file. It would be helpful to explicitly state the need for this card in the repo's manual or readme.
Changes to the MCNP source code changing the default of the swtm at the initialization stage.
Explicitly evaluating/setting weight cutoffs in the user defined subroutine.
The text was updated successfully, but these errors were encountered:
Investigated and organized by Katarzyna Borowiec at ORNL (@KatarzynaBorowiec)
Problem description
Implementation of the user defined neutron source caused significant slowdown of MCNP run. The following slowdown was observed (from 3.5M histories/hr using
SDEF
to 0.02M histories/hr for user-defined source). Upon investigation, this is caused by source particles being tracked until the statistical weight of the particle reaches 0.0 for the user defined source.Identified cause
The default value of the
swtm
variable is set to 0. The variable is used in the MCNP initialization to determine the weight cutoffs. If the user defined source is used,swtm
remains equal to 0 and the weight cutoffs are also set to 0. If the general source (e.g.,SDEF
card) is used this variable is set to the minimum weight of source particle.Possible solutions
swtm
variable can be specified using theCUT
card in the input file. It would be helpful to explicitly state the need for this card in the repo's manual or readme.swtm
at the initialization stage.The text was updated successfully, but these errors were encountered: