How to use command line to reset the project (clear the generated intermediate data, the same function in GUI) under UBUNTU?

Dear All,

How to use command line to reset the project (clear the generated intermediate data, the same function in GUI) under UBUNTU? Thank you.

Best,

I have always done this with a bash script. For example, running the command “rm *.out *.vtk *.sp” etc.

I would recommend looking for tutorials on deleting files in Linux bash if you are unfamiliar with how to do this.

If you start the mfixsolver with the -c flag it will clear all previous output files. (This works with the standard solver but not the “batch” version).

Welcome to PYMFiX

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  specify an input file (*.mfx or *.dat)
  -p, --print-flags     display the solver configuration flags
  -l LOG, --log LOG     set logging level (ERROR, WARNING, STATUS, INFO)
  -c, --clean           clean output files before starting run
  -s, --server          start HTTP server
1 Like