I propose a new namelist parameter that designates whether the bottom or the top boundary is a wall, rather than hard-coding a wall at the bottom boundary or implementing a wall only if the boundary is associated with a constant flux layer.
The main effect seems to be decreasing the mixing length near the bottom boundary of the domain, which @vanroekel thinks is appropriate. Therefore, no changes to the code along these lines will be pursued.
@vanroekel @lconlon @qingli411 @xylar
As far as I can tell, a wall at the bottom boundary is hard-coded here: https://github.com/xylar/palm_les_lanl/blob/42c59e36d9fffe82b0f4b3159be04f1860408ef7/trunk/SOURCE/init_grid.f90#L1911-L1912 because the
nzb+1
index is used instead ofnzb
.topo
is then used to definewall_flags_0
.I propose a new namelist parameter that designates whether the bottom or the top boundary is a wall, rather than hard-coding a wall at the bottom boundary or implementing a wall only if the boundary is associated with a constant flux layer.
Thoughts?