Recirculation bubble and wall shear stress
1 Attachment(s)
hi
I'm simulating an atmospheric boundary layer with a perturbation (an obstacle) on the bottom of domain. Downstream of the obstacle there is a Recirculation bubble, and i want to calculate the wall shear stress on the bottom. But the wss on the bottom has an overshooting when start the Recirculation bubble. How can i try to eliminate it? it's very important Thanks 
No idea for this problem?

I'm trying to use this Grad scheme in my fvSchems
gradSchemes { default Gauss upwind; } But I have this error when simulation start > FOAM FATAL IO ERROR: attempt to read beyond EOF file: /u/acconcia/OpenFOAM/acconcia1.6/run/blayer/system/fvSchemes::gradSchemes::default at line 26. From function ITstream::read(token& t) in file db/IOstreams/Tstreams/ITstream.C at line 83. 
Hi Daniele,
You may have a parenthesis problem in your file. Can you check it and share it if you didn't solve the problem ? 
Thanks
If I use Gauss linear there isn't error 
Have you tried this ?
gradSchemes { default Gauss linearUpwind; } Does Gauss linear works ? Because it is second order so more precise. 
Yes I used it, but I have the same error, I'm traying to eliminate the stress overshooting but I don't understand where is th problem

Ok, so the problem is in your file, can you share it?
I don't see the problem on the results, you have a recirculation so the flow is stalled after the obstacle so the stress become null at the stall point and then negative. Because your shape is not smooth (not derivable actually), the velocity might have a discontinuity or a jump anyway so its gradient will have an overshoot and consequently she wall shear stress too. 
Yes, but if you consider the backwardfacing step the wall shear stress haven't overshooting

That would more be linked with your mesh I think. If it is sufficiently refined, then the singularity should disappear. It seems to be coarse when I see the x variations of the wss which leads to the discontinuity that I pointed in the previous post. Well, that is what i think.
Could you post a screen shot of your mesh please ? 
I tried to refine the mesh but the overshooting don't disappear. I used 5000 cell over a 500 m domain.

Are you using 5000 cells in the X direction or 5000 cells on the whole domain ? Is your mesh 2D ? How many cells do you use globally ? Did you refine the mesh close to the obstacle ? Can you post a screenshot of your mesh ?

1 Attachment(s)
The correct data are:
2D domain along x (main flow direction) 1000 cells along y 100 cells along z 1 cells 
Have you checked the y+ values ? Are they in the correct range for your turbulence model ?

How can do it? What is the correct range for the keps model?
Thanks you 
There is an utility for that, yPlusRAS, and the correct range depends if you are using wall functions or not, which you should as you use a coarse mesh. Then the first cell point must be in the logarithmic area so with y+ between 50 and 200.

I use wall function, with the mesh that I post. The y+ was more or less 800, now I change the mesh and it is 150

Ok, you can then play with that to check if your results can be improved but that should be ok like that.
I think that you could use much more cells in the region which you are interested in as you only use about 20 cells in it (if I had understood well your screen shot) and the gradients are here much more important than anywhere else. 
2 Attachment(s)
Refined mesh. Then I'll post the simulation results

1 Attachment(s)
I used a vertical step in my profile and this is the wall shear stress at bottom, They seem numerical error, because if I refine the mesh on chenge of shape don't change anything.

All times are GMT 4. The time now is 13:15. 