Skip to content

Discussion: OpenMC .xml file support #55

Description

@yardasol

Whereas Serpent2 uses plain text input files, OpenMC uses .xml files (settings.xml, materials.xml, geometry.xml). A user would typically create these .xml files using the Python API.

This issue can be closed when functions exist within the Depcode class that can work with the .xml files used by OpenMC -- specifically the .xml files that the OpenMC python API creates. These functions should utilize the OpenMC API where possible.

In particular, we want similar functionality as the following functions:

  • Depcode
    • write_depcode_input
    • read_depcode_template
    • insert_path_to_geometry
    • change_sim_par
    • create_iter_matfile
    • write_mat_file
  • Simulation
    • switch_to_next_geometry

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions