Postprocessing inside Code_Saturne

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
seby2
Posts: 8
Joined: Wed Sep 12, 2018 8:51 am

Postprocessing inside Code_Saturne

Post 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
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Postprocessing inside Code_Saturne

Post 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
seby2
Posts: 8
Joined: Wed Sep 12, 2018 8:51 am

Re: Postprocessing inside Code_Saturne

Post by seby2 »

Hello,

That answers my question. Thank you.

Regards,
Seb
Post Reply