lanl / palm_lanl

LANL Contributions to PArallelized Large-eddy simulation Model (PALM)
3 stars 5 forks source link

Add switch for horizontal velocity restoring #51

Closed cbegeman closed 5 years ago

cbegeman commented 5 years ago

This PR adds a new logical namelist parameter which designates whether the rayleigh damping factor (depth-dependent) that is prescribed will be applied to horizontal velocity components. If this factor is nonzero, it is automatically applied to vertical velocity component. The implementation follows that of the scalar restoring option added by PR #39.

cbegeman commented 5 years ago

@vanroekel This PR is also pretty straightforward and performs as expected. Should I go ahead and merge?