-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compiling code | Runs but fails tests on elastic-acoustic
Implemented Ricker source. I plan to use one of the original example from SPECFEM2D from Wave propagation near a fluid‐solid interface: A spectral‐element approach. The tests for coupled elastic-acoustic domains are failing. - Things to do to debug - Check if the Ricker source is implemented correctly. Check source time function values - Check source location inside the mesh (ispec value) - Check the compute forces routine and source interaction routine at the ispec where source is located - Check the values at the interface when the wave reaches the interface. Check compute coupling routine
- Loading branch information
1 parent
f05d21e
commit 9bc39a8
Showing
29 changed files
with
425 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
cmake_minimum_required(VERSION 3.17.5) | ||
|
||
configure_file(homogeneous-medium-flat-topography/specfem_config.yaml.in ${CMAKE_SOURCE_DIR}/examples/homogeneous-medium-flat-topography/specfem_config.yaml) | ||
configure_file(fluid-solid-interface/specfem_config.yaml.in ${CMAKE_SOURCE_DIR}/examples/fluid-solid-interface/specfem_config.yaml) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
number-of-sources: 1 | ||
sources: | ||
- force: | ||
x : 1575.0 | ||
z : 2900.0 | ||
source_surf: false | ||
angle : 0.0 | ||
vx : 0.0 | ||
vz : 0.0 | ||
Ricker: | ||
factor: 1e9 | ||
tshift: 0.0 | ||
f0: 10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
parameters: | ||
|
||
header: | ||
## Header information is used for logging. It is good practice to give your simulations explicit names | ||
title: Heterogeneous acoustic-elastic medium with 1 acoustic-elastic interface # name for your simulation | ||
# A detailed description for your simulation | ||
description: | | ||
Material systems : Elastic domain (1), Acoustic domain (1) | ||
Interfaces : Acoustic-elastic interface (1) | ||
Sources : Force source (1) | ||
Boundary conditions : Neumann BCs on all edges | ||
|
||
simulation-setup: | ||
## quadrature setup | ||
quadrature: | ||
alpha: 0.0 | ||
beta: 0.0 | ||
ngllx: 5 | ||
ngllz: 5 | ||
|
||
## Solver setup | ||
solver: | ||
time-marching: | ||
type-of-simulation: forward | ||
time-scheme: | ||
type: Newmark | ||
dt: 0.85e-3 | ||
nstep: 800 | ||
|
||
receivers: | ||
stations-file: "@CMAKE_SOURCE_DIR@/examples/fluid_solid_interface/databases/STATIONS" | ||
angle: 0.0 | ||
seismogram-type: | ||
- displacement | ||
- velocity | ||
nstep_between_samples: 1 | ||
|
||
## Runtime setup | ||
run-setup: | ||
number-of-processors: 1 | ||
number-of-runs: 1 | ||
|
||
## databases | ||
databases: | ||
mesh-database: "@CMAKE_SOURCE_DIR@/examples/fluid_solid_interface/databases/database.bin" | ||
source-file: "@CMAKE_SOURCE_DIR@/examples/fluid_solid_interface/databases/sources.yaml" | ||
|
||
seismogram: | ||
seismogram-format: ascii | ||
output-folder: "." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.