[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. write-gradients — if to write out gradient data:

    bool

  5. async-timeout — how long asynchronous file writes are allowed to take before becoming blocking:

    float

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

    string

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

    blocking | non-blocking

  8. 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

  9. region-type — if to write all of the elements contained inside the region or only those which are on its surface:

    volume | surface

  10. region-expand — how many layers to grow the region by:

    int

Example:

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