SPECFEM / specfem2d

SPECFEM2D simulates forward and adjoint seismic wave propagation in two-dimensional acoustic, (an)elastic, poroelastic or coupled acoustic-(an)elastic-poroelastic media, with Convolution PML absorbing conditions.
GNU General Public License v3.0
194 stars 146 forks source link

Avenues to implement CPML boundary conditions for external meshes? #1140

Open iandalekelly opened 2 years ago

iandalekelly commented 2 years ago

Hi there,

I've been playing around with SPECFEM2D and have mostly been working with Gmsh and Cubit for mesh generation. However, I haven't yet stumbled onto a working solution for creating readable CPML layers for either of these meshers:

Is the only option thus far for CPML conditions is to use the internal mesher? No problem if so for my relatively simple models, but was just curious if I missed something or if that functionality hasn't been implemented yet.

Cheers,

Ian

firstkingofrome commented 2 years ago

Hello Ian, I am working on a similar issue; I have been using the JensenMesh.py example from EXAMPLES/ paper_axisymmetry_example which purports to do this externally using the geocubit library.

mnagaso commented 6 months ago

Hello,

I added an example for using Gmsh with CPML in this pull request. https://github.com/SPECFEM/specfem2d/pull/1204