Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] acoustic - elastic coupling (SEM, 2ⁿᵈ order wave equation) #2557

Closed
wants to merge 120 commits into from

Conversation

tbeltzun
Copy link
Contributor

@tbeltzun tbeltzun commented Jul 4, 2023

This PR is a WIP for the acoustic - elastic coupling in SEM for the second order wave equation.

PRs required:

Linked issues:

VTKOutput: Warning! 1 field name specified in `fieldNames` is/are not registered anywhere.
VTKOutput: Warning! `pressure_np1` is not registered anywhere and will not be displayed.

@tbeltzun tbeltzun added the type: feature New feature or request label Jul 4, 2023
@tbeltzun tbeltzun marked this pull request as draft July 4, 2023 11:38
@tbeltzun tbeltzun force-pushed the feature/tbeltzun/acous-elas-sem branch from 8d179b4 to 4fd1159 Compare July 7, 2023 12:45
@tbeltzun
Copy link
Contributor Author

Validation run against gar6more3d:

Acoustic receivers:

4 infinite medium (1), free surface (2), wall boundary (3) or bilayered medium(4)
0 first layer : acoustic (0) elastodynamic (1), poroelastic (2)
4 Source derivative (Hermite functions derivative, i.e. 2 for a ricker source)
10. Central frequency of the source 
1020. Amplitude of the source (× ρᶠ ?)
0.115 Delay of the source
500. Height of the source
533.3333 Height of the line of receivers (relative to interface)
2177.2936 Abscissa of the first receiver (relative to source)
0. Ordinate of the first receiver (relative to source)
2177.2936 Abscissa of the last receiver
0. Ordinate of the last receiver
1 Numbers of receivers
0. Start time
3. Stop time
1e-3 Time step (of the seismo samples)
1000 Number of intervals for the numerical computation of the convolution
1000 Number of intervals for the numerical computation of the space integration
2.295e9 1020. λᶠ and ρᶠ
1 second layer : acoustic (0) elastodynamic (1), poroelastic (2)
9.6334225e9 9.633155e9 2500. μˢ, λˢ and ρˢ

Elastic receivers:

4 infinite medium (1), free surface (2), wall boundary (3) or bilayered medium(4)
0 first layer : acoustic (0) elastodynamic (1), poroelastic (2)
4 Source derivative (Hermite functions derivative, i.e. 2 for a ricker source)
10. Central frequency of the source 
1020. Amplitude of the source (× ρᶠ ?)
0.115 Delay of the source
500. Height of the source
-533.3333 Height of the line of receivers (relative to interface)
2177.2936 Abscissa of the first receiver (relative to source)
0. Ordinate of the first receiver (relative to source)
2177.2936 Abscissa of the last receiver
0. Ordinate of the last receiver
1 Numbers of receivers
0. Start time
3. Stop time
1e-3 Time step (of the seismo samples)
500 Number of intervals for the numerical computation of the convolution
500 Number of intervals for the numerical computation of the space integration
2.295e9 1020. λᶠ and ρᶠ
1 second layer : acoustic (0) elastodynamic (1), poroelastic (2)
9.6334225e9 9.633155e9 2500. μˢ, λˢ and ρˢ

2023-09-26-acouselas3D-ricker3

@tbeltzun
Copy link
Contributor Author

Superseded by #2813 (cleanup).

@tbeltzun tbeltzun closed this Nov 10, 2023
TotoGaz pushed a commit that referenced this pull request Dec 14, 2023
The rewrite of #2729 introduced a bug in the elastic solver, where the derived class had members shadowing the parent class variables.
The cleanup was done in #2557 but was somehow missed when cherry-picking commits to create #2729.
This PR:
- fixes elastic solver bug (member variables shadowing), reported by @shenchengyi, reproducer using `inputFiles/wavePropagation/elas3D_DAS_smoke.xml`: empty seismos time and sampled value;
- make `initTrace` consistent with `writeSeismoTrace` i.e. don't touch the file if `outputSeismoTrace` is unset;
- remove redundant / unused `ElasticWaveEquationSEM::getNumNodesPerElem`;
- code style consistency across `wavePropagation` solvers files (e.g. use `e` for element);
- use `pow(..., n)` patterns for clarity.
ouassimkh pushed a commit that referenced this pull request Feb 16, 2024
The rewrite of #2729 introduced a bug in the elastic solver, where the derived class had members shadowing the parent class variables.
The cleanup was done in #2557 but was somehow missed when cherry-picking commits to create #2729.
This PR:
- fixes elastic solver bug (member variables shadowing), reported by @shenchengyi, reproducer using `inputFiles/wavePropagation/elas3D_DAS_smoke.xml`: empty seismos time and sampled value;
- make `initTrace` consistent with `writeSeismoTrace` i.e. don't touch the file if `outputSeismoTrace` is unset;
- remove redundant / unused `ElasticWaveEquationSEM::getNumNodesPerElem`;
- code style consistency across `wavePropagation` solvers files (e.g. use `e` for element);
- use `pow(..., n)` patterns for clarity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants