Stand-by Inundation Model (SIM)

Matlab function used to force the TUNAMI N2 - shallow water non-linear model as SIM Standalone app
806 Downloads
Updated 11 Nov 2013

View License

Stand-by Inundation Model Codes develped as part of Contribution towards open source
23 April 2011

Dedicated to Vicitims of December 26, 2004 Tsunami; Also this code made openly avaialbe to

Standby Inundation Model for Tsunai forecast (SIMTF) - Tsunami Early Warning System project

I sincerely thankful to J. F. Luis. for his open source Mirone: A multi-purpose tool for

exploring grid data. Computers & Geosciences, 33, 31-41, 2007. (URL:

http://www.mathworks.in/matlabcentral/linkexchange/links/1164-mirone)

Also I sincerely thankful to Alberto Avila Armella for his open source Surfer Grid

import/export (URL: http://www.mathworks.in/matlabcentral/fileexchange/authors/253550)

This zip file includes the files:

grd_read_v2.m

input_data
aoi_sur_gsascii.grd
tunami_para.par
t_profile.dat

output_data

ReadMe.txt

sim_set_1_0.m

source
support_header_files
assert.h
ccp_shared_data_mex.h
float.h
math.h
matrix.h
mex.h
sfc_mex.h
stddef.h
stdio.h
stdlib.h
string.h
tmwtypes.h
version.h
tsun2.c
tsun2.pdf
tsun2_com_wbar.c
tsun2_sem_wbar.c


DESCRIPTION:

Description each and every folder and file as follows:

grd_read_v2.m
Used to Import and export GS ASCII (GRD files) from and to Golden Software Applications

input_data
Input directory to keep the input files

aoi_sur_gsascii.grd
Input bathymetry file of Area Of Interest "AOI"

tunami_para.par
Tunami model parameter input file (for more Details:

http://w3.ualg.pt/~jluis/mirone_/MironeMan2.htm )

t_profile.dat
Tsunami Profile data for constructing boundary conditions

output_data
Ouput directory to keep output files

ReadMe.txt
This File

sim_set_1_0.m
`Matlab function used to force the TUNAMI N2 - shallow water non-linear model as SIM

Stand-by Inundation Model by taking the following inputs and to give the output of

inundation results for a particular are of interest.

source
Directory contains the source codes

grd_import-export.zip
Contribution of Alberto Avila Armella the Surfer Grid import/export

support_header_files
Directory contains the following header files (For more details:

https://code.google.com/p/mirone/), including the source file of Tsun
assert.h
ccp_shared_data_mex.h
float.h
math.h
matrix.h
mex.h
sfc_mex.h
stddef.h
stdio.h
stdlib.h
string.h
tmwtypes.h
version.h

tsun2.c
The source code (For more details: http://w3.ualg.pt/~jluis/mirone/) and you have to

complie for using this code before using mex

tsun2.pdf
The flowchart generated by me for the source code tsun2.c

tsun2_com_wbar.c
The source code (For more details: http://w3.ualg.pt/~jluis/mirone/)

tsun2_sem_wbar.c
The source code (For more details: http://w3.ualg.pt/~jluis/mirone/)

sim_set_1_0 - Matlab function used to force the TUNAMI N2 - shallow water non-linear model

as SIM Stand-by Inundation Model by taking the following inputs and to give the output of

inundation results for a particular are of interest.

Usage:

tsun2(bathy, meta_info, boundary_tsun_prof, path_tpar, opt_max_dir, total_sim_tim,

out_file_path_name, cfl_con, skp_no_t_step)

the input arguments can be

bathy, meta_info, boundary_tsun_prof, path_tpar, opt_max_dir, total_sim_tim,

out_file_path_name, cfl_con, skp_no_t_step

1.Bathymetry data of Area of Interest – AOI, bathy is M X N matrix
2.Meta information of AOI bathymetry data – meta_info is a row vector
Minimum Longitude value – xmin
Maximum Longitude value – xmax
Minimum Latitude value – ymin
Maximum Latitude value – ymax
Minimum bathymetry value – zmin
Maximum bathymetry value – zmax
Bathy interval –zint
Longitude interval – xint
Latitude interval – yint

3.Boundary conditions – tsunami profile data collected at one of the
boundary of the AOI from the propagation model, where the tsunami wave
will enter into AOI - boundary_tsun_prof is I X J matrix
4.Path to parameter file – path_tpar is string
5.Option to compute maximum inundation rather than propagation – opt_max_dir is string
6.Total simulation time / time steps in seconds – total_sim_tim is string
7.Path to output inundation results including file name – out_file_path_name is string
8.CFL condition value – cfl_con is string
9.No of time steps to skip to start the inundation modeling – skp_no_t_step - is string

For further quires, please contact : pranav.bhageeratha@gmail.com

Cite As

Pranav Bhageeratha (2025). Stand-by Inundation Model (SIM) (https://se.mathworks.com/matlabcentral/fileexchange/44251-stand-by-inundation-model-sim), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Oceanography and Hydrology in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0