Articles | Volume 17, issue 3
https://doi.org/10.5194/se-17-513-2026
https://doi.org/10.5194/se-17-513-2026
Method article
 | 
19 Mar 2026
Method article |  | 19 Mar 2026

TCSEIS-1D: An Interactive 1D Code for temperature and composition modelling of the crust and mantle from seismological data

Mariano S. Arnaiz-Rodríguez and Javier Fullea
Abstract

We present TCSEIS-1D, a software to model the Earth's thermochemical and geophysical structure from the surface down to the core-mantle boundary (CMB). The code is designed to estimate geophysical parameters of the Earth's crust and mantle from petrological and thermal information within a thermodynamically consistent framework and to perform forward 1D coupled geophysical-petrological modelling of the structure of the Earth. Developed in Julia Language, the open-source code is intended to be an easy-to-use, flexible, and fast. TCSEIS-1D includes tools to exploit the large repertoire of 1D seismological data available, namely: surface wave dispersion curves (of fundamental and higher modes of Rayleigh and Love waves) and receiver functions (of P, S, and SKS waves). Surface heat flow and isostatic topography can also be modelled. Four simple examples that illustrate the capabilities of the code are presented to show the sensitivity of Rayleigh wave phase velocity curves and P-to-S receiver functions to compositional and temperature variations.

Share
1 Introduction

The interpretation of geophysical data is a complex process that involves the quantitative treatment of measurements in order to retrieve information (presented as models or images) describing the Earth's inner structure (e.g., Aki et al., 1977; Dziewonski and Anderson, 1981; Telford et al., 1990; Grand, 2002; Rawlinson and Sambridge, 2003; Shapiro et al., 2005; Schaeffer and Lebedev, 2013; Fullea et al., 2021). The complexity and reliability of any geophysical model depend extensively on the nature (and quality) of the data selected for its characterization (e.g., Mosegaard and Tarantola, 1995; Bosch, 1999). For example, single-station P-to-S receiver functions analysis can be used to infer the depth of the Moho discontinuity and the average Vp/Vs relationship for all the crust (e.g., Zhu and Kanamori, 2000; Niu and James, 2002), while surface wave dispersion measurements are suitable to image the shear-wave velocity structure of a region via inversion (e.g., Brune and Dorman, 1963; Yanovskaya et al., 1998; Priestley and McKenzie, 2006; Lebedev et al., 2009). Each one of these examples is largely limited by the sensitivity, resolution, and noise inherent to every individual data type. Receiver functions are sensitive to the depth of sharp acoustic interfaces (but can only resolve velocity contrast and not absolute velocities), whereas surface waves are sensitive to shear wave velocity gradients (with comparatively smaller sensitivity to interfaces, e.g., Julià et al., 2000). In order to overcome their individual limitations, both receiver functions and surface waves can be jointly inverted or modeled to study the lithospheric structure under a single seismological station (e.g., Julià et al., 2000; Tkalčić et al., 2015; Calò et al., 2016; Levin et al., 2023).

The integration of different data sets generally requires relationships between all the quantitative variables (physical properties) involved in the various forward problems. On the one hand, some of them can be relatively easily connected, like crustal compressional wave velocity (Vp) and density (ρ), for which several empirical formulas exist based on extensive databases (e.g., Ludwig et al., 1970; Christensen and Mooney, 1995; Godfrey et al., 1997; Brocher, 2005). On the other hand, other parameters like attenuation (Qp, Qs) or the relationship between shear wave velocity (Vs) and density (ρ) are comparatively more difficult to correlate. Although it is tempting to assume that all properties can be correlated by simple equations (e.g. a simple polynomial formulation cf. Bosch, 1999) or that some may be discarded (e.g., the assumption of elastic wave propagation), the reality is that it is more accurate to describe them with a probability density function within an integrated framework.

One effective approach to overcoming this issue is to estimate the required parameters directly from the petrological composition and the in-situ temperature and pressure conditions. For instance, density (ρ) and wave speeds (Vp and Vs) can be estimated from the rock's composition (𝒞), temperature (𝒯) and pressure (𝒫). Furthermore, as porosity and fluids can have a strong effect on these values at upper crustal levels corrections must be applied (e.g., Athy, 1930). Therefore, instead of trying to “guess” what an appropriate value for one master property would be, and then compute all others in relation to it (e.g., Jacobsen and Svenningsen, 2008; Arnaiz-Rodríguez et al., 2021), it is more advantageous and consistent to estimate all parameters directly from the Temperature-Pressure-Rock Composition triad (𝒯𝒫𝒞). In this way, we turn the “plural geophysical data” problem into the “lithology estimation” one, as named by Bosch (1999). The integrated geophysical-petrological strategy, as shown by many previous works (e.g., Afonso et al., 2008; Fullea et al., 2009; Khan et al., 2009; Munch et al., 2018; Bissig et al., 2021; Munch et al., 2021; Fullea et al., 2021), yields thermochemical results more straightforwardly interpreted into geological terms than classical – purely geophysical – approaches. Here, we present TCSEIS-1D (Temperature and Composition SEIsmological-1D), a simple forward code to model the thermal and compositional structure of the crust and mantle down to the core-mantle boundary (CMB) primarily from seismological data, i.e., Rayleigh and Love dispersion curves (group and phase velocity curves) and several types of elastic and isotropic receiver functions (the standard P-to-S as well as S-to-P and SKS-to-P). Available codes implementing an integrated geophysical-petrological modelling approach (either forward modelling or inversion) are mostly restricted to the lithosphere/upper mantle and do not include a lithological parametrization of the crust (e.g., Afonso et al., 2008, 2013a, b; Fullea et al., 2009, 2021).

TCSEIS-1D is implemented in Julia Language (Bezanson et al., 2017) for diverse reasons: it is widely used in the scientific community, flexible, open source, efficient, and has cross-platform compatibility, among others. Although Julia is still considered the “new” scientific language, it is actively used in geodesy, geostatistics, and seismology (e.g., Jones et al., 2020; Xu et al., 2008; Zhu et al., 2022), and it is rapidly spreading across different disciplines (e.g., Dinari et al., 2019; Gao et al., 2020). Among its most notable features are: (i) fast execution time (generally approaching C or Fortran-like performance); (ii) dynamic typing, debugging, and syntax correction (much like Matlab or Python); (iii) interoperability (it makes it easy to integrate codes from C, Python, Fortran, R, Matlab, etc.); (iv) geared toward scientific computing; multiple dispatch (multiple methods in the same function for different input arguments); (v) powerful parallel computing and GPU capabilities.

TCSEIS-1D can be employed to: (a) test geophysical models in the 𝒯𝒫𝒞 model space; (b) estimate a possible solution to the composition and thermal structure of the Earth's main layers (limited by the resolution, quality, and sensitivity of the input data), (c) link velocities and density variations to 𝒯𝒫𝒞 variations. After introducing the equations and assumptions that drive TCSEIS-1D's engine, the general framework of the code is presented, as well as the validation (against other codes) of the different sections that make up the software package. Finally, a few examples are presented to showcase the functionality and applicability of TCSEIS-1D with a suggestion of additional work for future versions. A general flowchart of the current version of TCSEIS-1D is provided in Fig. 1.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f01

Figure 1Schematic workflow of the TCSEIS-1D algorithm. User-defined inputs include layer composition, thickness of compositional boundaries, temperature at the surface, LAB and CMB, surface-wave periods and number of modes, receiver-function source depth and epicentral distance, and radial anisotropy. The code iteratively solves the heat equation to obtain the temperature profile, from which pressure and density are computed and used to redistribute mantle composition until convergence is achieved. Thermodynamic properties are then used to calculate seismic velocities (Vp, Vs), density (ρ), and attenuation (Qs). The final 1-D model is used to compute surface-wave dispersion curves and receiver functions, followed by visualization and output of all model results.

Download

2 Methods and Considerations

Mechanical properties of rocks, specifically compressional wave-speed (Vp), shear wave-speed (Vs), and density (ρ), vary in a wide range. Even though there are some clear trends in their behaviour (e.g., sedimentary rocks tend to have lower density than igneous rocks; or mafic rocks have higher Vp than felsic rocks; e.g. Telford et al., 1990; Brocher, 2005), a large degree of overlap exists. For example, a crustal rock with Vp=6.05km s−1 can represent a very old and consolidated carbonatic rock (i.e., a dolomite) or a felsic rock rich in quartz (i.e., a greisen). The consideration of metamorphic rocks affected by, for example, metastability (i.e., departure from thermodynamic equilibrium) makes this statement even more complex, as these rocks tend to show properties different from those associated with their protoliths (e.g., Telford et al., 1990).

Seismic velocities and density of Earth's rocks depend on several parameters, namely: temperature, pressure, mineral composition, melt fraction, fluids, and, in the case of crustal rocks, porosity and pore fluids (e.g., Christensen and Mooney, 1995; Brocher, 2005). This complex mixture yields the perfect recipe for the overlap of geophysical parameter values for different rock types and geological settings as usually reported (e.g., Telford et al., 1990; Brocher, 2005). For our purpose of modeling geophysical data using petrological and thermal parameters, it is cardinal to reduce the number of free variables while keeping, at the same time, a flexible enough parameterization to represent the Earth's complexity. In this study, for the crust, we chose several ternary diagrams to classify igneous and sedimentary rocks based on mineralogical composition (Streckeisen, 1974; Le Bas and Streckeisen, 1991; Philpotts and Jay, 2009; Bissell et al., 2021). By contrast, in the mantle, we adopt two major oxides (Al2O3 and FeO) as independent variables and compute the other CFMAS oxides (CaO, FeO, MgO, Al2O3, and SiO2) from statistical correlations based on global mantle xenoliths and peridotite massifs databases (e.g., Afonso et al., 2013a, b; Fullea et al., 2021).

2.1 The geotherm

In general, temperature increases with depth (z) within the Earth. Heat transport inside the Earth is mainly a 3D problem in which the mantle is in convection at a high Rayleigh number (Ra>107; e.g., Ricard, 1993), bringing heat from the Core-Mantle Boundary, where the D” layer acts as the lower hot thermal boundary of the convection, up to the base of the thermal lithosphere, the Lithosphere-Asthenosphere Boundary (LAB). The LAB (usually defined by the 1250–1330 °C isotherm; e.g., Grose and Afonso, 2019; Ball et al., 2021; Audhkhasi and Singh, 2022) represents the base of the portion of the upper mantle where viscosity is high enough (>1023Pa s, e.g., Nakada, 1994) to prevent mantle convection, leaving conduction as the dominant heat transport process (e.g., Turcotte et al., 2007). The lithospheric geotherm controls the surface heat flow, which is an output of TCSEIS-1D.

Here we are interested in a parametrization that reflects the temperature domain division between the lithosphere and the sublithospheric (upper and lower) mantle, ensuring energy budget consistency across the two domains and being flexible enough to model transient and steady-state thermal situations. The geotherm in TCSEIS-1D follows a 1D thermal parametrization, where the temperature varies only with depth (z):

(1) ρ ( z ) C p ( z ) D T d t = z k ( z , T ) T z + H r ( z )

where ρ(z) is the density, Cp(z) is the heat capacity, k(z,T) is the thermal conductivity, and Hr(z) is the radiogenic heat production as a functions of depth (e.g., Gerya, 2007).

We solve Eq. (1) on an equispaced 1 km vertical grid using the Finite Differences technique with the following initial and boundary conditions:

  • The temperature at the surface of the Earth is constant (and defined by the user).

  • The temperature at the CMB is constant (and defined by the user).

  • The LAB depth and temperature (e.g., 200 km and 1573 K) are defined by the user and are set as an inner boundary condition to the solution of Eq. (1). This point is fixed in the solution (unless a collocated thermal anomaly is input by the user) and, therefore, it divides the temperature field into two domains: from the surface to the LAB (conductive geotherm, typically 5–25 K km−1), and from the LAB to the CMB (convective geotherm, typically 0.25–0.6 K km−1).

  • The asthenospheric (or sublithospheric mantle, depth > LAB depth), the transitional mantle (or transition zone, i.e., from 410 to 660 km depth), and the lower mantle (depth >660 km) geotherms are defined by two initial temperature gradients provided by the user (by default, 0.45 K km−1 in the asthenosphere and transition zone, and 0.25 K km−1 in the lower mantle). Therefore, below the lithosphere, a pseudo-convective geotherm is calculated by solving Eq. (1) for the initial conditions from the thermal gradients. In this way, we parametrize a continuous temperature gradient in the thermal buffer immediately below the lithosphere where both conduction and convective processes are expected.

  • The time variable in Eq. (1) is, in general, taken large enough to reach thermal steady-state conditions. Transient thermal scenarios in the lithosphere can be modeled by adding the appropriate time input.

  • Vertical variations in radiogenic heat production, thermal conductivity, and heat capacity are considered in the temperature modeling within TCSEIS-1D. The thermal conductivity of mantle rocks is computed according to the equation and parameters proposed by Hofmeister (1999) as a function of temperature, pressure, and predominant mineral type. In this work, we assume one representative mineral chosen from the pyrolite compositional model (e.g., Ringwood, 1982; Irifune and Isshiki, 1998; Irifune et al., 2010; Hirose, 2006) for each mantle section in order to compute thermal conductivity: olivine (lithosphere and asthenosphere), ringwoodite (upper transition zone, from ∼410 to ∼550 km), wadsleyite (lower transition zone, from ∼550 to ∼660 km), and bridgmanite (lower mantle; e.g., Hamblin and Christiansen, 2004; Lin et al., 2016). The code also offers the possibility of adding thermal anomalies with respect to the conductive (lithosphere) and pseudo-convective geotherm (asthenosphere, transition zone, and lower mantle) computed as described above by setting a depth range and a temperature anomaly.

Equation (1) can model the geotherm in a variety of tectonic and geodynamic settings, for example: (a) continental and mature oceanic lithosphere in thermal steady state; (b) Mid-Oceanic Ridges and young oceanic lithosphere in transient thermal state; and (c) close to the adiabatic geothermal gradient below the lithosphere with the typical steep increase in temperature observed in the vicinity of the CMB.

Note that we do not intend to solve a full geodynamic problem in the sublithospheric mantle (i.e., incorporating mantle flow and dynamic topography); instead, we aim for a flexible 1D parameterization able to describe variations in the geothermal gradient or temperature anomalies with respect to the reference geothermal gradients (e.g., plumes or slabs; see Sect. 4.2 for an example) as imaged by seismic data.

2.2 Compositional model space

To simplify the existing plethora of mineral aggregates (rocks), we have split the model compositional space (𝒞) into three major categories: sedimentary rocks, igneous rocks, and mantle rocks. Out of these, only igneous rocks are further separated into three compositional subcategories: felsic, mafic, and ultramafic rocks (after standard geologic classification, e.g., Streckeisen, 1974). In this section, we describe how each rock type is parametrized and how the relevant geophysical parameters are computed from the 𝒯𝒫𝒞 triad. Metamorphic rocks have been left out of our model parametrization as their mineralogy tends to be complex, as well as some physical features that require complex numerical representation (e.g., distinctive and pronounced planes of weakness). Furthermore, their classification is usually based on texture and not composition, which makes it difficult to relate to our proposed parametrization. Therefore, we favor the use of their protoliths, which are much simpler to describe in terms of their mineral composition and properties. For example, a marble, composed of recrystallized carbonatic minerals, can be represented as a 0 % porosity carbonate. This is a novel scheme as no rigorous thermochemical/lithological parametrization has been presented in previous tools designed for integrated modelling of the lithosphere (e.g., Afonso et al., 2008, 2013a, b; Fullea et al., 2009, 2021).

2.2.1 Sedimentary Rocks

In TCSEIS-1D the sedimentary compositional space (𝒞) is discretized following the simplest ternary diagram provided by Bissell et al. (2021). Based on it, each corner of the ternary diagram stands for:

  • α-Quartz (Qz).

  • Carbonates: represented in our model by pure calcite (CaCO3) as it is much more common than dolomite (CaMg(CO3)2)

  • Clay Minerals ([Al,Fe]2O3): representing a mélange à parts égales (from here onwards, mape) of three commonly occurring clay minerals: Montmorillonite + Kaolinite + Illite.

We use the code MinVel (Hacker and Abers, 2004; Abers and Hacker, 2016; Sowers and Boyd, 2019), an extensive database of physical properties of minerals from laboratory measurements (Haker et al., 2004), to estimate Vp, Vs, and ρ for all the compositional space (𝒞), defined by the possible combinations of the minerals (3 values that add up to 100 %, e.g., 60 % quartz + 20 % carbonates + 20 % clays) every 10 %, for different temperatures (between 200 and 1000 K every 100 K) and pressures (between 0 and 0.6 GPa every 0.025 GPa). This sampling yields three multidimensional grids (one for each property) in which rock properties are stored for a range of 𝒯𝒫𝒞 values. These are linearly interpolated and saved into easy-to-call Julia functions. In this way, we can estimate Vp, Vs and ρ for a fully consolidated sedimentary unit from any given 𝒯𝒫𝒞 values (compositions are limited to triads consisting of multiples of 10 to guarantee numerical precision and computational speed). Figure 2 presents several examples of the geophysical properties in ternary diagrams. Notice that carbonatic rocks tend to show larger velocity and density values than other lithologies, regardless of temperature, pressure conditions, or porosity, and clays show the largest variations.

2.2.2 Crustal Igneous Rocks

For crustal igneous rocks, we use a similar approach to that presented for sedimentary rocks in the previous section, including the use of mape where required and linear interpolation. In this case, three compositional subspaces are considered, one for each igneous rock subcategory: felsic, mafic and ultramafic rocks (as defined by Streckeisen, 1974; Le Bas and Streckeisen, 1991; Philpotts and Jay, 2009). We treat each subcategory as follows:

  • Felsic rocks are defined in a ternary space outlined by the QAP diagram (quartz, K-feldspars, and plagioclase). We discard the standard QAFP classification (quartz, K-feldspars, feldspathoids, and plagioclase) in favor of a 3-mineral space as feldspathoids (F) resemble feldspars (K), and rocks with high concentrations of F are comparatively much less common. Hence, felsic rocks are defined by the ternary of: α-quartz or β-quartz (as we account for the reversible change at 573 °C, which drastically impacts the determination of Vp, Vs, and ρ; Abers and Hacker, 2016); K-feldspars (a mape of Orthoclase + Sanidine); and Plagioclase (a mape of High Albite + Low Albite + Anorthite).

  • Mafic rocks are considered aggregates of: anorthosite (mape of Anorthite + High Albite + Low Albite), clinopyroxene (mape of Diopside + Hedenbergite) and orthopyroxene (mape of Enstatite + Ferrosilite).

  • Ultramafic rocks are defined as a combination of olivine (mape of Forsterite + Fayalite), clinopyroxene (mape of Diopside + Hedenbergite) and orthopyroxene (mape of Enstatite + Ferrosilite).

As with sedimentary rocks, we sample each compositional space with MinVel (Hacker et al., 2004; Abers and Hacker, 2016; Sowers and Boyd, 2019) at variations in composition every 10 % for different crustal temperatures (between 0 and 1600 K every 100 K) and pressures (between 0 and 4 GPa every 0.05 GPa) and then save all results into Julia functions. In order to show the variations of the Vp, Vs, and ρ values in a ternary diagram, Fig. 2 presents several examples.

Typical igneous rocks have very low primary porosity (e.g., 0.05 %–0.90 % for granite and 0.6–1.3 for basalts, Wieczysty, 1982) when compared to sediments (e.g., a typical sandstone has a porosity ranging from 10 % to 40 %) and are usually found at high 𝒫 in the crust. Furthermore, even though crustal rocks are well known to have secondary porosity (e.g. high density faulting), there is no simple way to account for it in Vp, Vs or ρ. Therefore, we choose not to apply any porosity corrections for igneous rocks in TCSEIS-1D.

2.2.3 Porosity

Crustal rocks are not perfect aggregates of minerals, and their behavior is not completely elastic in some cases. Rocks (in our case igneous and sedimentary) are generally porous, including secondary porosity and fractures, and hence we correct their geophysical properties by the percentage of porosity (φ). Velocities (Vx) are corrected in accordance with Raymer's equations (Raymer et al., 1980), while density (ρ) is corrected following Athy's law (Athy, 1930):

(2)Vrock=(1-φ/100)2Vsolid+(φ/100)Vliquid(3)ρrock=(φ/100-1)ρsolid

Where Xrock refers to the corrected property, Xsolid to the property of the fully consolidated rock and Xliquid to the property of the fluid inside the porous space. The user must input Xliquid of the fluid inside the porous space, if not the corrections are applied by default as if the rocks were filled with air.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f02

Figure 2Examples of compressional wavespeed (Vp), shear waves peed (Vs) and density (ρ) variations for: (a) sedimentary, (b) igneous felsic, (c) igneous mafic, (d) igneous ultramafic and (e) mantle rocks as a function of temperature (T), pressure (P), composition and porosity (for sedimentary rocks). All color scales are similar for ease of comparison. In sedimentary rocks (a) carbonates have the higher Vp and ρ. For felsic rocks, with higher percentage of quartz, Vp and ρ becomes higher, while Vs becomes higher with the increase of plagioclase. Also, lower values of all three properties are associated with higher percentage of K-feldspars. For mafic rocks, all properties increase with the percentage of anorthosite and decrease with the percentage of clinopyroxene. Unlike felsic or mafic rocks, in ultramafics, each mineral dominates the decrease of a different property. On (e) the cross marks the average mantle composition.

Download

2.2.4 Mantle Rocks

Compared to the crust, the Earth's mantle petrology is less complex and can be adequately represented by the modal distribution of the main mineral phases (olivine, pyroxenes, and Al-bearing phases) under the consideration of thermodynamic equilibrium (T>500°C). In this work we determine stable mantle mineral assemblages using a Gibbs free energy minimization scheme (Connolly, 2005, 2009). Therefore, the mantle's physical properties relevant to our work (Vp, Vs and ρ) are computed on these assumptions based on the 𝒯𝒫𝒞 values. A standard characterization of mantle composition is based on the main major oxides in the CFMAS system (CaO–FeO–MgO–Al2O3SiO2; e.g. Irifune, 1990; Irifune and Tsuchiya, 2015). To simplify the parametrization of 𝒞, here we adopt the discretization of Fullea et al. (2021) where the wt % amounts Al2O3 and FeO oxides in the mantle layers are free variables, and CaO–MgO amounts are statistically correlated to Al2O3 based on global petrological databases as described in Afonso et al. (2013a). Similarly to Mg# (=MgO/[MgO+FeO]), Al2O3 has been shown to be a strong compositional indicator and, therefore, an overall proxy for mantle fertility. Mantle fertility refers to the relative enrichment of the mantle in basaltic, melt-producing components, such as basaltic components and thus to its potential to generate partial melting. In particular a fertile mantle should be rich in Al2O3, CaO, FeO, meaning more content of clinopyroxene and garnet while a depleted mantle has residue after melt extraction like harzburgitic and low Al2O3. In contrast, neither FeO nor SiO2 are correlated in general with either CaO or Al2O3 (Afonso et al., 2013a). For the petrological calculations we use Perple_X (Connolly, 2005, 2009) and for the lower mantle the databases by Xu et al. (2008) and Stixrude and Litgow-Bertelloni (2021). We sample the wide range of 𝒯 (from 100 to 4500 K) and 𝒫 (from 0 to 145 GPa) found in the mantle. As for the self-consistent thermodynamic database, in the upper mantle we use the Xu et al. (2008), whereas in the transition zone and lower mantle we consider Stixrude and Litgow-Bertelloni (2021). 𝒞 values are limited to the ranges of (1–11) wt % for Al2O3 and (1–20) wt % for FeO. This range of compositions should be more than enough to model almost every scenario in the entire mantle as values of Al2O3 are expected to range from 1.0 to 6.0 wt % and FeO is generally considered to be around 8.0 wt % (e.g., McDonough and Sun, 1995). In some special cases larger ranges might be needed, e.g., Large Low Shear Velocity Provinces in the lowermost mantle (e.g., Vilella et al., 2021). In Fig. 2 we show the relevant mantle properties for several 𝒯𝒫 conditions.

In TCSEIS-1D, there are four major mantle layers defined by their wt % amounts of Al2O3 and FeO:

  1. The lithospheric mantle extends from the Moho down to the Lithosphere-Asthenosphere Boundary, or LAB (an input depth and temperature are expected from the user as explained in Sect. 2.2). The thickness of this layer is user-defined and does not change unless thermal anomalies are incorporated into the model.

  2. The asthenospheric (or sublithospheric) mantle extends from the LAB down to a pressure of ∼14 GPa, representing the average value for the transition from olivine to wadsleyite mineral phases.

  3. The transition zone mantle extends from a pressure of ∼14 GPa to a value of ∼24 GPa. The later value is the average pressure for the transition from ringwoodite and majorite to perovskite and ferropericlase, the boundary between the upper and the lower mantle. Note that the transition zone includes an inner phase transition from wadsleyite to ringwoodite at around 520 km depth (Rigden et al., 1991; Tian et al., 2020).

  4. The lower mantle extends from a pressure of ∼24 GPa down to the CMB (a user input).

While the boundaries between the first two layers (i.e., LAB depth) and the bottom of the model (i.e., CMB) are input parameters, in the case of the top and bottom of the mantle transition zone, the depth depends on different mineral phase transitions that cannot be predicted beforehand without performing a thermodynamic calculation based on the actual 𝒯𝒫𝒞 conditions. Therefore, our approach here is to initially define those mantle layer boundaries based on standard reference pressure values (∼14 and ∼24 GPa), and subsequently relocate them automatically to the depth at which the relevant phase transitions occur. Therefore, from a compositional point of view, the depth of the base of layer 2 and 3 is effectively defined by a thermodynamic equilibrium calculation. In virtue of the thermodynamic parametrization, the velocity and density jumps related to phase transitions usually associated with the 410, 520, and 660 km discontinuities will arise in the model even if the composition is uniform across all four mantle layers. For example, all these discontinuities still appear in the model for a constant whole mantle composition (e.g., primitive mantle composition with 3.6 wt % Al2O3 and 8.0 wt % FeO from McDonough and Sun, 1995). Finally, the user can also specify anomalous regions (compositional anomalies) within any of the four compositional layers by setting a depth range and a chemical anomaly value (e.g., −0.5 wt % Al2O3 and +0.2 wt % FeO).

To account for anelasticity, we follow the strategy of Dannberg et al. (2017) and extrapolate the relationships for olivine at upper mantle conditions derived by Jackson and Faul (2010) to the whole mantle. Notice that this is clearly a simplification of the mineralogy at the mantle scale and thus its behavior in seismic attenuation terms, but Dannberg et al. (2017) proved that it yields a useful first-order approximation as the results are not very dissimilar to, for example, the values reported in the PREM model. Here we adopt the parametrization by Dannberg et al. (2017) as described in Appendix B.

Most of the attenuation parameters are different for each major mantle mineral phase. In TCSEIS-1D, we use different attenuation parameters for the most abundant mineral phases at each depth depending on their respective stability fields: the upper mantle (olivine), the upper and lower transition zones (wadsleyite and ringwoodite), and the lower mantle (perovskite). Grain size (d) has a large impact on the attenuation, as per our parametrization described in Appendix B. In the code, the user can choose between three grain size models with depth: (a) a constant value (d=10 mm), (b) the model by Schierjott et al. (2020), in which d increases with depth, and (c) the model by Dannberg et al. (2017), where d decreases with depth. In general terms, we find that the constant and Schierjott models fit best with the general trends of the global 1D models (Fig. 3).

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f03

Figure 3(a) Grain size variation with depth for the 3 models included in the code: Constant (a constant value of 10−2 m), Schierjott (the grain size variations estimated by Schierjott et al., 2020) and Dannberg (the grain size variations estimated by Dannberg et al., 2017). (b) Several 1D radial models of Qs for the whole mantle: SL8 (Anderson and Hart, 1978), QM1 (Widmer et al., 1991), QL6 (Durek and Ekstrom, 1996), QLM9 (Lawrence and Wysession, 2006), QOS08 (Oki and Shearer, 2008), PREM (Dziewonski and Anderson, 1981). (c) Qs computed from the Burguers model of linear viscoelasticity (Jackson and Faul, 2010). The Constant and Schierjott models produce the closest fit to the radial models.

Download

2.2.5 Melt

Accounting for melt in a 1D column requires the definition of consistent solidus and liquidus curves for the crust and the whole mantle. In the crust, we consider the equations in Gerya (2019) characterizing the solidus and liquidus temperatures for sediments and igneous rocks. In the mantle, water content and, to a lesser extent, composition control the solidus values reported in the literature (e.g., Schmidt and Poli, 1998; Hirschmann, 2000; Katz et al., 2003; Sarafian et al., 2016; Fu et al., 2018). In TCSEIS-1D, we allow the user to define the solidus curve for the upper mantle (i.e., from the Moho to a pressure of ∼10 GPa or depth of ∼300 km) from two sources:

  • The solidus presented by Andrault et al. (2018), which corresponds to a nominally dry mantle (between 1 and 90 wt ppm),

  • The second-degree polynomial by Katz et al. (2003), defined only up to 7 GPa, which corresponds to a nominally anhydrous mantle with 40–80 wt ppm of water.

From 10 to 30 GPa, we use the logarithmic anhydrous solidus curve by Herzberg et al. (2000), and from 30 to 120 GPa, the solidus curve by Fu et al. (2018) with ∼400 wt ppm water can be extrapolated to the CMB conditions, according to the authors.

For the mantle liquidus, we use (a) a fourth-degree polynomial fitted to the liquidus curve by Litasov and Ohtani (2002), valid from 0 GPa (surface) to ∼30 GPa (roughly 800 km depth), and (b) a second-degree polynomial fitting the liquidus curve by Fu et al. (2018) from 30 GPa to the CMB. With this parametrization, the solidus and liquidus curves have large jumps at the crust-mantle boundary and around 800 km, therefore we have chosen to smooth them with a rloess (Fig. 4).

The volumetric melt fraction (Melt) is usually defined, for a constant pressure, as a linearly varying temperature-dependent function (e.g., Gerya and Yuen, 2003b; Burg and Gerya, 2005; Gerya, 2019; Fullea et al., 2021):

(4)Melt=0%  from TTsolidus(5)Melt=(T-Tsolidus)(Tliquidus-Tsolidus)100from Tsolidus<T<Tliquidus(6)Melt=100%  at TTliquidus

where Tsolidus and Tliquidus are the wet solidus and dry liquidus temperatures defined by the curves described previously. Once Melt(z) has been computed for each model node, the associated seismic parameters (Vp, Vs, Qs) are corrected following the experimental study by Chantel et al. (2016):

(7)VP=0.07Melt2-0.5566Melt+7.9235(8)VS=0.065Melt2-0.5565Melt+4.4211(9)100/QS=2.4063ln(Melt)+5.9284

Mantle density is corrected (becoming the effective density, ρeff) by the equation postulated by Gerya (2019):

(10) ρ eff = ρ solid 1 - Melt + Melt ρ 0molten ρ 0solid

where ρ0solid and ρ0liquid are the standard densities of the solid and molten rock, respectively, and ρsolid is the density of the solid rock at the given 𝒯𝒫 conditions computed as described in Sects. 2.1 and 2.3. The values for ρ0solid and ρ0liquid are taken from the compilation of values by Gerya (2019) and could be changed by the user inside the code if required. Figure 4 shows the used curves.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f04

Figure 4Solidus and liquidus curves from the entire crust and mantle. Solidus by: Gerya (2019), Katz et al. (2003), Herzberg et al. (2000) and Fu et al. (2018). Liquidus by: Gerya (2019), Litasov and Ohtani (2002) and Fu et al. (2018). See text for details.

Download

2.3 Surface Wave Dispersion Forward Modeling

TCSEIS-1D computes surface wave dispersion curves in two ways: from a native function SWD.jl (developed as part of TCSEIS-1D) or by calling Mineos.jl, a Julia wrapper around the code Mineos developed to compute normal modes of the Earth (Master et al., 2011, https://geodynamics.org/cig, last access: 17 February 2026). In general terms, SWD.jl is faster than Mineos.jl, although the former gives an approximated solution in contrast to the exact solution from the latter. Both codes run on CPU and the computation time for a dispersion curve with 20 samples, for PREM model is in the order of 0.17 s for SWD.jl and 0.26 s for Mineos.jl on an Apple MacBook Air with 8 GB of RAM and M1 chip. Also, the approximations built in SWD.jl yield some high errors (>1 %) in cases of very strong attenuation (Qs<70) and high-order overtone calculation.

SWD.jl is mostly based on the formulation described by Haney and Tsai (2015, 2017, 2019). These authors utilize (for both Rayleigh and Love waves) a finite element approach based on the thin-layer method (Lysmer, 1970; Kausel, 2005). The scheme behind SWD.jl and the corrections necessary to approximate the results from Mineos.jl are detailed in Appendix A. To validate both approaches, in Fig. 5, we present a comparison between surface wave dispersion curves computed by SWD.jl (the main TCSEIS-1D dispersion engine), Mineos.jl (Masters et al., 2011) and the exact solution. Each code uses a different approach for the computation: SWD.jl uses a finite element solution, whereas Mineos uses the traditional normal-mode summation. Discrepancies in the results from all three codes are small in terms of phase velocity (dc<0.045 %) and group velocity (dU<0.2 %) and might arise from the difference in the computations and/or parameterization of the model for each code. For example, at T=50 s, considering the PREM velocity model as input, the fundamental mode Rayleigh wave phase velocity differences comparing the output of the three codes are <0.002 %. Notice that errors increase with time because of the spherical approximation. The user can always extract the standard seismic velocities and density geophysical model from the TCSEIS-1D output to perform customized seismic modeling a posteriori with other tools. We recommend using Mineos.jl for modeling data with long periods (T>70 s, shorter periods are properly represented by SWD.jl), higher overtones (overtones 1 and 2 are well computed by SWD.jl but higher overtones are not well represented by the FEM formulation), and for studying regions with strong attenuation (as SWD.jl uses an approximation to attenuation, see Appendix B for details). Note that the original Mineos code has a limitation of 300 velocity layers, making it only appropriate for T>30 s. On the other hand, SWD.jl is recommended for shorter periods (T<70 s; mainly crust and upper mantle studies) where complex models can be proposed or when computational time is relevant.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f05

Figure 5Comparison between surface wave dispersion curves computed by SWD.jl (red, the main TCSEIS-1D dispersion engine), Mineos (green, Masters et al., 2011) and the exact solution (blue circles marked as Nolet).

Download

2.4 Receiver Functions Forward Modeling

In order to give the user a basic handling of receiver function data during the modeling stages, we have incorporated a simple module (i.e., the computation is made without accounting for the effect of anisotropy or attenuation) to compute synthetic receiver functions from the input geophysical model. Receiver functions are computed using a transfer function between the stress and displacement known as the propagator matrix approach (Thomson, 1950; Haskell, 1953; Kennett, 1983). For all the receiver functions, P-to-S, S-to-P, and SKS-to-P, the sequence is similar. For each source (with a depth and epicentral distance taken from the IASP91 tables; Kennett et al., 1991), the synthetic radial and vertical components (R and Z) are computed for a given 1D model and then rotated into the direction of polarization of the incident P-wave (L) and its perpendicular (Q) in the R-Z plane (e.g., Vinnik, 1977; Kind et al., 1995). In general, we compute the surface response in the Fourier domain for a plane impingement waveform. The transmitted impulse is assumed to arrive at the surface at t=0 s. Then, we calculate the time domain displacements at the surface for each direction. The computation includes all multiples, transformations, and reflections produced by an arbitrary structure with homogeneous layers (Svenningsen and Jacobsen, 2007). Finally, the Z (or L) component records are deconvolved from the R (or Q) components, and a Gaussian low-pass filter is applied to the resulting seismogram. For the S wave incidence, the resultant seismograms are subject to time and sign reversals, following the convention for S receiver functions (e.g., Yuan et al., 2006). This process is repeated n times (as many RFs are input by the user) for a list of events (epicentral distances and depths). The resulting n receiver functions are stacked via move-out correction considering the IASP91 model and a reference velocity of 6.4 km s−1 (e.g., Rondenay, 2009). The final stacked receiver functions are compared with the observed waveforms to measure misfits. Figure 6 shows a comparison between the results of the RF computations in TCSEIS-1D and those from other codes in order to validate the results.

For these comparisons (and by default in the code), RF are normalized, as amplitude values may vary with instruments and processing. No other corrections are applied to the final stack, and the post-processing (if required) is left to the end user. Furthermore, attenuation and anisotropy effects are not accounted for, the code automatically outputs a geophysical model (z, Vp, Vs, ρ, Qs, χ) that can be used for forward computation and individual RF for post-processing using other modelling tools. It is important to keep in mind that real RF are highly dependent on the quality of the data and the steps used by the interpreter. In general, there are several ways to approach the deconvolution of the horizontal and vertical components of the seismogram that may differ from the scheme presented here (e.g., Pesce, 2010). Here, we use the now-classic implementation of the frequency-domain water-level algorithm (e.g., Langston, 1979; Rondenay, 2009). Hence, when modeling real RF with TCSEIS-1D, care must be taken to consider the aforementioned points for consistency, especially regarding anisotropy and attenuation.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f06

Figure 6Comparison between the synthetic Receiver Functions (RF) computed by the code and those computed with other codes. (a) P-to-S RF, (b) S-to-P RF and (c) SKS-to-P RF. RF in red correspond to our code, those in black were computed with the Matlab codes by Bo Holm Jacobsen (2008; Svenningsen and Jacobsen, 2007), and in green those computed in IRFFM2 V1.2 (Tkalčić et al., 2015, only P-to-S available). Differences are small (error <0.1 %). For this example, the Gaussian parameter a=2.5 (roughly between 0.4 and 1 Hz).

Download

3 Testing TCSEIS-1D: Sensitivity analysis

To illustrate the capabilities of TCSEIS-1D, we present three simple examples that demonstrate the sensitivity of Rayleigh wave phase velocity curves and P-to-S receiver functions to compositional and temperature variations with respect to a reference model (Figs. 7–10). The reference model in our examples is characterized by:

  • i.

    A 40 km-thick crust with a 2 km shale sedimentary layer (Qz(%)=30, Carbo(%)=10, Clays(%)=60, Porosity(%)=5), a 20 km thick monzodioritic (felsic) upper crust (Qz(%)=10, K-feldspar(%)=90, Plagioclase(%)=0), and a 20 km thick orthopyroxene-gabbroic (mafic) lower crust (Anorthosite(%)=20, Clinopyroxene(%)=60, Orthopyroxene(%)=20).

  • ii.

    A 200 km-thick lithosphere with a LAB temperature of 1300 °C.

  • iii.

    A uniform whole mantle composition: Al2O3=3.6 wt % and FeO=8.0 wt % (e.g., McDonough and Sun, 1995) with constant grain size (10 mm).

  • iv.

    Isotropic model (i.e., no radial anisotropy)

3.1 Example 1: Average Mantle Composition

In this first example (Fig. 7), we change the composition of the entire mantle. The values for the two independent oxides in our parametrization (Al2O3=3.6 wt % and FeO=8.0 wt %) correspond to the primitive mantle composition from McDonough and Sun (1995). Here, we explore the effect of changing the value of Al2O3 to 2.0 wt % and to 5.0 wt % (for a constant value of FeO wt %). Then, the effect of changing the values of FeO to 6.0 % and 10.0 % (for a constant value of Al2O3 wt %). From this simple test, we can draw a few important conclusions:

  • The amount of Al2O3 dominates the velocity gradients in the upper mantle, with velocity variations being proportional to Al2O3 content. However, Al2O3 has a limited effect on the lower mantle.

  • The amount of FeO dictates the velocity gradients in the lower mantle while having a minor effect in the upper mantle. In general terms, velocity gradients are inversely proportional to the wt % of FeO in the lower mantle. Interestingly FeO has a dramatic effect on the gradient at the top of the D” layer, changing its depth by ∼100 km within our test.

  • The sharpness and depth of the transition zone boundaries is controlled by mantle composition. Both Al2O3 and FeO appear to have a dramatic effect on the 410 km discontinuity (olivine→wadsleyite) sharpness. By contrast, the 560 km discontinuity (wadsleyite→ringwoodite) and the 660 km discontinuity (ringwoodite + majorite  perovskite + ferropericlase) are mostly affected by FeO and Al2O3 respectively.

We note that within the chemical parametrization in TCSEIS-1D, the amount of CaO and MgO oxides is dependent on the amount of Al2O3 based on statistical correlations from global petrological databases (Afonso et al., 2013a). By contrast, the amount of FeO is an independent variable.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f07

Figure 7Example 1. Comparison between the results of a constant composition mantle in TCSEIS-1D (solid lines) and the PREM model (dashed). Here we have tested several compositions to show how large Vp, Vs and ρ anomalies can arise from extreme values of Al2O3 and FeO. Top panels show the comparison in absolute Vp, Vs and ρ values, while the bottom panel shows anomalies with respect to PREM. In the bottom panel, crustal anomalies have been deleted from the presentation as they are too large since PREM has a poorly estimated crust.

Download

3.2 Example 2: Cold horizontally stagnating slab

In the second example (Fig. 8), we implement a thermal and compositional anomaly with respect to the reference model representing a 1D section of a cold horizontally stagnating slab (a subducted slab that changes direction in the transition mantle; e.g., Fukao et al., 2009). The anomaly is defined from 300 to 500 km depth (Fig. 14) and is characterized by: (a) a −600 K thermal anomaly with respect to the ambient mantle; and (b) a chemical anomaly of Al2O3=-0.25 wt % with respect to our reference model. The mantle in the “slab” region shows higher values for velocities, density, and Qs than the reference model. These positive anomalies are easily recognized in the Rayleigh wave dispersion curves: for the long periods in the fundamental mode and, in general, for the higher dispersion modes, the phase velocity anomalies are >+3 %. The P-to-S receiver function is only modified for periods >20 s (arrival of late phases) due to the upward shift of the 410 km discontinuity caused by the “slab” anomaly.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f08

Figure 8Example 2 showing the effect of a cold slab-like feature plunging into the transition zone. On the top: the left panel show the Vp, Vs and ρ profiles with depth (solid lines are the computed parameters and dashed ones are the PREM values), in the center we shows the temperature profile with (T) and without (Ref T), and on the right the attenuation profile with (Qs) and without the slab (Qs Ref). On the center of the figure we present: on the left the dispersion curves of the model with (solid lines) and without (circles) the slab for the fundamental mode (blue) and the 1st (orange) and second (green) overtones. Anomalies between both are presented in the right panel. At the bottom P-to-S RF with (black) and without (blue) are shown. Notice that, except for the first panel, Ref is the reference model without anomalies (see text for details).

Download

3.3 Example 3: Hot ponding plume head

In the third example (Fig. 9), we implement a thermal and compositional anomaly with respect to the reference model representing a 1D section of a hot horizontally flowing or ponding plume head (wide horizontal zones that extend from the vertical plume-conduct at discontinuities; e.g., Dongmo Wamba et al., 2023). The “plume” is the anomaly, which is defined from 600 to 900 km depth (Fig. 15) and is characterized by: (a) a +600 K thermal anomaly with respect to the ambient mantle; and (b) a chemical anomaly of Al2O3=+0.25 wt % and FeO=+0.5 wt %. The “plume” anomaly shows lower values for the velocities, density, and Qs than the reference model. In this case, the anomalous region is divided into two sections: the upper part (600–700 km depth) with extremely low anomalies (caused by melting atop the plume), and the lower part (depth >700 km) where the decrease in the physical parameters is less pronounced. The temperature and composition anomalies strongly affect synthetic Rayleigh wave dispersion curves. For the long periods in the fundamental mode, and in general for the higher dispersion modes, the phase velocity anomalies are <-5 %. The P-to-S receiver function is modified for periods >40 s as all the lower part of the transition zone is affected by the anomaly, which also generates sharp impedance contrasts. It is worth noting that the effect of the anomaly in this example is so significant that the crustal phases recorded in the receiver functions are slightly affected as well.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f09

Figure 9Example 3 showing the effect of a hot plume-like feature entering the transition zone from below. Panels are in the same configuration as in Fig. 8, but in this case we add the melt curve to the top right plot.

Download

3.4 Example 4: Thin Lithosphere

In the final example, we leave most parameters from the reference model constant and change the base of the lithosphere from 200 km in the reference model to 60 km (Fig. 16). This change has a drastic effect on the model as two melt regions appear, one near the LAB and the other at the base of the crust, causing two low-velocity, density, and Qs regions at 35 and 70 km depth, respectively. The effect of the lithospheric thinning is strong in the predicted surface wave dispersion curves, in particular for the fundamental mode, where large negative anomalies are apparent, and less so for the overtones. The waveform of the P-to-S receiver function drastically changes due to the negative-impedance present within the crust and upper mantle in our example model. The effect is much less dramatic but still present if the melt modeling option is turned off.

https://se.copernicus.org/articles/17/513/2026/se-17-513-2026-f10

Figure 10Example 4 showing the effect of a thin lithosphere under an average continental crust. Panels are the same as in Fig. 8. Here we show two outputs: with melt (MELT, same as in previous examples) and without melt (NO MELT, dotted lines).

Download

4 Remarks, conclusions and further work

Receiver functions and surface wave dispersion data analysis has led to remarkable results revealing the Earth's internal structure in terms of compressional and shear waves velocity anomalies (δVp, δVs). Yet, the interpretation of these anomalies in terms of crustal and mantle composition is a challenging modeling task. The usage of these data under geophysical-petrological schemes has proven to yield important results in terms of the thermal and petrological structure of the Earth's mantle (e.g. Munch et al., 2018, 2021; Bissig et al., 2021; Afonso et al., 2022; Fullea et al., 2021; Lebedev et al., 2024). Yet, the usage of this type of method is not common.

In order to build a bridge to go from classical seismological approaches to the thermal-petrological realm, we present TCSEIS-1D, a new, open-source, cross-platform, easy-to-use, and accurate code to model the crust and whole mantle using surface wave dispersion curves (including group and phase velocity of Rayleigh and Love waves for the fundamental mode, as well as several overtones) and three widely used receiver functions (P-to-S, S-to-P, and SKS-to-P) directly in terms of rock composition and the in-situ temperature and pressure conditions. We achieved this by creating an interface between the modeling of seismic data and mineral/phase equilibria calculations that allow for the calculation of elastic properties (i.e., Vp, Vs, and density) as a function of temperature, pressure, and composition. Moreover, TCSEIS-1D can be used as a simple geophysical model (i.e., seismic velocities and density) generator based on input thermochemical conditions that can be coupled to third-party seismic codes to perform forward calculations, offering as well a variety of tools intended to interpret geophysical data and models in petrological (e.g., property maps in the 𝒯𝒫𝒞 space; Fig. 1) and geodynamical terms (e.g. different thermal scenarios, Figs. 14–16).

TCSEIS-1D can be used to simultaneously fit different real seismological and other geophysical data sets within a trial-and-error approach or to carry out synthetic modeling (e.g., sensitivity analysis), making it a useful tool for a wide range of geoscientists. Future work includes developing an inversion scheme of seismic data for the thermochemical structure of the crust and mantle based on TCSEIS-1D.

Appendix A: TCSEIS-1D Surface Wave Dispersion native package: SWD.jl

SWD.jl is mostly based on the formulation described by Haney and Tsai (2015, 2017, 2019). These authors utilize (for both Rayleigh and Love waves) a finite element approach based on the thin-layer method (Lysmer, 1970; Kausel, 2005). In contrast to the popular Thomson-Haskell recursion formula (e.g., Takeuchi and Saito, 1972; Saito, 1988), Haney and Tsai employed several thin layers leading to a generalized eigenvalue/eigenvector problem that must be solved for every sampled frequency (1/TObserved, Hz). Their method is both accurate and fast and allows for the consideration of a water layer on top of the model column. However, as originally proposed, the method is hampered by two shortcomings: (1) it assumes the Earth is isotropic, elastic and flat, and (2) it requires the specification of a relatively dense Finite Elements (FEM) mesh. We address each one of these as follows:

  • (a)

    We decouple the computation of Rayleigh and Love waves based on the vertically and horizontally polarized Vs(𝒯𝒫𝒞) components, VSV and VSH, respectively defined as:

    (A1)VSV=1-13χVS(A2)VSH=23χ+1VS

    Where χ is the average seismic radial anisotropy for each layer (user input). Rayleigh and Love dispersion curves are computed as a function of VSV and VSH respectively.

We include anelastic effects as stated by Karato (1993), Minster and Anderson (1981), Afonso et al. (2005), Fullea et al. (2021), using the expressions:

(A3)VPa=VP1-29cotπα2Qs-1(A4)VSa=Vs1-12cotπα2Qs-1

Where, VPa and VSa are the anelastic P and S velocities, and Vp and Vs are the anharmonic velocities computed from 𝒯𝒫𝒞 values. Further details on estimating Qs are presented in Sect. 2.6.

  • (b)

    We consider the Earth's sphericity correcting the values of Vp, Vs and ρ for the Earth-flattening approximation before computing the dispersion curves. Here, we follow Herrmann (2013) for Rayleigh waves, and the equations by Schwab and Knopoff (1972) for Love waves. The depth from the surface in the equivalent flat Earth model, z, is given by:

    (A5) z = a ln a r

    Where r is the radial distance from the center of the Earth, and a is the Earth's radius. Hence, if we consider a spherical layer bounded by ri and ri−1 radii, with ri-1>ri, then the thickness, h, of the corresponding ith flat layer is given by:

    (A6) ( h i ) f = a ln a r i - a ln a r i - 1

The mean Vp, Vs and ρ in the transformed flat layer model, (Vpi)f, (Vsi)f, (ρi)f and are given by

(A7)(Vpi)f=(Vpi)s2ari+ri-1(A8)(Vsi)f=(Vsi)s2ari+ri-1(A9)(ρi)f=(ρi)s2ari+ri-1SE

Where (Vpi)s, (Vsi)s, (ρi)s are the mean Vp, Vs and ρ in the spherical model, and SE is a parameter that takes a different value for Love (SE=-5, Schwab and Knopoff, 1972) and Rayleigh (we find a better fit with an exponent value of SE=-2.278 instead of SE=-2.275 as originally reported in Herrmann, 2013).

  • (c)

    Finally, we optimize the FEM mesh for the forward computation (e.g., Xia et al., 1999; Ma and Clayton, 2016; Hanney and Tsai, 2015, 2017, 2019). Generally, the required mesh must have adequate sampling above the sensitivity depth of each period, without oversampling the model below it unnecessarily. As a rule of thumb, more than five 5 layers (6 nodes) are required in the sensitivity depths of each frequency with their thicknesses increasing exponentially from the surface to the bottom of the model (e.g., Hanney and Tsai, 2017). In TCSEIS-1D, the user has two possibilities: (i) using a precomputed mesh (the Golden Mesh) created with smaller layers than those required to compute the dispersion at any period between 1 and 500 s, and slightly oversampling the base of the model; or (ii) using a new mesh based on the lowest period of the input data and a low threshold of Rayleigh wave phase velocity set to 1 km s−1 (see Hanney and Tsai, 2017, Appendix D for more details). Our mesh samples all the space, and the thickness of each layer coincides with the sensitivity of both Rayleigh waves and Love waves (depending on the period). Our FEM grids for surface waves are designed to compute dispersion curves in the period range from 5 to 500 s.

Appendix B: Seismic attenuation model

Dannberg et al. (2017) pose that the response of a continuum that behaves according to Burgers model of linear viscoelasticity with creep function in response to a sinusoidally time-varying stress (e.g., a dispersive wave) is given by the dynamic compliance J(ω) (the Laplace transform of its creep function). This function takes the form:

(B1)J(ω)=J1(ω)+iJ2(ω)(B2)J1=Ju{1+αΔBτHα-τLατLτHτα-11+ω2dτ+ΔPσ2π01τ(1+ω2τ2)exp(-ln(ττP)22σ2)dτ}(B3)J2=Ju{ωαΔBτHα-τLατLτHτα1+ω2τ2dτ+ωΔPσ2π011+ω2τ2exp(-ln(ττP)22σ2)dτ+1ωτM}

Where ω is the angular frequency, ω=2π/T, α is the anelastic frequency exponent, ΔB is the Burgers element strength and ΔP and σ are the peak height and width, and Ju is the unrelaxed compliance (which is not computed for Qs estimations).

All the timescales τi control the temperature, pressure, and grain size sensitivity of the anelastic scaling relationships:

(B4) τ i = τ iR d d R mi × exp E R 1 T - 1 T R + V R P T - P R T R

where i=H,L,P,M are the upper, lower, peak and Maxwell viscous relaxation values respectively, and all mj are grain size exponents with j=H,L,P for anelastic relaxation (ma), and j=M for viscous relaxation (mv). Here, E and V are the activation energy and volume for the anelastic model. We use the same values for each major mantle zone as reported in the supplementary material of Dannberg et al. (2017). The temperature, pressure, and grain size sensitivity of the anelastic relationships are introduced in terms of reference values TR, PR and dR.

(B5) Q s = J 1 ( ω ) J 2 ( ω )

and

(B6) Q p = 9 4 Q s

which implies an infinite quality factor for the bulk modulus (e.g., Karato, 1993; Minster and Anderson, 1981).

Data availability

The full TCSEIS-1D v1.0 package is openly available for download at the project's GitHub repository (https://github.com/marianoarnaiz/TCSEIS, last access: 18 March 2026, Arnaiz, 2025). The software requires a functional installation of the Julia Language (version 1.7 or higher) to run.

Author contributions

MSAR and JF co-designed the algorithms, and co-wrote the manuscript. MSAR wrote the code in Julia language. JF supervised the research project and tested the code.

Competing interests

The contact author has declared that neither of the authors has any competing interests.

Disclaimer

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. The authors bear the ultimate responsibility for providing appropriate place names. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.

Acknowledgements

MSAR was funded by Comunidad Autonoma de Madrid (Spain) through an “Atracción de Talento” senior fellowship (2018-T1/AMB/11493) to JF, who is also supported the Spanish Ministry of Science and Innovation (PID2020-114854GB-C22 and CNS2022-135621).

Financial support

This research has been supported by the Comunidad de Madrid (grant no. 2018-T1/AMB/11493) and the Ministerio de Ciencia e Innovación (grant no. PID2020-114854GB-C22 and CNS2022-135621).

Review statement

This paper was edited by Simone Pilia and reviewed by Roberto Cabieces and one anonymous referee.

References

Abers, G. A. and Hacker, B. R.: A MATLAB toolbox and Excel workbook for calculating the densities, seismic wave speeds, and major element composition of minerals and rocks at pressure and temperature, Geochem. Geophys. Geosyst., 16, 616–624, https://doi.org/10.1002/2015GC006091, 2016. 

Afonso, J. C., Ranalli, G., and Fernández, M.: Thermal expansivity and elastic properties of the lithospheric mantle: results from mineral physics of composites, Phys. Earth Planet. Int., 149, 279–306, https://doi.org/10.1016/j.pepi.2004.09.008, 2005. 

Afonso, J. C., Fernàndez, M., Ranalli, G., Griffin, W. L., and Connolly, J. A. D.: Integrated geophysical–petrological modeling of the lithosphere and sublithospheric mantle: Methodology and applications, Geochem. Geophys. Geosyst., 9, Q05008, https://doi.org/10.1029/2007GC001834, 2008. 

Afonso, J. C., Zlotnik, S., and Diez, P.: An efficient approach for simulating thermochemical convection in the Earth’s mantle, Geophys. J. Int., 191, 1146–1170, 2012. 

Afonso, J. C., Connolly, J. A. D., Griffin, W. L., Litvin, Y., and Stern, R. A.: The role of mantle composition in controlling the density and seismic structure of the lithosphere, Geophys. J. Int., 193, 891–916, 2013a. 

Afonso, J. C., Fullea, J., Griffin, W. L., Yang, Y., Jones, A. G., Connolly, J. A. D., and O’Reilly, S. Y.: 3-D multiobservable probabilistic inversion for the compositional and thermal structure of the lithosphere and upper mantle, I: a priori petrological information and geophysical observables, J. geophys. Res.-Sol. Ea., 118, 2586–2617, https://doi.org/10.1002/jgrb.50124, 2013b. 

Aki, K., Christoffersson, A., and Husebye, E. S.: Determination of the 3-dimensional seismic structure of the lithosphere, J. Geophys. Res., 82, 277–296, https://doi.org/10.1029/JB082i002p00277, 1977. 

Anderson, D. L. and Hart, R. S.: Q of the Earth, J. Geophys. Res.-Sol. Ea., 83, 5869–5882, https://doi.org/10.1029/jb083ib12p05869, 1978. 

Anderson, D. L.: Theory of the Earth, Blackwell Scientific Publications, Boston, 1989. 

Andrault, D., Pesce, G., Manthilake, G., Monteux, J., Bolfan-Casanova, N., Chantel, J., Novella, D., Guignot, N., King, A., Itié, J.-P., and Hennet, L.: Deep and persistent melt layer in the Archaean mantle, Nat. Geosci., 11, 139–143, https://doi.org/10.1038/s41561-017-0053-9, 2018. 

Arnaiz, M.: marianoarnaiz/TCSEIS: TCSEISv1.0.1 (v1.0.1), Zenodo [data set], https://doi.org/10.5281/zenodo.18100247, 2025. 

Arnaiz-Rodríguez, M. S., Zhao, Y., Sánchez-Gamboa, A. K., and Audemard, F.: Crustal and upper-mantle structure of the Eastern Caribbean and Northern Venezuela from passive Rayleigh wave tomography, Tectonophysics, 804, 228711, https://doi.org/10.1016/j.tecto.2020.228711, 2020. 

Arnaiz-Rodríguez, M. S., Zhao, Y., Sánchez-Gamboa, A. K., and Audemard, F.: Crustal and upper-mantle structure of the Eastern Caribbean and Northern Venezuela from passive Rayleigh wave tomography, Tectonophysics, Volume 804, https://doi.org/10.1016/j.tecto.2020.228711, 2021. 

Athy, L. F.: Density, porosity and compaction of sedimentary rocks, AAPG Bull., 14, 1–24, https://doi.org/10.1306/3d93289e-16b1-11d7-8645000102c1865d, 1930. 

Audhkhasi, P. and Singh, S. C.: Discovery of distinct lithosphere-asthenosphere boundary and the Gutenberg discontinuity in the Atlantic Ocean, Sci. Adv., 8, eabn5404, https://doi.org/10.1126/sciadv.abn5404, 2022. 

Ball, P. W., White, N. J., and Maclennan, J.: Thermal structure of oceanic lithosphere from seismic velocities, Earth Planet. Sci. Lett., 244, 285–301, https://doi.org/10.1016/j.epsl.2006.01.008, 2021. 

Berckhemer, H., Kampfmann, W., Aulbach, E., and Schmeling, H.: Shear modulus and Q of forsterite and dunite near partial melting from forced-oscillation experiments, Phys. Earth Planet. Inter., 29, 30–41, 1982. 

Bezanson, J., Edelman, A., Karpinski, S., and Shah, V. B.: Julia: A Fresh Approach to Numerical Computing, SIAM Rev., 59, 65–98, https://doi.org/10.1137/141000671, 2017. 

Bissell, H. J., Haaf, E. T., Crook, K. A. W., Beck, K. C., Schwab, F. L., and Folk, R. L.: Sedimentary rocks, Encyclopædia Britannica, https://www.britannica.com/science/sedimentary-rock, last access: 9 December 2021. 

Bissig, F., Khan, A., Tauzin, B., Sossi, P. A., Münch, F. D., and Giardini, D.: Multifrequency inversion of Ps and Sp receiver functions: methodology and application to USArray data, J. Geophys. Res. Solid Earth, 126, e2020JB020350, https://doi.org/10.1029/2020JB020350, 2021. 

Bosch, M.: Lithology estimation from physical rock properties, Geophys. J. Int., 136, 649–664, 1999. 

Boujibar, A., Bolfan-Casanova, N., Andrault, D., Bouhifd, M. A., and Trcera, N.: Incorporation of Fe2+ and Fe3+ in bridgmanite during magma ocean crystallization, Am. Mineral., 101, 1560–1570, https://doi.org/10.2138/am-2016-5561, 2016. 

Brocher, T. M.: Empirical relations between elastic wavespeeds and density in the Earth's crust, Bull. Seismol. Soc. Am., 95, 2081–2092, https://doi.org/10.1785/0120050077, 2005. 

Brune, J. N. and Dorman, J.: Seismic waves and Earth structure in the Canadian Shield, Bull. Seismol. Soc. Am., 53, 167–210, https://doi.org/10.1785/BSSA0530010167, 1963. 

Burg, J.-P. and Gerya, T. V.: The role of viscous heating in Barrovian metamorphism of collisional orogens: thermomechanical models and application to the Lepontine Dome in the Central Alps, J. Metamor. Geol., 23, 75–95, https://doi.org/10.1111/j.1525-1314.2005.00563.x, 2005. 

Calò, M., Bodin, T., and Romanowicz, B.: Layered structure in the upper mantle across North America from joint inversion of long and short period seismic data, Earth Planet. Sci. Lett., 449, 164–175, https://doi.org/10.1016/j.epsl.2016.05.054, 2016. 

Chantel, J. et al.: Experimental evidence supports mantle partial melting in the asthenosphere, Sci. Adv., 2, e1600246, https://doi.org/10.1126/sciadv.1600246, 2016. 

Chen, X., Park, J., and Levin, V.: Anisotropic layering and seismic body waves: deformation gradients, initial S-polarizations, and converted-wave birefringence, Pure Appl. Geophys., 178, 2001–2023, https://doi.org/10.1007/s00024-021-02755-6, 2021. 

Christensen, N. I. and Mooney, W. D.: Seismic velocity structure and composition of the continental crust: A global view, J. Geophys. Res., 100, 9761–9788, 1995. 

Connolly, J. A. D.: Computation of phase equilibria by linear programming: a tool for geodynamic modeling and its application to subduction zone decarbonation, Earth Planet. Sci. Lett., 236, 524–541, https://doi.org/10.1016/j.epsl.2005.04.033, 2005. 

Connolly, J. A. D.: The geodynamic equation of state: What and how, Geochem. Geophys. Geosyst., 10, Q10014, https://doi.org/10.1029/2009GC002540, 2009. 

Dannberg, J., Eilon, Z., Faul, U., Gassmöller, R., Moulik, P., and Myhill, R.: The importance of grain size to mantle dynamics and seismological observations, Geochem. Geophy. Geosy., 18, 3034–3061, https://doi.org/10.1002/2017gc006944, 2017. 

Dinari, O., Yu, A., Freifeld, O., and Fisher, J.: Distributed MCMC inference in Dirichlet process mixture models using Julia, in: Proc. IEEE/ACM CCGrid, 518–525, https://doi.org/10.1109/CCGRID.2019.00066, 2019. 

Dongmo Wamba, M., Montagner, J.-P., and Romanowicz, B.: Imaging deep-mantle plumbing beneath La Réunion and Comores hot spots: vertical plume conduits and horizontal ponding zones, Sci. Adv., 9, eade3723, https://doi.org/10.1126/sciadv.ade3723, 2023. 

Durek, J. J. and Ekstr, S. G.: A radial model of anelasticity consistent with long-period surface wave attenuation, Bull. Seismol. Soc. Am., 86, 144–158, 1996. 

Dziewonski, A. M. and Anderson, D. L.: Preliminary reference Earth model, Phys. Earth Planet. Inter., 25, 297–356, 1981. 

Faul, U. H. and Jackson, I.: The seismological signature of temperature and grain size variations in the upper mantle, Earth Planet. Sci. Lett., 234, 119–134, https://doi.org/10.1016/j.epsl.2005.02.030, 2005. 

Fu, S., Chariton, S., and Wentzcovitch, R. M.: Ab initio solidus of pyrolite across the lower mantle, Earth Planet. Sci. Lett., 490, 155–165, 2018. 

Fukao, Y., Obayashi, M., and Nakakuki, T.: Stagnant slab: a review, Annu. Rev. Earth Planet. Sci., 37, 19–46, https://doi.org/10.1146/annurev.earth.36.031207.124224, 2009. 

Fullea, J., Afonso, J. C., Connolly, J. A. D., Fernández, M., García-Castellanos, D., and Zeyen, H.: LitMod3D: an interactive 3-D software to model the thermal, compositional, density, seismological, and rheological structure of the lithosphere and sublithospheric upper mantle, Geochem. Geophys. Geosyst., 10, Q08019, https://doi.org/10.1029/2009GC002391, 2009. 

Fullea, J., Lebedev, S., Martinec, Z., and Celli, N. L.: WINTERC-G: mapping the upper mantle thermochemical heterogeneity from coupled geophysical–petrological inversion of seismic waveforms, heat flow, surface elevation and gravity satellite data, Geophys. J. Int., 226, 146–191, https://doi.org/10.1093/gji/ggab094, 2021. 

Gao, K., Mei, G., Piccialli, F., Cuomo, S., Tu, J., and Huo, Z.: Julia language in machine learning: algorithms, applications, and open issues, Comput. Sci. Rev., 37, 100254, https://doi.org/10.1016/j.cosrev.2020.100254, 2020. 

Gerya, T. V.: Numerical geodynamic modeling. Cambridge University Press, 2007. 

Gerya, T. V.: Future directions in subduction modeling, J. Geodyn., 45, 283–293, 2008. 

Gerya, T. V: Introduction to Numerical Geodynamic Modelling, Cambridge University Press, Cambridge, 345 pp., https://doi.org/10.1017/CBO9780511809101, 2009. 

Gerya, T. V.: Introduction to Numerical Geodynamic Modelling, 2nd ed., Cambridge University Press, Cambridge, 2019. 

Godfrey, N. J., Beaudoin, B. C., Klemperer, S. L., and the Mendocino Working Group USA: Ophiolitic basement to the Great Valley forearc basin, California, from seismic and gravity data: Implications for crustal growth at the North American continental margin, Geol. Soc. Am. Bull., 109, 1536–1562, 1997. 

Grand, S. P.: Mantle shear-wave tomography and the fate of subducted slabs, Philos. Trans. R. Soc. Lond. A, 360, 2475–2491, https://doi.org/10.1098/rsta.2002.1023, 2002. 

Grose, C. J. and Afonso, J. C.: Chemical disequilibria, lithospheric thickness, and the source of ocean island basalts, J. Petrol., 60, 755–790, https://doi.org/10.1093/petrology/egz012, 2019. 

Hacker, B. R. and Abers, G. A.: Subduction Factory 3: an Excel worksheet and macro for calculating the densities, seismic wave speeds, and H2O contents of minerals and rocks at pressure and temperature, Geochem. Geophys. Geosyst., 5, Q01005, https://doi.org/10.1029/2003GC000649, 2004. 

Hamblin, W. K. and Christiansen, E. H.: Earth's dynamic systems, 10th edn., Prentice Hall, Upper Saddle River, NJ, 790 pp., https://doi.org/10.22459/SWPSM.05.2009, 2004. 

Haney, M. M. and Tsai, V. C.: Nonperturbational surface-wave inversion: a Dix-type relation for surface waves, Geophysics, 80, EN167–EN177, https://doi.org/10.1190/geo2014-0208.1, 2015. 

Haney, M. M. and Tsai, V. C.: Perturbational and nonpeturbational inversion of Rayleigh-wave velocities, Geophysics, 82, F15–F28, https://doi.org/10.1190/GEO2016-0542.1, 2017. 

Haney, M. M. and Tsai, V. C.: Perturbational and nonperturbational inversion of Love-wave velocities, Geophysics, 85, F19–F26, https://doi.org/10.1190/geo2019-0058.1, 2019. 

Haney, M. M. and Tsai, V. C.: Perturbational and nonperturbational inversion of Love-wave velocities, Geophysics, 85, F19–F26, https://doi.org/10.1190/geo2019-0164.1, 2020. 

Haskell, N. A.: The dispersion of surface waves on multilayered media, Bull. Seismol. Soc. Am., 43, 17–34, 1953. 

Herrmann, R. B.: Computer programs in seismology: an evolving tool for instruction and research, Seism. Res. Lett., 84, 1081–1088, https://doi.org/10.1785/0220110096, 2013. 

Herzberg, C., Raterron, P., and Zhang, J.: New experimental observations on the solidus for fertile peridotite, Earth Planet. Sci. Lett., 183, 321–338, 2000. 

Hirose, K.: Postperovskite phase transition and its geophysical implications, Rev. Geophys., 44, RG3001, https://doi.org/10.1029/2005RG000186, 2006. 

Hirschmann, M. M.: Mantle solidus: Experimental constraints and the effects of peridotite composition, Geochem. Geophys. Geosyst., 1, 1042, https://doi.org/10.1029/2000GC000070, 2000. 

Hofmeister, A. M.: Mantle values of thermal conductivity and the geotherm from phonon lifetimes, Science, 283, 1699–1706, https://doi.org/10.1126/science.283.5409.1699, 1999. 

Huang, Z., Zhao, D., and Wang, L.: Seismic heterogeneity and mantle dynamics of the western Pacific subduction zone, J. Geophys. Res. Solid Earth, 116, B10303, https://doi.org/10.1029/2011JB008401, 2011. 

Irifune, T.: Phase transformations and their bearing on the constitution and dynamics of the mantle, in: High-Pressure Research in Mineral Physics, Terra Scientific Publishing, Tokyo, 593–604, 1990. 

Irifune, T. and Isshiki, M.: Iron partitioning in a pyrolite mantle and the nature of the 410-km seismic discontinuity, Nature, 392, 702–705, 1998. 

Irifune, T. and Tsuchiya, T.: Phase transitions and mineralogy of the lower mantle, in: Treatise on Geophysics, Elsevier, 33–60, https://doi.org/10.1016/B978-0-444-53802-4.00030-0, 2015. 

Irifune, T., Isshiki, M., and Katayama, Y.: Iron partitioning and density changes of pyrolite in Earth's lower mantle, Science, 292, 1171–1173, https://doi.org/10.1126/science.1057647, 2001. 

Irifune, T., Shinmei, T., McCammon, C., Miyajima, N., Rubie, D. C., and Frost, D. J.: Iron partitioning and density changes of pyrolite in Earth’s lower mantle, Science, 327, 193–195, 2010. 

Jackson, I. and Faul, U. H.: Grainsize-sensitive viscoelastic relaxation in olivine: towards a robust laboratory-based model for seismological application, Phys. Earth Planet. Int., 183, 151–163, https://doi.org/10.1016/j.pepi.2010.09.005, 2010. 

Jackson, I. and Faul, U. H.: Grain-size-sensitive viscoelastic relaxation in olivine: Toward a robust laboratory-based model for seismological applications, Phys. Earth Planet. Inter., 183, 151–163, 2010. 

Jackson, I. and Faul, U. H.: Elastically accommodated grain-boundary sliding: New insights into anelasticity and dispersion in the upper mantle, Phys. Earth Planet. Inter., 262, 21–36, 2017. 

Jackson, I., Fitz Gerald, J. D., Faul, U. H., and Tan, B. H.: Grain-size-sensitive seismic wave attenuation in polycrystalline olivine, J. Geophys. Res., 107, 2360, https://doi.org/10.1029/2001JB001225, 2002. 

Jackson, M. G. and Dasgupta, R.: Compositional constraints on melting of Earth's heterogeneous mantle and implications for the generation of ocean island basalts, Rev. Geophys., 56, 3–49, https://doi.org/10.1002/2017RG000558, 2018. 

Jacobsen, B. H. and Svenningsen, L.: Enhanced Uniqueness and Linearity of Receiver Function Inversion, Bull. Seismol. Soc. Am., 98, 1756–1767, https://doi.org/10.1785/0120070180, 2008. 

Julià, J., Ammon, C. J., Herrmann, R. B., and Correig, A. M.: Joint inversion of receiver function and surface wave dispersion observations, Geophys. J. Int., 143, 99–112, https://doi.org/10.1046/j.1365-246X.2000.00217.x, 2000. 

Jones, J. P., Okubo, K., Clements, T., and Denolle, M. A.: SeisIO: A Fast, Efficient Geophysical Data Architecture for the Julia Language, Seismol. Res. Lett., 91, 2368–2377, https://doi.org/10.1785/0220190295, 2020. 

Karato, S.: On the origin of the asthenosphere, Earth Planet. Sci. Lett., 321–322, 95–103, https://doi.org/10.1016/j.epsl.2012.01.001, 2012. 

Karato, S.-I. and Wu, P.: Rheology of the upper mantle: a synthesis, Science, 260, 771–778, https://doi.org/10.1126/science.260.5109.771, 1993. 

Karato, S.: Seismic anisotropy of the Earth’s mantle: Evidence from laboratory and geophysical observations, Rev. Geophys., 36, 399–436, 1998. 

Karato, S. and Jung, H.: Water, partial melting and the origin of the seismic low velocity and high attenuation zone in the upper mantle, Earth Planet. Sci. Lett., 157, 193–207, 1998. 

Karato, S. and Spetzler, H. A.: Defect microdynamics in minerals and solid-state mechanisms of seismic wave attenuation and velocity dispersion, Rev. Geophys., 28, 399–421, 1990. 

Katz, R. F., Spiegelman, M., and Langmuir, C. H.: A new parameterization of hydrous mantle melting, Geochem. Geophys. Geosyst., 4, 1073, https://doi.org/10.1029/2002GC000433, 2003. 

Kausel, E.: Some wave propagation modes from simple systems to layered soils, in: Surface waves in geomechanics: direct and inverse modeling for soil and rocks, edited by: Lai, C. G. and Wilmanski, K., Springer-Verlag, 165–202, 2005. 

Kellogg, L. H., Hager, B. H., and van der Hilst, R. D.: Compositional stratification in the deep mantle, Science, 283, 1881–1884, https://doi.org/10.1126/science.283.5409.1881, 1999. 

Kennett, B. L. N.: Seismic wave propagation in stratified media, ANU Press, https://doi.org/10.2307/j.ctt24h2zr, 2009. 

Kennett, B. L. N. and Engdahl, E. R.: Travel times for global earthquake location and phase association, Geophys. J. Int., 105, 429–465, https://doi.org/10.1111/j.1365-246X.1991.tb06724.x, 1991. 

Khan, A., Cammarano, F., and Connolly, J. A. D.: Geophysical evidence for melt in the deep mantle, Nature, 455, 978–981, https://doi.org/10.1038/nature07364, 2008. 

Khan, A., Maclennan, J., and Connolly, J. A. D.: Inversion of seismic and geodetic data for the major element chemistry and temperature of the Earth's mantle, Earth Planet. Sci. Lett., 284, 554–568, https://doi.org/10.1016/j.epsl.2009.05.014, 2009. 

Kind, R., Kosarev, G. L., and Petersen, N. V.: Receiver functions at the stations of the German Regional Seismic Network (GRSN), Geophys. J. Int., 121, 191–202, https://doi.org/10.1111/j.1365-246x.1995.tb03520.x, 1995. 

Kustowski, B., Ekström, G., and Dziewoński, A. M.: Anisotropic shear-wave velocity structure of the Earth's mantle: a global model, J. Geophys. Res., 113, B06306, https://doi.org/10.1029/2007JB005169, 2008. 

Lambert, K., Johnson, P., Smith, C., and Nakada, M.: Glacial rebound of the British Isles: III. Constraints on mantle viscosity, Geophys. J. Int., 123, 340–354, 1996. 

Langston, C. A.: Structure under Mount Rainier, Washington, inferred from teleseismic body waves, J. Geophys. Res.-Sol. Ea., 84, 4749–4762, https://doi.org/10.1029/jb084ib09p04749, 1979. 

Lawrence, J. F. and Wysession, M. E.: Seismic Evidence for Subduction-Transported Water in the Lower Mantle, in: Geophysical Monograph Series, 251–261, American Geophysical Union, https://doi.org/10.1029/168gm19, 2013. 

Le Bas, M. J. and Streckeisen, A. L.: The IUGS systematics of igneous rocks, J. Geol. Soc., 148, 825–833, 1991. 

Lebedev, S. and van der Hilst, R. D.: Global upper-mantle tomography with the automated multimode inversion of surface and S-wave forms, Geophys. J. Int., 173, 505–518, https://doi.org/10.1111/j.1365-246X.2008.03721.x, 2008. 

Lebedev, S., Adam, J. M.-C., and Meier, T.: Mapping the Moho with seismic surface waves, Geophys. J. Int., 176, 829–851, 2009. 

Lebedev, S., Fullea, J., Xu, Y., and Bonadio, R.: Seismic thermography, Bull. Seismol. Soc. Am., 114, 1227–1242, https://doi.org/10.1785/0120230245, 2024. 

Lekic, V., Cottaar, S., Dziewoński, A., and Romanowicz, B.: Cluster analysis of global lower mantle tomography: a new class of structure and implications for chemical heterogeneity, Earth Planet. Sci. Lett., 357–358, 68–77, https://doi.org/10.1016/j.epsl.2012.09.014, 2012. 

Levin, V., Lebedev, S., Fullea, J., Li, Y., and Chen, X.: Defining Continental Lithosphere as a Layer With Abundant Frozen‐In Structures That Scatter Seismic Waves, J. Geophys. Res.-Sol. Ea., 128, https://doi.org/10.1029/2022jb026309, 2023. 

Lin, J.-F., Speziale, S., Mao, Z., and Marquardt, H.: Effects of the electronic spin transitions of iron in lower mantle minerals: Implications for deep mantle geophysics and geochemistry, Rev. Geophys., 51, 244–275, https://doi.org/10.1002/rog.20010, 2013. 

Lin, J., Mao, Z., Yang, J., Liu, J., Xiao, Y., Chow, P., and Okuchi, T.: High‐spin Fe2+ and Fe3+ in single‐crystal aluminous bridgmanite in the lower mantle, Geophys. Res. Lett., 43, 6952–6959, https://doi.org/10.1002/2016gl069836, 2016. 

Litasov, K. and Ohtani, E.: Phase relations and melt compositions in CMAS-pyrolite-H2O system up to 25 GPa, Phys. Earth Planet. Inter., 134, 105–127, 2002. 

Ludwig, W. J., Nafe, J. E., and Drake, C. L.: Seismic Refraction, the Sea, Vol. 4 (Part 1), Wiley-Interscience, New York, 53–84, 1970. 

Lysmer, J.: Lumped mass method for Rayleigh waves, Bull. Seismol. Soc. Am., 60, 89–104, https://doi.org/10.1785/bssa0600010089, 1970. 

Ma, Y. and Clayton, R. W.: Structure of the Los Angeles Basin from ambient noise and receiver functions, Geophys. J. Int., 206, 1645–1651. https://doi.org/10.1093/gji/ggw236, 2016. 

Masters, G., Woodhouse, J. H., and Freeman, G.: Mineos v1.0.2 [software], Computational Infrastructure for Geodynamics, https://geodynamics.org/cig (last access: 18 March 2026), 2011. 

Matas, J., Bass, J. D., Ricard, Y., Mattern, E., and Bukowinski, M. S. T.: On the bulk composition of the lower mantle: predictions and limitations from generalized inversion of radial seismic profiles, Geophys. J. Int., 160, 973–990, https://doi.org/10.1111/j.1365-246X.2005.02526.x, 2005. 

McCarthy, C., Takei, Y., and Hiraga, T.: Anelasticity and attenuation in polycrystalline olivine: The role of grain boundary sliding, J. Geophys. Res., 116, B09207, https://doi.org/10.1029/2011JB008384, 2011. 

McDonough, W. F. and Sun, S.-S.: The composition of the Earth, Chem. Geol., 120, 223–253, 1995. 

Minster, J. B. and Anderson, D. L.: A model of dislocation-controlled rheology for the mantle, Phil Trans. Roy. Soc. Lond., 1981. 

Montagner, J. P. and Kennett, B. L. N.: How to reconcile body-wave and normal-mode reference Earth models, Geophys. J. Int., 125, 229–248, https://doi.org/10.1111/j.1365-246X.1996.tb06548.x, 1996. 

Mosegaard, K. and Tarantola, A.: Monte Carlo sampling of solutions to inverse problems, J. Geophys. Res., 100, 12431–12447, 1995. 

Münch, F. D., Khan, A., Tauzin, B., van Driel, M., and Giardini, D.: Seismological evidence for thermo-chemical heterogeneity in Earth's continental mantle, Earth Pl. Sc. Lett., 539, 116240, https://doi.org/10.1016/j.epsl.2020.116240, 1997. 

Murakami, M., Hirose, K., Kawamura, K., Sata, N., and Ohishi, Y.: Post-perovskite phase transition in MgSiO3, Science, 304, 855–858, https://doi.org/10.1126/science.1095932, 2004. 

Nakada, M.: Convective coupling between ductile lower crust and upper mantle, and its tectonic implications, Geophys. J. Int., 118, 579–603, https://doi.org/10.1111/j.1365-246x.1994.tb03986.x, 1994. 

Niu, F. and James, D. E.: Fine structure of the lowermost crust beneath the Kaapvaal craton, Earth Planet. Sci. Lett., 200, 121–130, 2002. 

Nolet, G., Montelli, R., Dahlen, F. A., Masters, G., Engdahl, E. R., and Hung, S. H.: Seismic evidence for a deep mantle thermal anomaly in the mantle beneath East Africa, Geophys. Res. Lett., 31, L20607, https://doi.org/10.1029/2004GL020572, 2004. 

Oki, S. and Shearer, P. M.: Mantle Q structure from S‐P differential attenuation measurements, J. Geophys. Res.-Sol. Ea., 113, https://doi.org/10.1029/2007jb005567, 2008. 

Pesce, A. K.: Comparison of Receiver Function Deconvolution Techniques, MS Thesis, Massachusetts Institute of Technology, 2010. 

Philpotts, A. R. and Jay, J. A.: Principles of igneous and metamorphic petrology, 2nd ed., Cambridge University Press, 2009. 

Priestley, K. and McKenzie, D.: The thermal structure of the lithosphere from shear wave velocities, Earth Planet. Sci. Lett., 244, 285–301, 2006. 

Rawlinson, N. and Sambridge, M.: Seismic traveltime tomography of the crust and lithosphere, Adv. Geophys., 46, 81–198, 2003. 

Raymer, L. L., Hunt, E. R., and Gardner, J. S.: An improved sonic transit time-to-porosity transform, in: Proceedings of the Society of Professional Well Log Analysts 21st Annual Logging Symposium, 1–13, 1980. 

Ricard, Y.: A geodynamic model of mantle density heterogeneities, J. Geophys. Res., 98, 21895–21909, https://doi.org/10.1029/93JB02216, 1993. 

Rigden, S., Gwanmesia, G., Gerald, J. et al.: Spinel elasticity and seismic structure of the transition zone of the mantle, Nature, 354, 143–145, https://doi.org/10.1038/354143a0, 1991. 

Ringwood, A. E.: Composition and evolution of the upper mantle, Geochim. Cosmochim. Acta, 46, 1921–1935, 1982. 

Ritsema, J., Deuss, A., van Heijst, H. J., and Woodhouse, J. H.: S40RTS: a degree-40 shear-velocity model for the mantle from new Rayleigh wave dispersion, teleseismic traveltime and normal-mode splitting function measurements, Geophys. J. Int., 184, 1223–1236, https://doi.org/10.1111/j.1365-246X.2010.04884.x, 2011. 

Rondenay, S.: Upper Mantle Imaging with Array Recordings of Converted and Scattered Teleseismic Waves, Surv. Geophys., 30, 377–405, https://doi.org/10.1007/s10712-009-9071-5, 2009. 

Rudolph, M. L., Lekic, V., and Lithgow-Bertelloni, C.: Viscosity jump in Earth's mid-mantle, Science, 350, 1349–1352, https://doi.org/10.1126/science.aad1929, 2015. 

Saito, M.: DISPER80: a subroutine package for the calculation of seismic normal-mode solutions, in: Seismological alogorithms, edited by: Doornbos, D. J., Academic Press, New York, 294–319, 1988. 

Sarafian, E., Gaetani, G. A., Hauri, E. H., and Sarafian, A. R.: Experimental constraints on the damp peridotite solidus and oceanic mantle potential temperature, Science, 355, 942–945, https://doi.org/10.1126/science.aaj2165, 2017. 

Schaeffer, A. J. and Lebedev, S.: Global shear speed structure of the upper mantle and transition zone, Geophys. J. Int., 194, 417–449, 2013. 

Schierjott, J. C., Thielmann, M., Rozel, A. B., Golabek, G. J., and Gerya, T. V.: Can Grain Size Reduction Initiate Transform Faults? – Insights From a 3‐D Numerical Study, Tectonics, 39, https://doi.org/10.1029/2019tc005793, 2020. 

Schmidt, M. W. and Poli, S.: Experimentally based water budgets for dehydrating slabs and consequences for arc magma generation, Earth Planet. Sc. Lett., 163, 361–379, https://doi.org/10.1016/s0012-821x(98)00142-3, 1998. 

Schwab, F. A. and Knopoff, L.: Fast Surface Wave and Free Mode Computations, in: Methods in Computational Physics: Advances in Research and Applications, 87–180, Elsevier, https://doi.org/10.1016/b978-0-12-460811-5.50008-8, 1972. 

Shapiro, N. M., Campillo, M., Stehly, L., and Ritzwoller, M. H.: High-resolution surface-wave tomography from ambient seismic noise, Science, 307, 1615–1618, 2005. 

Simmons, N. A., Forte, A. M., and Grand, S. P.: Thermochemical structure and dynamics of the African superplume, Geophys. Res. Lett., 34, L02301, https://doi.org/10.1029/2006GL028009, 2007. 

Sowers, T. and Boyd, O. S.: Petrologic and mineral physics database for use with the U.S. Geological Survey National Crustal Model (U.S. Geological Survey Open-File Report 2019–1035), U.S. Geological Survey, 2019. 

Stixrude, L. and Lithgow-Bertelloni, C.: Thermodynamics of mantle minerals – I. Physical properties, Geophys. J. Int., 162, 610–632, https://doi.org/10.1111/j.1365-246X.2005.02642.x, 2005. 

Stixrude, L. and Lithgow-Bertelloni, C.: Thermodynamics of mantle minerals – II. Phase equilibria, Geophys. J. Int., 184, 1180–1213, https://doi.org/10.1111/j.1365-246X.2010.04890.x, 2011. 

Stixrude, L. and Lithgow-Bertelloni, C.: Thermodynamics of mantle minerals — II: Phase equilibria., Geophys. J. Int., 184, 1180–1213, 2021. 

Streckeisen, A.: Classification and nomenclature of volcanic rocks, lamprophyres, and related rocks, Schweizerbart Science Publishers, 1974. 

Takei, Y. and Holtzman, B. K.: Viscous constitutive relations of solid–liquid composites in terms of grain boundary contiguity, J. Geophys. Res., 114, B06205, https://doi.org/:10.1029/2008JB005850, 2009. 

Takei, Y.: Effect of partial melting on seismic velocity and attenuation: A new insight from experiments, J. Geophys. Res., 107, 2040, https://doi.org/10.1146/annurev-earth-063016-015820, 2002. 

Takeuchi, H. and Saito, M.: Seismic Surface Waves, in: Methods in Computational Physics: Advances in Research and Applications, 217–295, Elsevier, https://doi.org/10.1016/b978-0-12-460811-5.50010-6, 1972. 

Telford, W. M., Geldart, L. P., and Keys, D. A.: Applied Geophysics, Cambridge University Press, Cambridge, 860 pp., 1976. 

Telford, W. M., Geldart, L. P., and Sheriff, R. E.: Applied Geophysics, 2nd ed., Cambridge University Press, Cambridge, 1990.  

Thomson W. T.: Transmission of elastic waves through a stratified solid medium, J. appl. Phys., 135, 89–93, 1950. 

Tian, D., Lv, M., Wei, S. S., Dorfman, S. M., and Shearer, P. M.: Global variations of Earth’s 520- and 560-km discontinuities, Earth Planet. Sci. Lett., 552, 116600, https://doi.org/10.1016/j.epsl.2020.116600, 2020. 

Tkalčić, H., Young, M., Muir, J. et al.: Strong, Multi-Scale Heterogeneity in Earth’s Lowermost Mantle, Sci. Rep., 5, 18416, https://doi.org/10.1038/srep18416, 2015. 

Tsuchiya, T., Tsuchiya, J., Umemoto, K., and Wentzcovitch, R. M.: Phase transition in MgSiO3 perovskite in the Earth's lower mantle, Earth Planet. Sci. Lett., 224, 241–248, https://doi.org/10.1016/j.epsl.2004.05.017, 2004. 

Turcotte, D. L. and Schubert, G.: Geodynamics, 2nd ed., Cambridge University Press, 2007. 

van der Hilst, R. D., Widiyantoro, S., and Engdahl, E. R.: Evidence for deep mantle circulation from global tomography, Nature, 386, 578–584, https://doi.org/10.1038/386578a0, 1997. 

Vilella, K., Bodin, T., Boukaré, C.-E., Deschamps, F., Badro, J., Ballmer, M. D., and Li, Y.: Constraints on the composition and temperature of LLSVPs from seismic properties of lower mantle minerals, Earth Planet. Sc. Lett., 554, 116685, https://doi.org/10.1016/j.epsl.2020.116685, 2021. 

Vinnik, L. P.: Detection of waves converted from P to SV in the mantle, Phys. Earth Planet. Int., 15, 39–45,https://doi.org/10.1016/0031-9201(77)90008-5, 1977. 

Walter, M. J., Kohn, S. C., Araujo, D., Bulanova, G. P., Smith, C. B., Gaillou, E., Wang, J., Steele, A., and Shirey, S. B.: Deep mantle cycling of oceanic crust: evidence from diamonds and their mineral inclusions, Science, 334, 54–57, https://doi.org/10.1126/science.1209300, 2011. 

Widmer, R., Masters, G., and Gilbert, F.: Spherically symmetric attenuation within the Earth from normal mode data, Geophys. J. Int., 104, 541–553, https://doi.org/10.1111/j.1365-246x.1991.tb05700.x, 2007. 

Xia, J., Miller, R. D., and Park, C. B.: Estimation of near-surface shear-wave velocity by inversion of Rayleigh waves, Geophysics, 64, 691–700. https://doi.org/10.1190/1.1444578, 1999. 

Xu, W., Lithgow-Bertelloni C., Stixrude L., and Ritsema J.: The effect of bulk composition and temperature on mantle seismic structure, Earth Planet. Sci. Lett., 275, 70–79, https://doi.org/10.1016/j.epsl.2008.08.012, 2008. 

Yamauchi, H. and Takei, Y.: Grain-size-sensitive attenuation in partially molten rocks, J. Geophys. Res., 121, 168–188, 2016. 

Yanovskaya, T. B., Antonova, L. V., and Kozhevnikov, V. M.: Surface-wave tomography of Eurasia, Phys. Earth Planet. Inter., 107, 1–20, 1998. 

Yuan, X., Kind, R., Li, X., and Wang, R.: The S receiver functions: synthetics and data example, Geophys. J. Int., 165, 555–564, https://doi.org/10.1111/j.1365-246x.2006.02885.x, 2006. 

Zhu, L. and Kanamori, H.: Moho depth variation in southern California from teleseismic receiver functions, J. Geophys. Res., 105, 2969–2980, 2000. 

Download
Short summary
We introduce TCSEIS-1D, a new open-source software that connects the physical and chemical structure of the Earth’s crust and mantle with seismic observations. This relationship is often difficult to model, but TCSEIS-1D simplifies the process using geophysical and thermodynamic principles. It allows scientists to explore how variations in temperature and composition influence surface wave dispersion and receiver functions, helping to interpret what seismic data reveals about Earth's interior.
Share