rom-py / rompy-xbeach

Rompy XBeach Config package
MIT License
1 stars 0 forks source link

Ramping the xbeach grid #4

Open benjaminleighton opened 3 months ago

benjaminleighton commented 3 months ago

capability to add offshore boundary ramp extending the bathymetry and grid

benjaminleighton commented 3 months ago

● Expand the offshore and cross-shore grid boundaries to provide smooth/consistent boundary bathymetry ○ Offshore boundary: ■ User-specified maximum depth - defaults to -25.0m ■ User specified minimum-slope - defaults to -0.3 per metre ■ Maximum slope default is -0.3 * grid cell size ○ Cross-shore boundaries: ■ Expand grid by 5, duplicate bathymetry

from Simon's notes

hot007 commented 3 months ago

As an aside, having the capacity to expand boundaries may be generally useful, XBeach-GPU requires boundaries have side lengths that are multiples of I think 16, in that case we've just duplicated the edge n lines identically to meet the computational requirement (which is just about domain decomposition for the GPU architecture).

rafa-guedes commented 1 month ago

Boundary extension has been implemented in rompy-xbeach, example usages are provided in this notebook.