openmc-dev / openmc

OpenMC Monte Carlo Code
https://docs.openmc.org
Other
769 stars 494 forks source link

Need methods to lookup (and maybe interpolate?) field data from mesh #1577

Open makeclean opened 4 years ago

makeclean commented 4 years ago

As more efforts are pushed towards multi-physics it would be useful to have the ability to lookup field data e.g. temperature on a mesh data structure (e.g. kD-tree lookup). Thinking about interfacing the thermo-mechanical calcs, where the temperature data will need to be interpolated from the nodes. Thus a data lookup from mesh data would be useful

pshriwise commented 4 years ago

It's not quite clear to me what you mean, @makeclean. We currently store field/model data such as temperature & density on geometric regions rather than on the mesh. Are you suggesting we have an option to store those values on a mesh and support some kind of spatial tree lookup to retrieve those values?