Running Norma

Norma runs a simulation from a single YAML input file.

Command line

The self-activating wrapper is the simplest way to run:

bin/norma input.yaml

Equivalently, invoke Julia directly:

julia --project=@/path/to/Norma.jl /path/to/Norma.jl/src/Norma.jl input.yaml

Interactive session

using Pkg
Pkg.activate("/path/to/Norma.jl")
using Norma
Norma.run("input.yaml")

A typical workflow navigates to an example directory first:

cd("examples/contact/implicit-dynamic/2-bars")
Norma.run("bars.yaml")

If you change Norma's source, reload the module (using Norma) for the changes to take effect.

Multiple threads

bin/norma input.yaml --threads 8

or via the environment variable:

JULIA_NUM_THREADS=8 julia --project=. src/Norma.jl input.yaml

Reduced-order models

Running Operator-Inference reduced-order models is a separate three-step workflow (generate snapshots with a full-order run, build the operator with norma-opinf, then run in reduced-order mode). It is documented with the norma-opinf companion package and the example READMEs under examples/ahead/, and is outside the scope of this guide.

Next steps