[soln-plugin-writer]

Periodically write the solution to disk in the pyfrs format. Parameterised with

  1. dt-out — write to disk every dt-out time units:

    float

  2. basedir — relative path to directory where outputs will be written:

    string

  3. basename — pattern of output names:

    string

  4. post-action — command to execute after writing the file:

    string

  5. post-action-mode — how the post-action command should be executed:

    blocking | non-blocking

  1. region — region to be written, specified as either the entire domain using *, a combination of the geometric shapes specified in Regions, or a sub-region of elements that have faces on a specific domain boundary via the name of the domain boundary:

    * | shape(args, ...) | string

Example:

[soln-plugin-writer]
dt-out = 0.01
basedir = .
basename = files-{t:.2f}
post-action = echo "Wrote file {soln} at time {t} for mesh {mesh}."
post-action-mode = blocking
region = box((-5, -5, -5), (5, 5, 5))