MCNP TR Transform Card Question

Click For Summary
SUMMARY

This discussion focuses on rotating a rectangular parallelepiped (RPP) in MCNP (version 6.3) around a specified y-axis that is not the origin. The user seeks to achieve a 45-degree rotation by employing a rotation matrix and subsequent translation to reposition the RPP correctly. Additionally, the user encounters a fatal error regarding the "xs is missing from xsdir_mcnp6.1" when using the MT card with the identifier "MT u-uo2.40t o-uo2.40t," indicating compatibility issues with the cross-section table in MCNP version 6.3.

PREREQUISITES
  • Understanding of MCNP (version 6.3) and its coordinate system
  • Familiarity with matrix transformations and rotation matrices
  • Knowledge of RPP geometry and its properties
  • Experience with MCNP MT cards and cross-section tables
NEXT STEPS
  • Research how to construct and apply rotation matrices in MCNP
  • Learn about translating coordinates in MCNP after applying transformations
  • Investigate compatible cross-section tables for MCNP version 6.3
  • Explore troubleshooting techniques for common MCNP errors
USEFUL FOR

This discussion is beneficial for MCNP users, computational physicists, and anyone involved in geometric modeling and simulation within the MCNP framework.

MadGander
Messages
28
Reaction score
1
TL;DR
Question regarding the surface transform card in MCNP.
I'm trying to rotate an RPP 45 degrees around the y axis (BUT NOT THE ORIGIN Y AXIS, rather the y axis at x=a, z=b). Is there a way to do this in MCNP? I've tried every single possible combination of angles and inputs to no avail. Again, I have an RPP that is not centered at the origin and I want to rotate it around the y axis that travels through the middle of the RPP cell.
 
Engineering news on Phys.org
A rotation around the origin followed by a translation is equivalent to a rotation around any arbitrary centre. Work out a rotation matrix for the 45 degree turn, then feed x=a, z=b through that. The difference between a -> a', b -> b' gets you the amount you need to subtract to put it back in it's place. The translation vector. The rotation matrix needs to be transposed and the translation numbers go in as they are. If you don't transpose the rotation will be in the wrong direction because of the way the command is defined (how to create the alt co-ordinate system from the global one).

The gritty details are here. Are you familiar with matrix transforms?
 
  • Informative
Likes   Reactions: berkeman
Alex A said:
A rotation around the origin followed by a translation is equivalent to a rotation around any arbitrary centre. Work out a rotation matrix for the 45 degree turn, then feed x=a, z=b through that. The difference between a -> a', b -> b' gets you the amount you need to subtract to put it back in it's place. The translation vector. The rotation matrix needs to be transposed and the translation numbers go in as they are. If you don't transpose the rotation will be in the wrong direction because of the way the command is defined (how to create the alt co-ordinate system from the global one).

The gritty details are here. Are you familiar with matrix transforms?
Thanks for the help. I have another mcnp related question regarding the MT card. I'm using "MT
u-uo2.40t o-uo2.40t" and getting a "xs is missing from xsdir_mcnp6.1" fatal error. I'm running the input deck on version 6.3, so based on the error I'm assuming that the .40t table is not compatible with mcnp6.3. Any idea which table identifier I should use instead?
 

Similar threads

Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K