Fix Code_Saturne setup
Code_Saturne error message:
System error: File exists ../../../code_saturne-6.0.5/src/fvm/fvm_to_melissa.c:355: Fatal error. Error creating Melissa writer: "results": only one Melissa server may be used, and is already used by writer: "joining".
This is actually related to the fact that "auxiliary" writers use the same format as the "main" writer, and as explained in the error message, only one Melissa server is actually possible. Using multiple Melissa servers would require that Melissa propose a feature/API option to connect to separate separate servers from the same code, which does not seem to be the case in the present API. So this is a Melissa issue, not a code_saturne one.
In your case, I assume that you have a joining or periodicity mesh pre-processing step activated, given the error message. Using the default visualization level, a writer is used to check the correct joining. The joining info preprocessed here carries no physical field information so is not releveant for Melissa.
There are 2 possible setting solutions here:
- lower the visualization level for mesh joining (set it to zero)
- an even better solution is to run the preprocessing in a separate step, and use the mesh_output (with no additional preprocessing for the CFD computation).
- do not set the type of the main (results) writer to Melissa, but add a separate writer, and associate post-processing meshes to that writer instead of "results" (though using both is possible).