Disable exporting a field in post-processing stage

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Disable exporting a field in post-processing stage

Post by Mohammad »

Hello,

As you know all user defined fields values will be exported in a specific file (with .0001 extension) in post-processing stage which may occupy a lot of disk space specially for clusters which there is only a very limited disks pace available for user.

Is there an option to disable this feature for some user defined fields which don't need to be exported as a file?

Regards,
Mohammad
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Disable exporting a field in post-processing stage

Post by Yvan Fournier »

Hello,

Check for "Postprocessing output" in https://www.code-saturne.org/cms/sites/ ... eters.html, adjust for the field name, and replace CS_POST_MONITOR with "0".

In other words:

Code: Select all

  cs_field_set_key_int_bits(cs_field_by_name("user_field"),
                           cs_field_key_id("post_vis"),
                           0);
Regards,

Yvan
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Re: Disable exporting a field in post-processing stage

Post by Mohammad »

Hello,

Thank you very much Mr. Yvan Fournier.

Regards,
Mohammad
Post Reply