diff --git a/docs/source/usersguide/basics.rst b/docs/source/usersguide/basics.rst index dbf63136cd..250255f45a 100644 --- a/docs/source/usersguide/basics.rst +++ b/docs/source/usersguide/basics.rst @@ -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) -------------------------------- diff --git a/docs/source/usersguide/scripts.rst b/docs/source/usersguide/scripts.rst index c361ebe435..56dfe0d9fe 100644 --- a/docs/source/usersguide/scripts.rst +++ b/docs/source/usersguide/scripts.rst @@ -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