-
Notifications
You must be signed in to change notification settings - Fork 96
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
Why the implementation of the solid-fluid coupling in the specfem2d and specfem3d_globe is different? #821
Comments
right, these different potential formulations were confusing me as well :) there are many ways how to define the potentials, the most obvious choices are to either have a displacement potential as in with pressure or with pressure here, so, for the globe version SPECFEM3D_GLOBE, the formulation follows this statement in the code file specfem3D.f90:
that is the globe version follows formulation (1) as this turns out to be easier when gravity is included in the equations of motions. and as you mentioned, for the 2D version, the definition follows this statement in specfem2D.F90:
that is the 2D version (similar as the 3D_Cartesian version) uses formulation (2) for the potential definition, mostly for the reasons of pressure being continuous across discontinuities and therefore the potential is continuous, which lends itself well to the smooth GLL basis functions used in the spectral-element method together with the definition of the wavefields being on global nodes (instead of local nodes as in discontinuous Galerkin methods). one last comment: the 2D version has a similar idea in mind like often done in exploration seismics, where the subsurface is approximated by an acoustic media. In such cases, we assume that the acoustic medium is allowed to have first-order discontinuities, i.e., velocity jumps from one subsurface layer to another one. using formulation (2) can easily account for this and still have pressure and potential being continuous. on the other hand, the acoustic domain in the globe version is implemented for the outer core. there we assume that the outer core is fluid with no internal discontinuities. in that case, formulation (1) is still fine to have a continuous potential as well, and thus the spectral-element discetization remains happy. hope that helps out a bit to get this confusing thing sorted out... :) |
Dear Daniel, I have checked that for models with a smooth density like the outer core of the Earth, both these two displacement potentials Kind Regards |
In the specfem2D/compute_coupling_viscoelastic_ac.f90, we can find that the definition of pressure is minus potential_dot_dot_acoustic. This can be understood due to the definition relation between pressure (P) and the potential of displacement(phi): P = - /partial_{tt} potential. We have benchmarked the specfem2d with our current DFDM 2D global, the waveforms are the same.
However, in the specfem3D/compute_coupling.f90, the pressure = - RHO_TOP_OC * accel_outer_core.
My understanding is that: accel_outer_core = /partial_{tt} phi (second derivatives with respect to time). This implementation is different from the specfem2d case. And it is also different from the previous velocity potential formulation (-rho* partial_t velocity potential).
So I feel confused.
After checking the source codes, it seems that RHO_TOP_OC is a ratio between RHO_TOP_OC and average density. That makes sense.
The text was updated successfully, but these errors were encountered: