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
A translation property on MeshFilter is currently available that allows meshes to be applied in multiple locations in the OpenMC model with only one representation of the mesh in memory. This has been applied in pebble bed reactor models to effectively replicate an unstructured mesh at the location of each pebble, which would be otherwise untenable for ~300,000 pebbles.
An extension of this capability would be to provide a rotation attribute to the MeshFilter class that also allows meshes to be rotated in space. This would provide the ability for meshes to be rotated to align with off-axis features of models.
Similar machinery that is used to adjust particle positions for rotated fills should be able to be applied in this feature as well
Description
A translation property on
MeshFilter
is currently available that allows meshes to be applied in multiple locations in the OpenMC model with only one representation of the mesh in memory. This has been applied in pebble bed reactor models to effectively replicate an unstructured mesh at the location of each pebble, which would be otherwise untenable for ~300,000 pebbles.An extension of this capability would be to provide a
rotation
attribute to theMeshFilter
class that also allows meshes to be rotated in space. This would provide the ability for meshes to be rotated to align with off-axis features of models.Similar machinery that is used to adjust particle positions for rotated fills should be able to be applied in this feature as well
openmc/src/geometry.cpp
Lines 199 to 201 in b4a796e
but applied in the same location where the
MeshFilter
's translation is appliedopenmc/src/tallies/filter_mesh.cpp
Lines 45 to 46 in b4a796e
Alternatives
Mesh
objects themselves.Compatibility
Any changes involved in this should be a pure addition to the code and won't affect backward compatibility.
The text was updated successfully, but these errors were encountered: