Is it possible to use TR or TRCL to translate an F4 or FMESH4 tally in MCNP6.2?

  • Thread starter 19matthew89
  • Start date
  • Tags
    Mcnp
In summary, you can use TRCL to translate a cell, but you need to be careful about the bounds of the FMESH.
  • #1
19matthew89
47
12
TL;DR Summary
Is it possible to use TR card to translate a segmented or a mesh tally?
Hi everyone,
I'd like to know if it is possible to use TR or TRCL to translate an F4 or FMESH4 tally.

Let me better explain: I have a cell, centered at 0,0,0 and for this cell I set up a segmentation tally along z-axis with a series of planes orthogonal to the z-axis. Moreover, I have also set up a Cartesian mesh tally with FMESH4.
Now I'd like to translate the cell along the z-axis (and later also rotate). This can be done easily with TRCL card but may I apply the same transformation to the F4 segmented tally and FMESH4 tally that I set up for the cell at 0,0,0? so that, for instance, I do not need to define planes orthogonal to the z-axis or the mesh at different heights but such that the tallies on the translated cell inherit, somehow, the structure of the original tallies?

The section of the manual about tallies in repeated structure is mainly focused on lattices or elements of the universes and not about segmentation or meshes.

Thanks in advance
 
  • Like
Likes Grelbr42
Engineering news on Phys.org
  • #2
You don't use the TR card to move the FMESH. You use the origin and axis entries on the FMESH. That let's you specify the origin of the mesh, the x-axis of the mesh, and the orientation of the mesh y-axis relative to the x-axis. If you were doing a cylindrical mesh then you specify the z-axis of the cylinder and the location of the zero of angle around the cylinder.

Note: Read the manual about the bounds of the FMESH very carefully when you are using this feature. Try it out a few times on runs with very small number of particles. The manual is kind of confusing, at least for me, on how the bounds are affected by the origin.
 
  • Like
Likes 19matthew89
  • #3
Grelbr42 said:
You don't use the TR card to move the FMESH. You use the origin and axis entries on the FMESH. That let's you specify the origin of the mesh, the x-axis of the mesh, and the orientation of the mesh y-axis relative to the x-axis. If you were doing a cylindrical mesh then you specify the z-axis of the cylinder and the location of the zero of angle around the cylinder.

Note: Read the manual about the bounds of the FMESH very carefully when you are using this feature. Try it out a few times on runs with very small number of particles. The manual is kind of confusing, at least for me, on how the bounds are affected by the origin.
Yeah! I already got in that kind of situation with the origin so now I know how to deal with that 😅 Indeed for mesh tally I already did and it was fast enough and not a big deal.
It would be more useful in the case of the of F4 tallies. With my current setup everything is anyway pretty easy but, but I'm afraid it might be a bit more bothersome when cells are going to be tilted.
 
  • #4
Hi 19matthew89,

your post about the "trans" coomand was very interesting for me!
Please, could you suggest a way to combine linear and rotated tallies?

Thank you
Laura
 
  • #5
lauraB said:
Hi 19matthew89,

your post about the "trans" coomand was very interesting for me!
Please, could you suggest a way to combine linear and rotated tallies?

Thank you
Laura
Hi Laura,
I don't exactly understand what you mean...
Every TR card (which has to follow a TRANS key word) is to be defined with a linear displacement vector:

TRn o1 o2 o3 xx’ yx’ zx’ xy’ yy’ zy’ xz’ yz’ zz’ m

with o1, o2, and o3 displacement vector.

Is this that you mean with "linear and rotated tallies"?

Cheers
 

FAQ: Is it possible to use TR or TRCL to translate an F4 or FMESH4 tally in MCNP6.2?

What is TR and TRCL in the context of MCNP6.2?

In MCNP6.2, TR (Transformation) and TRCL (Transformation Cell) are used to define geometric transformations. TR is used to apply transformations to entire geometries or parts of geometries, such as rotations and translations, while TRCL is used to apply transformations to individual cells within the geometry.

Can TR or TRCL be used to translate an F4 tally in MCNP6.2?

No, TR or TRCL cannot be directly used to translate an F4 tally. The F4 tally, which calculates the flux averaged over a volume, is defined in the problem geometry and is not affected by geometric transformations specified by TR or TRCL.

How can I apply a translation to an F4 tally in MCNP6.2?

To apply a translation to an F4 tally, you need to manually redefine the tally in the new location. This involves specifying the new coordinates and dimensions that correspond to the translated position in the problem geometry.

Is it possible to use TR or TRCL to translate an FMESH4 tally in MCNP6.2?

No, similar to the F4 tally, TR or TRCL cannot be used to translate an FMESH4 tally. The FMESH4 tally, which provides a mesh-based tally of the flux, is defined in the problem geometry and is not affected by the TR or TRCL transformations.

What steps should I take to translate an FMESH4 tally in MCNP6.2?

To translate an FMESH4 tally, you need to redefine the mesh grid parameters to reflect the new position. This involves adjusting the coordinates of the mesh grid points in the input file to the desired translated location.

Similar threads

Replies
1
Views
1K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
1
Views
4K
Replies
2
Views
3K
Replies
42
Views
5K
Replies
5
Views
2K
Back
Top