code-saturne / code_saturne

code_saturne public mirror
https://www.code-saturne.org
GNU General Public License v2.0
225 stars 82 forks source link

Allow creation of mesh_input from GUI #36

Closed mathrack closed 5 years ago

mathrack commented 5 years ago

The possibility to do a restart from a simulation performed on another mesh is very interesting. As it requires a mesh_input or a mesh_output, it would be convenient to have a checkbox in the GUI to force the creation of such a file. Currently, the files can be obtained with the tool cs_preprocess or with the routine cs_user_mesh_save.

YvanFournier commented 5 years ago

We are currently working on a solution to allow saving by default of mesh_input and mesh_output files.

This was not done by default before, to avoid generating multiple versions of the same (large) file in case of a series of restarts, but by using hard links, we should avoid the volume of real copies (as long as the files are not moved to a different filesystem) while allowing a practical default.

This should be available soon and mostly solve this issue (though choosing to save the mesh_output or not would also be an interesting option for large scale runs, so may be added also)

YvanFournier commented 5 years ago

Handled by commit 497e27bf.