Skip to content

Cylindrical Mesh: Arbitrary Orientation #4103

Description

@yrrepy

Description

Currently CylindricalMesh defaults to height axis vector oriented along the Z-axis.
CylindricalMesh orientation can be changed with filters, see below, but MeshSource and mesh.material_volumes cannot leverage the filter rotation

<mesh id="4" type="cylindrical">
  <r_grid>0.0 5 10 20 </r_grid>
  <phi_grid>0.0 6.283185307179586</phi_grid>
  <z_grid>-100 -50 50 100</z_grid>
 <origin>0.0 0.0 0.0</origin>
</mesh>

<filter id="2" type="mesh" rotation="-90.0 0.0 0.0">
  <bins>4</bins>
</filter>

As was done for CylindricalIndependent, we should implement arbitrary orientation.

There are other similar types that lack this kind of arbitrary orientation support, grouped:

  1. SphericalMesh, CylindricalMesh
  2. SphericalIndependent (CylindricalIndependent had r_dir, z_dir implemented, Spherical did not)
  3. Follow-ups (WeightWindows)

Probably best broken up into multiple PRs matching the types above.

Compatibility

new keywords
r_dir, z_dir, polar_dir, azimuthal_dir etc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions