![]() |
This section presents how to prepare and run a simulation using the SCEC model named Layer Over Half-space 1 (LOH.1). See website SEISMOWINE for more information.
In your simulation directory, create the file "prefix" which contains the prefix of input files
echo "t01" > prefix
The mesh is designed to be accurate up to 1 Hz (using Lagrange polynomial of order 4 (mod_global_variables::ig_lagrange_order) and approximately 7 Gauss-Logatto-Legendre nodes at 1 Hz).
Run the journal file t01.jou
path_to_cubit_bash_script/cubit -nogui -nojournal t01.jou
This should create the file t01.inp that contains the mesh of the simulation. To visualise a specific block (such as the absorbing boundary), execute CUBIT command line
draw block 3
The configuration file t01.cfg (see below) sets up the general parameters of the simulation:
!******************************************* !time information !******************************************* duration of simulation = 20.0 time step = 3.0e-3 !******************************************* !receivers' output !******************************************* receiver saving increment = 10 !******************************************* !snapshot output !******************************************* snapshot saving increment = 50 snapshot space increment = 250.0 snapshot displacement = .false. snapshot velocity = .true. snapshot acceleration = .false. !******************************************* !boundary absorption information !******************************************* boundary absorption = .true. !******************************************* !medium information !******************************************* number of material = 2 material = 1 vs = 2000.0 vp = 4000.0 rho = 2600.0 material = 2 vs = 3464.0 vp = 6000.0 rho = 2700.0
The SCEC model LOH.1 includes one double couple point source at 2000 meters depth. The file t01.dcs is as follows
1 0.0 0.0 -2000.0 5.999 0.0 90.0 0.0 6.0 3.0 8
The receivers (located on the free surface) are defined by their \(x,y\)-coordinates in the file t01.fsr
693.0 0.0 5543.0 0.0 10392.0 0.0 490.0 490.0 3919.0 3919.0 7348.0 7348.0 384.0 577.0 3075.0 4612.0 5764.0 8647.0
In your simulation directory, execute the command line
mpiexec.hydra -n ncore path_to_EFISPEC3D_binary/efispec3d_1.0_sse.exe
The simulation should run for about 15 min on 2 cores (simulation performed on a laptop with Intel(R) Core(TM) i5-3320M). Increase the number of cores to decrease the computational time.
To plot receivers files *.fsr.*.gpl (or *.vor.*.gpl) created by EFISPEC3D, execute in a gnuplot terminal (at least version 4.4)
a=2 plot "loh3.fsr.000001.gpl" binary format="%10f" u 1:a with line
To vizualize snapshots files *.vts, open the file "t01.collection.snapshot.vxyz.pvd" in Paraview. To visualize peak ground displacement, velocity or acceleration, open the files t01.snapshot.PG*xyz.vts in ParaView.
This tutorial explains how to deform a flat mesh generated by CUBIT with a Digital Elevation Model (DEM).
In EFISPEC3D directory, execute the command line
make efispec_tools
This should create the executable EFISPEC3D/bin/cubit_topography.exe
path_to_cubit_bash_script/cubit -nogui -nojournal t02.jouThis should create the file "t02.inp" that contains the mesh with a flat free surface.
path_to_cubit_topography.exe/cubit_topography.exe t02.inp t02.dem 0.0 -1000.0This should create the files "t02_topo.jou" and "t02_tmp.inp". The file t02_tmp.inp contains the mesh deformed according to the DEM. However, no absorbing boundary and free surface are defined. To do so, move to step 3 below.
path_to_cubit_bash_script/cubit -nogui -nojournal t02_topo.jouThis should create the file "t02_topo.inp" which contains the mesh deformed according to the DEM and the absorbing/free surface boundary conditions. The file "t02_tmp.inp" can be deleted.
mv t02_topo.inp t02.inp
The configuration file t02.cfg (see below) sets up the general parameters of the simulation.
!******************************************* !time information !******************************************* duration of simulation = 20.0 time step = 0.5e-3 !******************************************* !receivers' output !******************************************* receiver saving increment = 20 !******************************************* !snapshot output !******************************************* snapshot saving increment = 200 snapshot space increment = 100.0 snapshot displacement = .false. snapshot velocity = .true. snapshot acceleration = .false. !******************************************* !boundary absorption information !******************************************* boundary absorption = .true. !******************************************* !medium information !******************************************* number of material = 1 material = 1 vs = 2000.0 vp = 4000.0 rho = 2600.0
A double couple point source with a strike of \(15^{\circ}\), a dip of \(70^{\circ}\) and a rake of \(10^{\circ}\) is placed in the middle of the model at 2000 meters depth. The file t02.dcs is as follows
1 9600.0 8000.0 -2000.0 3.0 15.0 90.0 10.0 4.0 2.0 8
In your simulation directory, execute the command line
mpiexec.hydra -n ncore path_to_EFISPEC3D_binary/efispec3d_1.0_sse.exe
The simulation should run for about 20 min on 128 cores. Increase the number of cores to decrease the computational time.
To vizualize snapshots files *.vts, open the file "t02.collection.snapshot.vxyz.pvd" in Paraview. To visualize peak ground displacement, velocity or acceleration, open the files t02.snapshot.PG*xyz.vts in ParaView.