-
Notifications
You must be signed in to change notification settings - Fork 102
Refactoring of Drag Forcing #1799
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
base: main
Are you sure you want to change the base?
Conversation
|
Need to update documentation and add examples. |
|
This is an useful feature that is needed for certain scenarios-- thanks for implementing it. I have one minor comment/request in terms of the inputs. It does not seem like it is arbitrary enough. The user can only set the damping length for each boundary and a single lateral damping start. I would be helpful to have settings like the Rayleigh damping, where we can specify the sloped and complete damping part. For example, if we want to setup a damping on the west boundary that starts at z=1000, has a (cosine?) slope until z=1200, then it's fully active until z=zhi, I don't see a way to set that up right now. I see that being useful depending on the boundary layer we have coming into the domain. |
Added the slope damping to horizontal and lateral direction. Have not added complete damping yet since PALM-LES showed success with just sloped damping. We may need complete damping for full MMC. Will keep running more tests. |
|
Moved damping to Rayleigh Damping instead of inside DragForcing |
|
@mbkuhn Everything is ready for integration. |
mbkuhn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra points for the star wars commit names!
When Immersed Boundary Forcing method was developed, there was a need for having sponge layers to ensure that solution was not contaminated. However, with algorithm improvement, this feature became redundant and is being removed. On the other hand for strong inversions, gravity waves were being reflected back from the horizontal boundaries. A new lateral damping has been added within drag forcing to ensure that the gravity waves do not contaminate the solution.
Please check the type of change introduced:
Checklist
The following is included:
This PR was tested by running: