Post-processing of slope test

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
vgm567
Posts: 17
Joined: Tue Oct 14, 2014 3:51 pm

Post-processing of slope test

Post by vgm567 »

Hi,
I have a quick question regarding interpreting the meaning of post-processing output of the cells in which the slope-test is activated.
The output of the post-processing field using "slope_test_upwind_id" key gives a scalar called
"velocity_slope_upwind" with values ranging from 0 to O(1e+10).

I was having a read through cs_convection_diffusion.c code and wanted to check whether the following is the value that is being output for visualisation:

Code: Select all

v_slope_test[ii] += fabs(i_massflux[face_id]) / cell_vol[ii]


Thanks for your help

V. Michael
Yvan Fournier
Posts: 4085
Joined: Mon Feb 20, 2012 3:25 pm

Re: Post-processing of slope test

Post by Yvan Fournier »

Hello,

I need to check, but from memory I think that's right.

Best regards,

Yvan
Post Reply