Introduction

The Intact command line tool allows users to run a variety of physics simulations over assemblies of different geometry types. These simulations are configured with a json file. We generally refer to one of these simulations as a scenario. Code examples that are meant to be run in a shell are prefixed with $. For example

$ intact --help

will produce output that looks like:

$ intact --help
A command line interface for Intact
For more information, the user manual can be found at:
https://intact-solutions.com/intact_docs/
Usage:
  Intact [OPTION...]

  -h, --help                    Print program usage
      --build-info              Print report about current build, then exit
      --version                 Print the software version
  -s, --scenario arg            Scenario json file
  -f, --fields arg              Fields to sample (if empty, all available 
                                fields will be sampled). Comma delimited.
  -o, --output arg              Output directory. The default it the 
                                directory of the scenario file.
      --skip-sample             Skip the sampling step of the solver.
      --json-output             Output the sampled results in JSON format 
                                (VTK is the default output).
      --tempdir                 Make a temporary directory for output
      --scenario-name arg       Prefix for output files, defaults to 
                                scenario file name
      --load-solution-file      Load a cached solution file/s
      --logdir arg              Path to the log file. Default value is 
                                current working directory.
      --logname arg              If not specified, log will not be put in a 
                                file
      --save-solution           Save the scenario solution in vtk format
      --refinement-level arg    Refinement ratio w.r.t. assembly bounding 
                                box. If not present, no refinement is 
                                performed.
  -v, --verbosity arg           Verbosity level, run with --help for more 
                                information
      --define-version          Software version
      --license-check           Check license validity.
      --seats-available         Print the number of available seats to 
                                stdout.

Aside from the syntax for paths, this documentation applies to builds of the intact tool on all operating systems. All officially supported features are documented here, though the build provided may have additional functionality.

In addition, this manual should be bundled with example simulation files. We advise looking at those as a companion to the material described here.