Popis: |
We describe the development of a block-structured, equal CPU-load, multigrid nesting interface for the Boussinesq wave model FUNWAVE-TVD. The new model framework does not interfere with the core solver, and thus the core program, FUNWAVE-TVD, is still a stand-alone model used for a single grid. The nesting interface manages the time sequencing and two-way nesting processes between the parent grid and child grid with grid refinement in a hierarchical manner. Workload balance in the MPI-based parallelization is handled by an equal-load scheme. A strategy of shared array allocation is applied for data management, that allows a large number of nested grids without creating additional memory allocations. Four model tests are conducted to verify the nesting algorithm, model accuracy, wetting-drying treatment, and the robustness in the application to modeling transoceanic tsunamis and coastal effects. |