su2code / SU2

SU2: An Open-Source Suite for Multiphysics Simulation and Design
https://su2code.github.io
Other
1.36k stars 843 forks source link

Write compact restart files #2372

Open bigfooted opened 3 weeks ago

bigfooted commented 3 weeks ago

Proposed Changes

We aim to implement 2 things:

  1. Restart files contain variables that are not necessary for restarts. with the keyword WRT_RESTART_COMPACT= YES we can write compact restart files containing only necessary fields.

  2. Other output contains variables that are not requested (all SOLUTION variables are always written). When WRT_RESTART_COMPACT= YES, we do not automatically write the SOLUTION fields to e.g. paraview.

  3. When WRT_RESTART_COMPACT= NO, we keep the original behavior for backward compatibility.

  4. additionally, we write compact surface .csv files.

Related Work

Mentioned in Issue (request) #2118

PR Checklist