Command-line Interface Options#

Delete Previous Output Files#

The flag -R allows the user to delete previous output files before new ones are written. This is useful, for instance, when launching the simulation multiple times with different numbers of steps, so that you make sure only the most recent output files are stored. One example is as follows:

lethe-fluid -R tgv-matrix-based.prm

The previous (if any) .vtu, .pvtu, and .pvd files, stored in the output path determined in the prm file, will be removed before the files corresponding to the current simulation are saved.

Hint

The -R tag can be used in the applications lethe-fluid, lethe-fluid-block, lethe-fluid-matrix-free, lethe-fluid-nitsche, lethe-fluid-particles, lethe-fluid-sharp, lethe-fluid-vans, and lethe-particles.