SDF Definition Notes with Tech-X

Had a phone call with Sveta and Peter Neilsen at Tech-x today about how Simulation Definition Files (.sdf’s) will be translated to DAGMC UWUW files. This process is mainly a transfer of metadata tagging to DAGMC. The file to annotate will provided in the SDF file, so it will be a matter of loading the .h5m file, annotating it, and overwriting the original upon a successful completion of data transfer.

Tally and Source Definitions

These are uniquely identified using a type/kind paring (VolumeTally/Fluence). They are also allowed to have names (which are also unique). There can be many of these tallies, but duplications or conflicting definitions should be caught during composition of the .sdf file from the definitions.ctk (sp?) file.

Note: there was a request for any special cases which might cause problems in DAGMC simulations.

In the case of volume sources and tallies, the metadata added to the .h5m file will be linked based on the object name exported from the Rsim project (though in the case of sources, the material must be set to “Source” as well).

Object Names

When importing objects from CUBIT/Trelis, part names sometimes come along with volumes, but I think they’re still limited to 32 characters. It would be good to figure out a way to remove this constraint and allow arbitrarily long part names using MOAB’s variable length tags. Given that there is no existing convention for this, I’ll need to think about how to implement it such that it conforms with old DAGMC ways of doing things. Regardless, it shouldn’t be necessary for simulation. Wondering if the convention can be contained to this project somehow…

Playing with SDF files

The SDF files can be changed manually, but incorrect syntax may cause the simulation composer to break (so any test SDF files should be version controlled). Also, the composer will beed to be re-opened to reflect any changes made in the SDF file.

Installing and working with Rsim

I’m going to attempt to install and run Rsim from a Docker image with access to my display to avoid any pre-existing settings on my machine messing with the file.