add warnings about untrusted OpenMC models

This commit is contained in:
Gavin Ridley 2021-03-04 15:42:15 -05:00
parent a90a3fbcba
commit 354c29b302
2 changed files with 13 additions and 3 deletions

View file

@ -5,13 +5,13 @@ Basics of Using OpenMC
======================
----------------
Creating a Model
Running a Model
----------------
When you build and install OpenMC, you will have an :ref:`scripts_openmc`
executable on your system. When you run ``openmc``, the first thing it will do
is look for a set of XML_ files that describe the model you want to
simulation. Three of these files are required and another three are optional, as
simulate. Three of these files are required and another three are optional, as
described below.
.. admonition:: Required
@ -43,6 +43,10 @@ described below.
This file gives specifications for producing slice or voxel plots of the
geometry.
.. warning::
OpenMC models should be treated as code, and it is important to be careful with code from untrusted sources.
eXtensible Markup Language (XML)
--------------------------------

View file

@ -13,7 +13,13 @@ Executables and Scripts
Once you have a model built (see :ref:`usersguide_basics`), you can either run
the openmc executable directly from the directory containing your XML input
files, or you can specify as a command-line argument the directory containing
the XML input files. For example, if your XML input files are in the directory
the XML input files.
.. warning::
OpenMC models should be treated as code, and it is important to be careful with code from untrusted sources.
For example, if your XML input files are in the directory
``/home/username/somemodel/``, one way to run the simulation would be:
.. code-block:: sh