From 1 - 1 / 1
  • Tsunami simulation model, such as COMCOT, solves a set of discretized mathematical equations that govern the physical processes of tsunami generation by various sources, propagation over ocean basin, run-up and inundations in coastal areas. The source code of a tsunami simulation model is a collection of a human-readable programming codes/statements that are translated from the discretized mathematical equations through a programming language, e.g. FORTRAN. Together with a suitable compiler, the source code can be further converted into an executable binary application, e.g. a numerical simulation program (model). This executable binary may run on various platforms, e.g. Windows or Linux systems. Continuous validations are often carried out by model developers and other researchers to identify potential bugs, errors, and validate its accuracies against analytical analyses, results from other established models, laboratory experiments, and field observations from real tsunami events. Pre- and post-processing scripts for a tsunami model are often independent of the model’s source code. They are developed to prepare input data for a tsunami simulation model, further process and visualize output data files of tsunami model simulations, e.g. to create inundation maps. These scripts may also be used to convert a tsunami model’s proprietary data formats into other commonly used formats, e.g. GIS-compatible formats such as ESRI ARC ASCII, or vice versa. MATLAB and Python are two commonly used programming languages for these scripts. For example, MATLAB has been used to develop a set of data processing scripts for COMCOT tsunami simulation model. COMCOT-API is a set of Python-based Application Programming Interface (API) scripts that augments and drives the COMCOT tsunami simulation model. This enables full automation of parameter studies and development of an algorithm for probabilistic hazard assessment with COMCOT as the tsunami simulation kernel. The API manages simulations on clusters with different queuing systems, farms simulation scenarios out to clusters and collects data after simulation completion. It also creates non-uniform slips as input to tsunami simulations, based on fault geometry and scaled with earthquake magnitude. User manuals provide detailed descriptions about tsunami models, including their underlying mathematical equations, numerical discretization schemes, programming languages, software/hardware requirements, parameter setup, input and output data, example simulations, and sometimes validations. DOI: https://doi.org/10.21420/V6PE-TG20 Cite as: GNS Science. (2020). Tsunami Models Source Code, Scripts and Manuals. GNS Science. https://doi.org/10.21420/V6PE-TG20