To use first and second order in a separate regions
Posted: Mon Mar 03, 2014 5:10 pm
Hello,
In my work I am postprocessing two solutions for scalars that should be close matches and making comparisons. One scalar is normal, eg temperature, and the other is the square of this, eg temperature squared - I solve a transport equation for this. I will have a boundary in the geometry that is either constant flux or value. The two solutions can be compared and they are expected to be close matches.
There has been no problem with the constant flux boundary results for all schemes, they match as expected. It also works well with constant value boundary with the first order scheme. However, when I use second order schemes, by setting blencv=1.0 and ischcv=1/0, I have found that comparison in the first cells along the constant value boundary walls are unexpectedly large. They don't appear to match the rest of the comparison's distribution, and they also suggest an unexpected source of error in this location because the comparison should be approaching zero for this boundary.
I would like to see what happens if the simulation uses the first order scheme in the first row of cells against the boundary, and second order in the rest. Is there already a way to allow Saturne to do this?
Thank you for your help,
Stuart
In my work I am postprocessing two solutions for scalars that should be close matches and making comparisons. One scalar is normal, eg temperature, and the other is the square of this, eg temperature squared - I solve a transport equation for this. I will have a boundary in the geometry that is either constant flux or value. The two solutions can be compared and they are expected to be close matches.
There has been no problem with the constant flux boundary results for all schemes, they match as expected. It also works well with constant value boundary with the first order scheme. However, when I use second order schemes, by setting blencv=1.0 and ischcv=1/0, I have found that comparison in the first cells along the constant value boundary walls are unexpectedly large. They don't appear to match the rest of the comparison's distribution, and they also suggest an unexpected source of error in this location because the comparison should be approaching zero for this boundary.
I would like to see what happens if the simulation uses the first order scheme in the first row of cells against the boundary, and second order in the rest. Is there already a way to allow Saturne to do this?
Thank you for your help,
Stuart