Page 1 of 1

processing on a slice

Posted: Thu Nov 10, 2022 2:22 pm
by xiaoxue123
Dear expert team,

I am trying to extract a slice and export pressure on it. In cs_user_process, the slice (x=0.01) is defined for postprocessing. But pressure is not exported although there is a geometry file "xxx.geo" generated in the postprocessing folder. Could you have a look at it? GUI file and run_solver.log are attached as well.

Thanks,
Xiaoxue

Re: processing on a slice

Posted: Fri Nov 11, 2022 9:56 pm
by Yvan Fournier
Hello,

In any case, your user-defined function is coded dangerously : you try to call the output for all postprocessing meshes, including ones not limited to interior faces, which can cause a crash. You should at least have a test for the mesh id or category (as in the user examples) to make sure it matches.

Regards,

Yvan