Hi,
I want to save some variables on a slice at a specific frequency. Attached is the cs_user_postprocess.c and the xml file. The mesh is defined in cs_user_postprocess_meshes, the variable output is defined in cs_user_postprocess_values. In the postprocess folder, geo file is generated but the variable pressure is not saved. Can you have a look at cs_user_postprocess to see if anything is wrong in it?
Best regards,
Xiaoxue
variable output 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
variable output on a slice
- Attachments
-
- cs_user_postprocess.c
- (7.53 KiB) Downloaded 188 times
-
- setup_T.xml
- (15.16 KiB) Downloaded 188 times
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: variable output on a slice
Hello,
Yes, your code in cs_user_postprocess_values is much too simplistic, and will probably lead to a crash for a postprocessing mesh not based on a selection of all cells.
There is an example specific to pressure on a surface mesh in the provided examples, so you should start with that example.
Regards,
Yvan
Yes, your code in cs_user_postprocess_values is much too simplistic, and will probably lead to a crash for a postprocessing mesh not based on a selection of all cells.
There is an example specific to pressure on a surface mesh in the provided examples, so you should start with that example.
Regards,
Yvan