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
processing on a slice
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 29
- Joined: Fri Mar 02, 2018 11:50 am
processing on a slice
- Attachments
-
- setup_T.xml
- (15.6 KiB) Downloaded 190 times
-
- run_solver.log
- (73.61 KiB) Downloaded 185 times
-
- cs_user_postprocess.c
- (8.61 KiB) Downloaded 193 times
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: processing on a slice
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
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