#Specfem
Par_file
simulation input parameters
title of job
1 | title = Specfem2d |
forward or adjont simulation
1 | SIMULATION_TYPE = 1 |
parameters concerning partitioning
1 | NPROC = 4 |
number of control nodes pre element (4 or 9)
1 | ngnod = 9 |
time step parameters
1 | NSTEP = 1600 |
time stepping
1 | time_stepping_scheme= 1 |
axisymmetric (2.5D) or Cartesian plannar (2D) simulation
1 | AXISYM = .false. |
set the type of calculation (P_SV or SH/membrane waves)
1 | P_SV = .true. |
set to true to use GPUs
1 | GPU_MODO = .false. |
creates/reads a binary database that allows to skip all time consuming setup steps in initialization
1 | setup_with_binary_database = 0 |
available models
1 | MODEL = default |
attenuation
attenuation parameters
1 | ATTENUATION_VISCOELASTIC = .false. |
for viscoelastic attenuation
1 | N_SLS = 3 |
for poroelastic attenuation
1 | ATTENUATION_PORO_FLUID_PART = .false. |
source
source parameters
1 | NSOURCE = 1 |
acoustic forcing
1 | ACOUSTIC_FORCING = .false. |
receivers
receiver set parameters for recording stations (i.e. recording points)
1 | seismotype = 1 |
subsampling of the seismograms to create smaller files (butless accurately sampled in time)
1 | subsamp_siesmos = 1 |
so far, this option can only be used if all the receivers are in acoustic elements
1 | USE_TRICL_FOR_BETTER_PRESSURE = .false. |
every how many time steps we save the seismograms
1 | <!-- (costly, do not use a very small value; if you use a very large value that is larger than the total number of time steps of the run, the seismograms will automatically be saved once at the end of the run anyway)<++> --> |
use this t0 as earliest satrting time rather than the automatically calculated one
1 | USER_T0 = 0.0d0 |
seismogram formats
1 | save_ASCII_seismograms = .true. |
use an existing STATION file found in ./DATA or create a new one from the receiver positions below in this Par_file
1 | use_existing_STATIONS = .false. |
number of receiver sets (i.e. number of receiver lines to create below)
1 | nreceiversets = 2 |
orientation
1 | anglerec = 0.d0 |
first receiver set (repeat these 6 lines and adjust nreceiversets accordingly)
1 | nrec = 11 |
second revceiver set
1 | nrec = 11 |
adjoint kernel outputs
save sensitivity kernels in ASCII format (much bigger files, but compatible with current GMT scripts) or in binary format
1 | save_ASCII_kernels = .true. |
since the accuracy of kernel integration may not need to respect the CFL, this option permits to save computing time, and memory with UNDO_ATTENUATION_AND_OR_PML mode
1 | NSTEP_BETEEN_COMPUTE_KERNELS = 1 |
boundary confitions
Perfectly Matched Layer (PML) boundaries
absorbings boundary active or not
1 | PML_BOUNDARY_CONDITIONS = .true. |
Stacey ABC
1 | STACEY_ABSORBING_CONDITIONS = .false. |
periodic boundaries
1 | ADD_PERIODIC_CONDITIONS = .false. |
velocity and density models
1 | nbmodels = 4 |
external tomography file
1 | TOMEGRAPHY_FILE = ./DATA/tomo_file.xyz |
use an external mesh created by an external meshing tool or use the internal mesher
1 | read_external_mesh = .false. |
PARAMETERS FOR EXTERNAL MESHING (外部网格参数)
data concerning mesh, when generated using third-party app
1 | mesh_file = ./DATA/mesh_file |
PARAMETERS FOR INTERNAL MESHING (内部网格参数)
file containing interfaces for internal mesh
1 | interfacesfile = ./DATA/interfaces_simple_topo_curved.dat |
geometry of the model (origin lower_left corner = 0,0) and mesh description
1 | xmin = 0.d0 |
absorbing boundary parameters (see absorbing_conditions above)
1 | absorbbottom = .true. |
define the defferent regions of the model in the (nx, nz) spectral-element mesh
1 | nbregions = 5 |