Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spatial filter for log law of the wall #57

Open
cbegeman opened this issue Jan 2, 2020 · 1 comment
Open

Spatial filter for log law of the wall #57

cbegeman opened this issue Jan 2, 2020 · 1 comment

Comments

@cbegeman
Copy link
Collaborator

cbegeman commented Jan 2, 2020

Since log law of the wall holds in a spatially-averaged sense, Bou-Zeid et al. (2015) filter the resolved velocity near the wall by 2 times the grid size. The current version of the code has some averaging but perhaps not enough:
https://github.com/xylar/palm_les_lanl/blob/c293074463bb0bda5a6796182b56793a1d163d91/trunk/SOURCE/surface_layer_fluxes_mod.f90#L1054-L1055
(these terms are used to define the surface stress). What do you think about averaging u(i,j,k),u(i+1,j,k),u(i,j+1,k),u(i+1,j+1,k) for the surface stress calculation instead (and likewise for v)? It's probably a minor effect but I don't think it would hurt to implement.

@xylar
Copy link
Collaborator

xylar commented Feb 12, 2020

I agree, more spatial averaging would likely make some sense. I think the averaging that you point to is just to move from the respective edges to cell centers, so it's not really intended for smoothing purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants