Skip to content

PseudoelasticP

Governing equation

PseudoelasticP solves the pseudoelastic pure P-mode wave equation of Sun and Alkhalifah (2021): the two-dimensional isotropic elastic equations in velocity–stress form, with the particle velocity replaced by its curl-free part. With the normalised gradient \(\tilde\nabla = \nabla / \sqrt{-\Delta}\) the first-order form reads

\[ \frac{\partial P}{\partial t} = \tilde\nabla \cdot \left[ \frac{1}{\rho} \left( \nabla \cdot \boldsymbol{\tau} + \mathbf{f} \right) \right], \qquad \frac{\partial \boldsymbol{\tau}}{\partial t} = \mathbf{C} : \nabla \left( \tilde\nabla P \right), \]

where \(\boldsymbol{\tau}\) is the stress tensor (sxx, szz, sxz), \(\mathbf{C}\) the isotropic stiffness built from the models vp, vs, rho (\(\lambda = \rho(v_p^2 - 2 v_s^2)\), \(\mu = \rho v_s^2\)) and \(P\) the scalar P-wave potential rate. The velocity that drives the stresses is \(\mathbf{v} = \tilde\nabla P = \tilde\nabla \tilde\nabla \cdot \mathbf{v}\): the irrotational projection of the elastic velocity. The equation therefore propagates no S wave and no P–S or S–P conversion, and its grid is set by the P wavelength alone (vs does not constrain the spacing). The PP reflections keep the elastic amplitude variation with angle, because vs enters the stress update through \(\mu\): at an interface with a jump in \(\mu\) only, the acoustic equation reflects nothing while this one reflects like Elastic at oblique incidence. Since no energy leaves to converted waves, the PP reflection comes out stronger than the elastic one by about the relative shear-modulus jump squared (5 % at a 6 % jump in \(v_s\), 25 % at a 50 % jump); the radiation patterns agree to first order.

Compared with a first-order (Born) elastic correction of the acoustic equation, the shear modulus acts here through the full stress update, so large contrasts and post-critical reflections are handled without a small-perturbation assumption.

Implementation

The step is Elastic's staggered-grid leapfrog — same stencils of order spatial_order, CPML, source and receiver fields, image-method free surface — with the projection inserted between the velocity and the stress sub-steps. The projection is spectral: two 2-D FFTs each way over the whole padded grid. It is the orthogonal projector onto the range of the discrete staggered gradient, built from the exact symbol of the propagator's stencil (the FFT of its impulse response), so a discrete FD gradient field is left unchanged; with vs = 0 the record equals that of Elastic with vs = 0 to round-off.

The wavefields and models are those of Elastic: (vx, vz, sxx, szz, sxz) plus the ten CPML memories, models (vp, vs, rho). vx and vz hold the projected (P) velocity. The default source is the explosion ['sxx', 'szz'] and the default receivers ['vx', 'vz']; a vertical force ['vz'] is also accepted — only its P part radiates.

Boundary conditions

The CPML of Elastic is applied in the two sub-steps; the projection also acts on the absorbing layer. With free_surface=True the grid is mirrored about the surface row inside the projection (vx odd, vz even), which keeps the normal stresses zero on the surface; this is exact for a fluid top (vs = 0 along the surface row, as in marine data) and is refused otherwise. Only a flat free surface on the top face is supported; per-edge free surfaces and topography are refused.

Limits

  • Eager only (impl='eager'); there is no compiled path and no 3-D version. torch.compile works on the step.
  • The projection reads the whole grid, so boundary saving is refused; use the default chunk checkpointing or memory=Full(). Domain decomposition is not available.
  • No S waves: data windows dominated by converted waves (e.g. the vertical geophone of ocean-bottom nodes at late times) are not modelled.

Notebook 62 shows Elastic and PseudoelasticP snapshots side by side on a three-layer model, and the acoustic equation against the pure P-mode on a shear-only interface.

Reference: B. Sun and T. Alkhalifah, 2021, Pseudoelastic pure P-mode wave equation, Geophysics 86(6), T469–T485, 10.1190/geo2021-0084.1.

sweep.equations.PseudoelasticP

PseudoelasticP(spatial_order=4, device='cpu', backend='torch')

Bases: sweep.equations.elastic.Elastic

Pseudoelastic pure P-mode wave equation of Sun & Alkhalifah (2021): the 2-D isotropic elastic velocity-stress equations in which the particle velocity is projected onto its curl-free (P) part after every velocity update.

Writing the normalised gradient :math:\tilde\nabla = \nabla/\sqrt{-\Delta}, the paper's first-order form (their eq. 8) is

.. math::

\partial_t P = \tilde\nabla\cdot\big[(\nabla\cdot\boldsymbol\tau + \mathbf f)/\rho\big],
\qquad
\partial_t \boldsymbol\tau = \mathbf C : \nabla(\tilde\nabla P),

i.e. the velocity that drives the stresses is :math:\mathbf v = \tilde\nabla P = \tilde\nabla\tilde\nabla\cdot\mathbf v, the irrotational part of the elastic velocity. The equation carries no S wave and no P-S or S-P conversion, so it runs on the P-wave grid (vs does not set the grid spacing), while the PP reflections keep the full elastic amplitude variation with angle (vs enters through the shear modulus in the stress update), including post-critical reflections -- unlike a first-order (Born) correction of the acoustic equation.

Implementation: :class:Elastic's staggered-grid step (same stencils, CPML, sources, receivers and the image-method free surface) with the projection inserted between the velocity and the stress sub-steps. The projection is spectral (two 2-D FFTs each way over the whole padded grid) and is built from the symbol of the staggered FD derivative, so a discrete FD gradient field is left exactly unchanged: with vs = 0 the equation reproduces Elastic(vs = 0) to round-off. With free_surface=True the grid is mirrored about the surface row inside the projection (vx odd, vz even), which keeps the sea surface traction-free; this requires water (vs = 0) along the surface row, as in marine acquisition. The projection reads the whole grid, so boundary saving is refused and there is no compiled (impl='c') path; use impl='eager' with the default checkpointing. Only the top face may be a free surface, and only flat.

Reference: B. Sun and T. Alkhalifah, 2021, Pseudoelastic pure P-mode wave equation, Geophysics 86(6), T469-T485, 10.1190/geo2021-0084.1.

Models (constructor input order)

  • vp (m/s): Elastic P-wave velocity model.
  • vs (m/s): Elastic S-wave velocity model.
  • rho (kg/m^3): Density model.

Wavefields

  • vx (aliases: velocity_x): Particle velocity in the x direction; default receiver.
  • vz (aliases: velocity_z): Particle velocity in the z direction; default receiver.
  • sxx (aliases: stress_xx): Normal stress in the x direction; default source.
  • szz (aliases: stress_zz): Normal stress in the z direction; default source.
  • sxz (aliases: stress_xz, shear_xz): Shear stress component.
  • m_vxx: CPML memory variable for dvx/dx (internal).
  • m_vxz: CPML memory variable for dvx/dz (internal).
  • m_vzx: CPML memory variable for dvz/dx (internal).
  • m_vzz: CPML memory variable for dvz/dz (internal).
  • m_txxx: CPML memory variable for dsxx/dx (internal).
  • m_txxz: Reserved elastic auxiliary field (internal).
  • m_tzzx: Reserved elastic auxiliary field (internal).
  • m_tzzz: CPML memory variable for dszz/dz (internal).
  • m_txzx: CPML memory variable for dsxz/dx (internal).
  • m_txzz: CPML memory variable for dsxz/dz (internal).

Defaults

  • source_type: ['sxx', 'szz']
  • receiver_type: ['vx', 'vz']
  • pml_type: 'cpmls'

Build the pure P-mode operator.

Parameters:

  • spatial_order –

    order of the staggered FD derivatives of the elastic step (even; default 4). The projection uses the symbol of this stencil.

  • device –

    device of the stencil kernels ('cpu' or 'cuda').

  • backend –

    'torch' only.

supports_batched_models class-attribute

supports_batched_models = False

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

supports_boundary_saving_c class-attribute

supports_boundary_saving_c = False

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

supports_boundary_saving_eager class-attribute

supports_boundary_saving_eager = False

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

supports_image_topography class-attribute

supports_image_topography = False

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

supports_per_edge_free_surface class-attribute

supports_per_edge_free_surface = False

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.