About mesh for different cells

Hi guys,
In openmc, Is there a method to mesh for different cells in one case? So far, I just know openmc.RegularMesh() method,and use it to mesh for the whole cells by only one style.


Regards!
Zhuangli

@lz152 You may want to look at RectilinearMesh, which allows you to change the size of individual mesh elements within the overall mesh. Is that what you’re looking for?

Hi Paul,
I have ever wanted to look for a mesh style to filter the fission rate of my case, I have defined as a series of concentric cylinders and some planes to cut the model into many cells. and using openmc.CellFilter to record the fission rate.And the simulation is running.
May be the result of openmc.CellFilter will be more suitable for coupling with thermalhydraulic model.(could you give me more advice on this?)


Best regards!
Zhuangli

@lz152 Yes, for the purposes of doing thermal-hydraulic coupling, it will probably make more sense to use CellFilter or CellInstanceFilter.

@ paulromano
Thank you Paul!
It is very helpful of you for me. :smiley:


Best regards!
Zhaungli