Skip to content

Commit

Permalink
fixing data paths
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Oct 17, 2024
1 parent c7594e8 commit 17c7247
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@
"\n",
"# loads up the output file from the simulation\n",
"statepoint = openmc.StatePoint(sp_filename)\n",
"import pyvista as pv\n",
"mesh = pv.read('my_strange_vtk_file.vtk')\n",
"\n",
"# extracts the mesh tally by name\n",
"my_tbr_tally = statepoint.get_tally(name='tbr_on_mesh')\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
"\n",
"import openmc\n",
"import openmc.deplete\n",
"from pathlib import Path\n",
"\n",
"# users might want to change these to use specific xml files to use particular decay data or transport cross sections\n",
"# Setting the cross section path to the correct location in the docker image.\n",
"# If you are running this outside the docker image you will have to change this path to your local cross section path.\n",
"openmc.config['cross_sections'] = '/nuclear_data/cross_sections.xml'\n",
"# the chain file was downloaded with\n",
"# pip install openmc_data\n",
"# download_endf_chain -r b8.0\n",
"# chain_file = '/nuclear_data/chain-endf-b8.0.xml'\n",
"# openmc.config['chain_file'] = chain_file\n"
"openmc.config['chain_file'] = '/nuclear_data/chain-endf-b8.0.xml'\n"
]
},
{
Expand Down

0 comments on commit 17c7247

Please sign in to comment.