Home » CERS-Software
Realistic ground-motion simulations for earthquake-engineering purposes require an appropriate space-time description of the earthquake rupture process. While physics-based spontaneous dynamic rupture models may be preferable, synthetic source models based on kinematic rupture parameters (slip, slip-rate, rupture speed, local source-time function, rake angle) are often used for ground-motion simulations for scenario earthquakes. Besides the rupture-modeling software, a numerical method (and the corresponding code) for computing the seismic waves excited by the rupture is needed. Codes for Earthquake Rupture and ground-motion Simulation (CERS) provides several software packages as listed below.

Disclaimer: We neither produce commercial software nor encourage use of computer programs as "blackbox" tool. Our shared codes come naturally without warranty, so use and publish at your own risk. Of course, we are glad to assist as much as we can with respect to the installation and use of our codes.

RupGen     This suite of routines allows to generate earthquake rupture models for ground-motion simulation or for computing the static displacements due to slip on a fault. The codes implements source scaling relations (Wells and Coppersmith, 1994; Mai and Beroza, 2000), earthquake slip complexity (Mai and Beroza, 2002), and the location of rupture nucleation (Mai et al, 2005). Code packages are available in MATLAB, C++, and python. [More..]

Download: MATLAB version, Python version, C++ version

Static stress from fault slip     A useful MATLAB script to compute the static stress change on a fault given the coseismic displacement (= slip) on the fault plane. This tool implements the equations of Ripperger and Mai (2004), and operates in the 2D wave-number domain. MATLAB is required to run this code.   [More..]

Download: Slip2Stress

Broadband ground-motion simulation     This set of F90-routines implements the Mai et al (2010) approach for hybrid broadband ground-motion simulations. The codes compute the high-frequency (HF) seismic scattered wavefield for a specified earthquake source (generally a point-source at this time), and combines the HF-waves with user-precalculated low-frequency (LF) wavefield. We currently do not distribute a computer program for calculating the low-frequency seismograms. This code is being used in the Broadband Ground-Motion Simulation Platform of the Southern California Earthquake Center (SCEC). [More..]

Download: Toolbox, Readme (.pdf, 254KB)

    MATLAB scripts for estimating critical area for initiating self-sustained/runaway dynamic ruptures following Galis et al. (2015), using and overstressed asperity, inside which the initial traction is set higher than static traction. [ More..]

Download: CritArr

    Matlab scripts to compute the effective source dimensions for a given slip model. [ More..]

Download: effsrcdim.

    As Python (programming language) amateurs and enthusiasts, we attempt to deliver a Python package. We have been compiling several Python scripts/functions for our own work dealing with analysis and modeling of earthquake sources. Most of these functions are useful in processing SRCMOD data files such as file-format conversions and data processing. The package is currently under development and will be made available soon. [ More..]

Download: Currently under development.