Page 1 of 1

Postprocessing inside Code_Saturne

Posted: Thu Oct 18, 2018 12:30 pm
by seby2
Hello,

I understand the source file nc_user_initialization.cxx can allow to define user functions in order to perform a preprocessing on the fields because this file is read before the calculation starts.
Is there a file allowing to define user functions in order to perform a postprocessing on the fields after the end of the calculation but before writing the results in MED or VTK file ?

Thank you.

Seb

Re: Postprocessing inside Code_Saturne

Posted: Thu Oct 18, 2018 3:31 pm
by Yvan Fournier
Hello,

Yes, you can check on the Doxygen user examples for the cs_user_extra_operations function.
You can also add dedicated postprocessings in cs_user_postprocess.c

Regards,

Yvan

Re: Postprocessing inside Code_Saturne

Posted: Thu Oct 18, 2018 7:19 pm
by seby2
Hello,

That answers my question. Thank you.

Regards,
Seb