openmc.plot_geometry

openmc.plot_geometry(output=True, openmc_exec='openmc', cwd='.')[source]

Run OpenMC in plotting mode

Parameters
  • output (bool, optional) – Capture OpenMC output from standard out

  • openmc_exec (str, optional) – Path to OpenMC executable

  • cwd (str, optional) – Path to working directory to run in

Raises

RuntimeError – If the openmc executable returns a non-zero status