# SPECFEM

**URL:** https://community.geodynamics.org/c/specfem/31.md?page=1

[Latest](https://community.geodynamics.org/latest.md) · [Categories](https://community.geodynamics.org/categories.md) · [Tags](https://community.geodynamics.org/tags.md)

**Page:** 2

---

## [How does GMSH adopt PML boundary absorption](https://community.geodynamics.org/t/how-does-gmsh-adopt-pml-boundary-absorption/1381)

<div class="topic-metadata">

**Author:** [@zrs12](https://community.geodynamics.org/u/zrs12)\
**Replies:** 0\
**Last updated:** [August 5, 2020, 3:40pm UTC](https://community.geodynamics.org/t/how-does-gmsh-adopt-pml-boundary-absorption/1381 "2020-08-05T15:40:25Z")

</div>

Hi there , I am trying to use GMSH for partition, here,I did it this way，python LibGmsh2Specfem\_convert\_Gmsh\_to\_Specfem2D\_official.py test.msh -t F -l A -b A -r A but the boundary reflection is a bit obvious, I see th…

---

## [Error face midpoint problem](https://community.geodynamics.org/t/error-face-midpoint-problem/300)

<div class="topic-metadata">

**Author:** [@ljhwang](https://community.geodynamics.org/u/ljhwang)\
**Replies:** 6\
**Last updated:** [June 29, 2020, 9:17am UTC](https://community.geodynamics.org/t/error-face-midpoint-problem/300 "2020-06-29T09:17:49Z")

</div>

Dear all, I’m trying to run a model with topology and CPML in SPECFEM3D\_Cartesian.But some problems came to me when I was run database generation. The error is as follow: error element face midpoint distance : 6.640625…

---

## [SPECFEM MPI Installation](https://community.geodynamics.org/t/specfem-mpi-installation/1287)

<div class="topic-metadata">

**Author:** [@djherm](https://community.geodynamics.org/u/djherm)\
**Replies:** 4\
**Last updated:** [June 18, 2020, 11:11pm UTC](https://community.geodynamics.org/t/specfem-mpi-installation/1287 "2020-06-18T23:11:09Z")

</div>

Hello, Apologies for the back to back posts, but it recently became apparent that I needed to install SPECFEM3D on another machine than what I am currently using. The new machine does not appear to have mpirun, however …

---

## [Specfem2d: S-wave pattern of explosion source (Dirac source time function)?](https://community.geodynamics.org/t/specfem2d-s-wave-pattern-of-explosion-source-dirac-source-time-function/1285)

<div class="topic-metadata">

**Author:** [@aroh](https://community.geodynamics.org/u/aroh)\
**Replies:** 3\
**Last updated:** [June 10, 2020, 5:35pm UTC](https://community.geodynamics.org/t/specfem2d-s-wave-pattern-of-explosion-source-dirac-source-time-function/1285 "2020-06-10T17:35:07Z")

</div>

Dear all, I found an interesting phenomenon while modelling an explosion source (m\_xx=m\_zz=1, m\_xz=0) with Specfem2D with a Dirac source-time function. With a filter of 0.3-3Hz amplitudes appear in the seismogram after…

---

## [Setting the Timestep / DT for new models in SPECFEM3D\_GLOBE](https://community.geodynamics.org/t/setting-the-timestep-dt-for-new-models-in-specfem3d-globe/1277)

<div class="topic-metadata">

**Author:** [@djherm](https://community.geodynamics.org/u/djherm)\
**Replies:** 4\
**Last updated:** [June 10, 2020, 3:43pm UTC](https://community.geodynamics.org/t/setting-the-timestep-dt-for-new-models-in-specfem3d-globe/1277 "2020-06-10T15:43:54Z")

</div>

Hello, I received some great assistance last time I posted in the forum, so I would like to try again. I am working on setting up SPECFEM3D\_Globe to run with different models, so I am currently working on the /get\_time…

---

## [Running SPECFEM2D on multiple processors](https://community.geodynamics.org/t/running-specfem2d-on-multiple-processors/848)

<div class="topic-metadata">

**Author:** [@pasansherath](https://community.geodynamics.org/u/pasansherath)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 1:02am UTC](https://community.geodynamics.org/t/running-specfem2d-on-multiple-processors/848 "2020-04-29T01:02:02Z")

</div>

Hi all, I have been trying to run SPECFEM2D on multiple processors. I changed the NPROC parameter in the Par\_file to 16. But the xspecfem2D run crashes with the following error. Can someone help me with this? applicati…

---

## [Using tomography in SPECFEM2D](https://community.geodynamics.org/t/using-tomography-in-specfem2d/1228)

<div class="topic-metadata">

**Author:** [@pasansherath](https://community.geodynamics.org/u/pasansherath)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 12:46am UTC](https://community.geodynamics.org/t/using-tomography-in-specfem2d/1228 "2020-04-29T00:46:10Z")

</div>

Hi there, I am trying to use a tomography model to define the velocities and densities in my model for SPECFEM2D. I have been referring to both SPECFEM2D and SPECFEM3D manuals on how to do this, and I am getting a diffe…

---

## [Issue with External Source Time Functions](https://community.geodynamics.org/t/issue-with-external-source-time-functions/1200)

<div class="topic-metadata">

**Author:** [@istoneuw](https://community.geodynamics.org/u/istoneuw)\
**Replies:** 0\
**Last updated:** [April 9, 2020, 5:03pm UTC](https://community.geodynamics.org/t/issue-with-external-source-time-functions/1200 "2020-04-09T17:03:18Z")

</div>

Hello All, I am having some trouble with an external source time function and I was hoping someone could help me trouble-shoot. I am running a finite fault simulation where I simulate a M7 earthquake on a planar fault …

---

## [How to estimate the maximum frequency my model could resolved properly?](https://community.geodynamics.org/t/how-to-estimate-the-maximum-frequency-my-model-could-resolved-properly/699)

<div class="topic-metadata">

**Author:** [@Van](https://community.geodynamics.org/u/Van)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 7:24am UTC](https://community.geodynamics.org/t/how-to-estimate-the-maximum-frequency-my-model-could-resolved-properly/699 "2020-04-08T07:24:51Z")

</div>

Dear all， Theoretically, the SEM used in SPECFEM3D require that the local element size should smaller than local minimum wavelength for a certain frequency. However, in the output\_solver, the minimum period resolved is …

---

## [Specfem\_Globe & Fully Anisotropic Models](https://community.geodynamics.org/t/specfem-globe-fully-anisotropic-models/1156)

<div class="topic-metadata">

**Author:** [@francesco.rappisi](https://community.geodynamics.org/u/francesco.rappisi)\
**Replies:** 0\
**Last updated:** [March 19, 2020, 12:03pm UTC](https://community.geodynamics.org/t/specfem-globe-fully-anisotropic-models/1156 "2020-03-19T12:03:37Z")

</div>

Hello everybody, I’m relatively new to Specfem3D (both Cartesian and Globe). I’m trying to generate synthetics using a model that is fully anisotropic (21 constants). I know that the cartesian version has already been te…

---

## [SPECFEM3D - Geometrical Spreading (analytical vs. simulated)](https://community.geodynamics.org/t/specfem3d-geometrical-spreading-analytical-vs-simulated/1107)

<div class="topic-metadata">

**Author:** [@fabilim](https://community.geodynamics.org/u/fabilim)\
**Replies:** 0\
**Last updated:** [February 14, 2020, 11:03am UTC](https://community.geodynamics.org/t/specfem3d-geometrical-spreading-analytical-vs-simulated/1107 "2020-02-14T11:03:04Z")

</div>

Dear all, i am still struggling with wave damping along a profile. In case of a completely homogeneous body (attenuation off), surface waves should decay in amplitude with square root of the distance. But the simulated …

---

## [SPECFEM3D: Frequency dependend attenuation quality factors](https://community.geodynamics.org/t/specfem3d-frequency-dependend-attenuation-quality-factors/956)

<div class="topic-metadata">

**Author:** [@fabilim](https://community.geodynamics.org/u/fabilim)\
**Replies:** 0\
**Last updated:** [December 12, 2019, 1:35pm UTC](https://community.geodynamics.org/t/specfem3d-frequency-dependend-attenuation-quality-factors/956 "2019-12-12T13:35:53Z")

</div>

Dear community, can somebody shortly explain, how the attenuation=true in specfem3d is working? Is the attenuation frequency depended or constant and how can i give kind of a Q(f) function to make quality factors frequ…

---

## [SPECFEM3D - coffee cup example](https://community.geodynamics.org/t/specfem3d-coffee-cup-example/911)

<div class="topic-metadata">

**Author:** [@lbrotherson](https://community.geodynamics.org/u/lbrotherson)\
**Replies:** 0\
**Last updated:** [November 19, 2019, 12:26pm UTC](https://community.geodynamics.org/t/specfem3d-coffee-cup-example/911 "2019-11-19T12:26:47Z")

</div>

Hi, I’m attempting to run the coffee cup with acoustic fluid example provided in SPECFEM3D’s github (https://github.com/geodynamics/specfem3d/tree/master/EXAMPLES/coffee\_mug\_with\_fluid\_inside/coffee\_cup\_with\_handle\_CUBI…

---

## [Specfem3d with different value of GLL](https://community.geodynamics.org/t/specfem3d-with-different-value-of-gll/852)

<div class="topic-metadata">

**Author:** [@tatran](https://community.geodynamics.org/u/tatran)\
**Replies:** 0\
**Last updated:** [October 21, 2019, 9:15pm UTC](https://community.geodynamics.org/t/specfem3d-with-different-value-of-gll/852 "2019-10-21T21:15:14Z")

</div>

Hi, I am trying to use specfem3d with different value of GLL. In particular, I used GLL = 4. When I compiled, I got an error src/specfem3D/compute\_kernels.f90:695:54: duy\_dxil = duy\_dxil + dsem\_adj\_gll(2…

---

## [Shakingmap does not match the seismograms (PGA)](https://community.geodynamics.org/t/shakingmap-does-not-match-the-seismograms-pga/828)

<div class="topic-metadata">

**Author:** [@pokayoke](https://community.geodynamics.org/u/pokayoke)\
**Replies:** 0\
**Last updated:** [October 5, 2019, 1:51am UTC](https://community.geodynamics.org/t/shakingmap-does-not-match-the-seismograms-pga/828 "2019-10-05T01:51:56Z")

</div>

Hi everyone, Recently I found a strange problem with specfem3D’s output. I slice a profile across the shaking map to obtain the PGA PGV and PGD values, and compare with seismogram array’s result (I calculate PGA PGV P…

---

## [SpecFem2D: Geometrical attenuation?](https://community.geodynamics.org/t/specfem2d-geometrical-attenuation/789)

<div class="topic-metadata">

**Author:** [@fabilim](https://community.geodynamics.org/u/fabilim)\
**Replies:** 3\
**Last updated:** [September 30, 2019, 3:45pm UTC](https://community.geodynamics.org/t/specfem2d-geometrical-attenuation/789 "2019-09-30T15:45:22Z")

</div>

Dear all, i started to work with specfem2d and i would like to know, if geometrical attenuation is considered by default? I am simulating a Point source at the Surface and want to see the damping of the Rayleigh waves d…

---

## [How to make synthetics by specfem3D](https://community.geodynamics.org/t/how-to-make-synthetics-by-specfem3d/783)

<div class="topic-metadata">

**Author:** [@likelymax](https://community.geodynamics.org/u/likelymax)\
**Replies:** 0\
**Last updated:** [August 28, 2019, 12:40am UTC](https://community.geodynamics.org/t/how-to-make-synthetics-by-specfem3d/783 "2019-08-28T00:40:38Z")

</div>

Hi, I’m trying to use the Specfem3D code to do forward simulations, and I have some questions about getting the desired synthetics. We have been through the SpecFem3D Manual, but we are still not clear on some of the r…

---

## [Pressure source not firing in anisotropic layer when using multiple source\_type definitions](https://community.geodynamics.org/t/pressure-source-not-firing-in-anisotropic-layer-when-using-multiple-source-type-definitions/756)

<div class="topic-metadata">

**Author:** [@jami](https://community.geodynamics.org/u/jami)\
**Replies:** 0\
**Last updated:** [August 11, 2019, 11:08pm UTC](https://community.geodynamics.org/t/pressure-source-not-firing-in-anisotropic-layer-when-using-multiple-source-type-definitions/756 "2019-08-11T23:08:22Z")

</div>

Hello all, I have an anisotropic layer sandwiched between two fluid layers. I can fire 1 source from the elastic/anisotropic layer no problem with a pressure source (source\_type = 1). But if I have 3 pressure sources,…

---

## [Strange VTK file output, not readable in Paraview](https://community.geodynamics.org/t/strange-vtk-file-output-not-readable-in-paraview/740)

<div class="topic-metadata">

**Author:** [@nukenine](https://community.geodynamics.org/u/nukenine)\
**Replies:** 0\
**Last updated:** [July 26, 2019, 11:41am UTC](https://community.geodynamics.org/t/strange-vtk-file-output-not-readable-in-paraview/740 "2019-07-26T11:41:54Z")

</div>

Unsure if this is a Paraview issue or a specfem3d issue. I ran the example: check\_absolute\_amplitude\_of\_force\_source\_seismograms with 32 processors. Output in DATABASES\_MPI directory were 32 mesh VTK files. B…

---

## [External Source Time Functions](https://community.geodynamics.org/t/external-source-time-functions/635)

<div class="topic-metadata">

**Author:** [@istoneuw](https://community.geodynamics.org/u/istoneuw)\
**Replies:** 0\
**Last updated:** [May 17, 2019, 6:06pm UTC](https://community.geodynamics.org/t/external-source-time-functions/635 "2019-05-17T18:06:33Z")

</div>

Hello, I am interested in implementing an external source time function (STF) so I can model a Brune source pulse. I have a couple of questions about the format of the input STF: Is the input function supposed to be …

---

## [Attenuation in SpecFEM3D and SpecFEM2D](https://community.geodynamics.org/t/attenuation-in-specfem3d-and-specfem2d/615)

<div class="topic-metadata">

**Author:** [@mtrapp](https://community.geodynamics.org/u/mtrapp)\
**Replies:** 0\
**Last updated:** [May 8, 2019, 9:26am UTC](https://community.geodynamics.org/t/attenuation-in-specfem3d-and-specfem2d/615 "2019-05-08T09:26:28Z")

</div>

Dear all, I have a question regarding the differences in attenuation between the algorithms of SpecFEM3D and SpecFEM2D. If I apply attenuation on my model in SpecFEM2D, it changes wave velocities and time periods heavi…

---

## [Xcombine\_vol\_data opening error in specfem3d](https://community.geodynamics.org/t/xcombine-vol-data-opening-error-in-specfem3d/586)

<div class="topic-metadata">

**Author:** [@brioglade](https://community.geodynamics.org/u/brioglade)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 2:03am UTC](https://community.geodynamics.org/t/xcombine-vol-data-opening-error-in-specfem3d/586 "2019-04-24T02:03:18Z")

</div>

Using the execution xcombine\_vol\_data to combine the velocity\_z slices failed to an error: https://drive.google.com/file/d/108JiA9XyovUiDoNC6nVe0i-pxIMuMkU5/view what’s wrong with it?

---

## [Moment Tensor, Isotropic Source querry](https://community.geodynamics.org/t/moment-tensor-isotropic-source-querry/438)

<div class="topic-metadata">

**Author:** [@JAClarke](https://community.geodynamics.org/u/JAClarke)\
**Replies:** 4\
**Last updated:** [March 18, 2019, 10:29pm UTC](https://community.geodynamics.org/t/moment-tensor-isotropic-source-querry/438 "2019-03-18T22:29:20Z")

</div>

Hi, I am trying to run an elastic simulation using an isotropic point source using the source\_type = 2 option and (Mxx=1, Mzz=1, Mxz=0). The waveform snapshots show a polarity change above and below …

---

## [Adjoint simulation](https://community.geodynamics.org/t/adjoint-simulation/566)

<div class="topic-metadata">

**Author:** [@andri](https://community.geodynamics.org/u/andri)\
**Replies:** 0\
**Last updated:** [April 11, 2019, 2:04am UTC](https://community.geodynamics.org/t/adjoint-simulation/566 "2019-04-11T02:04:31Z")

</div>

Dear All, I am trying to perform adjoint simulation (simulation\_type=2) by following steps as described in section 7.1 of the documentation. I got problems since the results are very strange. The output\_solver file repo…

---

## [SPECFEM and underwater acoustics](https://community.geodynamics.org/t/specfem-and-underwater-acoustics/388)

<div class="topic-metadata">

**Author:** [@dfarrell](https://community.geodynamics.org/u/dfarrell)\
**Replies:** 1\
**Last updated:** [April 1, 2019, 8:43pm UTC](https://community.geodynamics.org/t/specfem-and-underwater-acoustics/388 "2019-04-01T20:43:51Z")

</div>

At one point work was being done to make SPECFEM usable for underwater acoustics problems. Is this still continuing? If so, is there any chance of a webinar on its use for this application?

---

## [\[RESOLVED\] Issue Decomposing Very Large Mesh](https://community.geodynamics.org/t/resolved-issue-decomposing-very-large-mesh/480)

<div class="topic-metadata">

**Author:** [@istoneuw](https://community.geodynamics.org/u/istoneuw)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 10:56pm UTC](https://community.geodynamics.org/t/resolved-issue-decomposing-very-large-mesh/480 "2019-03-19T22:56:11Z")

</div>

Hello, I am attempting to decompose a very large mesh (22M nodes) to run on 768 cores, but consistently receive a fortran segmentation fault. When run with "–debug-enabled” configured, I receive the message: “At line 1…

---

## [Signal 9 error during xpecfem run](https://community.geodynamics.org/t/signal-9-error-during-xpecfem-run/502)

<div class="topic-metadata">

**Author:** [@Katrina](https://community.geodynamics.org/u/Katrina)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 1:17pm UTC](https://community.geodynamics.org/t/signal-9-error-during-xpecfem-run/502 "2019-03-14T13:17:47Z")

</div>

Hi everyone! I keep getting this message when running xgenerate\_databases on 4 processors on my computer mica Mpirun noticed that process rank 1 with PID 0 on node mica exited on signal 9 (Killed) I have recalculate…

---

## [Multiple sources in same position](https://community.geodynamics.org/t/multiple-sources-in-same-position/442)

<div class="topic-metadata">

**Author:** [@Medusa](https://community.geodynamics.org/u/Medusa)\
**Replies:** 0\
**Last updated:** [February 15, 2019, 3:22pm UTC](https://community.geodynamics.org/t/multiple-sources-in-same-position/442 "2019-02-15T15:22:53Z")

</div>

Good day, I have a kinematic slip model which sets dozens on different point sources in same spatial position which also overlap in time. I got quite unrealistic results. I wonder if there might be a problem if I set su…

---

## [Some questions about Visualization using AVS format，animation always showed 5000 steps](https://community.geodynamics.org/t/some-questions-about-visualization-using-avs-format-animation-always-showed-5000-steps/308)

<div class="topic-metadata">

**Author:** [@ljhwang](https://community.geodynamics.org/u/ljhwang)\
**Replies:** 3\
**Last updated:** [January 28, 2019, 1:19am UTC](https://community.geodynamics.org/t/some-questions-about-visualization-using-avs-format-animation-always-showed-5000-steps/308 "2019-01-28T01:19:04Z")

</div>

Dear developers， Hi,there！ Now I have got results，like 'moviedata\_xxx' , ‘surface\_from\_mesher.h’ and ‘valve\_from\_mesher’ etc in ‘./SPECFEM3D/OUTPUT\_file’ folder. I have made ‘xcreate\_movie\_shakemap\_AVS\_DX\_GMT…

---

## [Is there a CFD software like SPECFEM3D GLOBE](https://community.geodynamics.org/t/is-there-a-cfd-software-like-specfem3d-globe/377)

<div class="topic-metadata">

**Author:** [@Yosacig](https://community.geodynamics.org/u/Yosacig)\
**Replies:** 3\
**Last updated:** [January 23, 2019, 1:53pm UTC](https://community.geodynamics.org/t/is-there-a-cfd-software-like-specfem3d-globe/377 "2019-01-23T13:53:25Z")

</div>

Hi~ I am studying computational fluid dynamics (CFD) applications on my own in Taiwan. Recently, I am looking for a full-sphere model. I have searched the software list in the website(\[https://geodynamics.org\]), but n…

[Previous page](https://community.geodynamics.org/c/specfem/31.md)

[Next page](https://community.geodynamics.org/c/specfem/31.md?page=2)
