Articles | Volume 19, issue 11
https://doi.org/10.5194/gmd-19-5173-2026
https://doi.org/10.5194/gmd-19-5173-2026
Development and technical paper
 | 
16 Jun 2026
Development and technical paper |  | 16 Jun 2026

G&M3D 1.0: an interactive framework for 3D model construction and forward calculation of potential fields

Dengkang Wang, Bo Chen, Kanggui Wei, Jiaxiang Peng, and Rongwen Guo
Abstract

Building source models and performing forward calculations are fundamental for processing, analyzing, and interpreting geophysical data. However, open-source tools that allow for both the flexible and interactive construction of source models and potential-field forward calculations are rare. To address this gap, we develop a new Qt-based software called G&M3D 1.0 (Gravity and Magnetic 3D modelling), which supports interactive three-dimensional (3D) model construction and provides accurate and efficient forward modelling. G&M3D 1.0 features two core functionalities: (1) constructing 3D gravity and magnetic source models and (2) calculating and visualizing their gravity/magnetic fields, as well as their gradient fields. In the 3D Modelling Module, user-defined anomalous bodies are internally discretized into assemblies of rectangular prisms for forward calculation. Based on this prism-based representation, users can conveniently construct regular bodies, such as spheres, cuboids, cylinders, ellipsoids and prismoids, and assign density contrast or magnetic parameters to them. Complex structures can be represented using the Irregular (Layer-Building) tool, which is especially suitable for stratigraphic or faulted formations. In addition, the Forward-Modelling Module allows for the rapid calculation, visualization, and saving of gravity anomalies, gravity gradients, total magnetic intensity, and magnetic gradients generated by the created 3D sources. To enhance computational efficiency, the software employs a 2D discrete convolution algorithm for the gravity and magnetic forward calculations. G&M3D 1.0 offers several significant advantages, including open-source accessibility, flexible interactive operations, an intuitive 3D modelling interface, efficient forward computation, and excellent file portability. As a demonstration of its capabilities, we use G&M3D 1.0 for forward gravity modelling over a salt dome at Vinton Dome in southern Louisiana, U.S., validating its accuracy and practicality.

Share
1 Introduction

Compared with more logistically demanding methods, such as seismic reflection surveys and electrical surveys requiring dense electrode deployment, gravity and magnetic surveys generally offer simpler field procedures, lower acquisition costs, and greater efficiency for large-area data collection. Building forward source models and conducting forward calculations are fundamental to the processing, analysis, and interpretation of gravity and magnetic data (Blakely, 1996). Although several open-source tools already exist, few available tools combine interactive 3D body construction, gravity and magnetic forward calculation, and result visualization within a standalone graphical user interface (GUI).

To estimate the gravitational or magnetic effects generated by anomalous masses, geophysicists often represent complex subsurface volumes or geological bodies as a combination of idealized sources with simple shapes (Blakely, 1996; Hinze et al., 2013). These shapes include spheres, cylinders, vertical laminas, horizontal laminas, prisms, and polyhedra. Most of these idealized sources can be easily integrated over the volume and evaluated in closed analytical forms. Among these simple cells, the rectangular prism is particularly favoured for forward modelling and is also widely used in inversion studies, as it provides a straightforward way to approximate complicated anomalous sources and represents the total underground volume without gaps (Caratori Tontini et al., 2009; Li and Chouteau, 1998; Zhao et al., 2018).

Numerous early scholars have contributed to the closed formulas for gravity and magnetic anomalies caused by rectangular prisms (Bhattacharyya, 1964; Bhattacharyya and Navolio, 1976; Li and Chouteau, 1998; Nagy, 1966; Nagy et al., 2000; Okabe, 1979; Plouff, 1976). For example, Bhattacharyya (1964) presented formulas for the magnetic anomalies resulting from prism-shaped bodies with arbitrary polarization. Nagy (1966) derived a closed expression to calculate the gravitational attraction of a rectangular prism. Bhattacharyya and Navolio (1976) provided spectral expressions for the gravity and magnetic anomalies arising from irregular three-dimensional (3D) sources by combining prisms. Later, Guo et al. (2004) introduced a new singularity-free calculation formula for the forward modelling of the magnetic field produced by a rectangular prism. Additionally, Luo and Yao (2007) optimized the theoretical magnetic calculation formula to enhance its computational efficiency.

A fine subdivision is often required to approximate anomalous bodies more precisely. However, when the subspace is finely subdivided, the repeated cumulative calculations can make the forward analysis time-consuming. To improve calculation efficiency, various algorithms have been developed for forward calculations of gravity and magnetic anomalies. For instance, Wu and Tian (2014) proposed a Gauss-fast Fourier transform (FFT) method for calculating potential fields in the Fourier domain. Zhang and Wong (2015) established a block-Toeplitz-Toeplitz-block (BTTB) structure using a discrete multi-layer model, then embedded the BTTB matrix into a block-cyclic-cyclic-block (BCCB) matrix by applying FFT in forward calculations. Additionally, Chen and Liu (2019) optimized the computation of the weight coefficient matrix and applied a 2D discrete convolution algorithm through block circulant extension (referred to as the BCE method) to calculate the gravity anomaly in the spatial domain. This method was later extended to calculate magnetic anomalies on undulating terrain (Qiang et al., 2019). Subsequently, Hogue et al. (2020) developed an open-source MATLAB code for evaluating gravity and magnetic kernels based on the BCE method. Recently, Yuan et al. (2022) advanced the BCE algorithm for magnetic forward modelling.

Significant progress has been made in the forward calculation of the potential fields; however, constructing 3D anomalous models for algorithm testing or generating synthetic models for inversion studies remains complex and non-intuitive, especially when creating intricate, irregular sources (Jessell et al., 2021). To address these needs, various software packages have been developed for the computational synthesis of geological models and geophysical simulations (Bauville and Baumann, 2019; Cockett et al., 2015; de la Varga et al., 2019; Hassanzadeh et al., 2022; Pirot et al., 2022; Ulug and Karslıoglu, 2022; Wellmann et al., 2016). For example, SimPEG provides a flexible open-source framework for geophysical simulation (Cockett et al., 2015), while geomIO supports geometrical model construction for numerical simulations (Bauville and Baumann, 2019). Additionally, Hogue et al. (2020) developed open-source MATLAB code for the efficient evaluation of gravity and magnetic kernels, and SRBF_Soft focuses on regional gravity field modelling using spherical radial basis functions (Ulug and Karslıoglu, 2022). Despite these advancements, open-source options that seamlessly integrate interactive 3D body construction with efficient forward calculations within a standalone GUI remain rare. This study, therefore, aims to develop a free and open-source software framework that bridges this gap by integrating flexible model construction with high-performance forward calculation of potential fields.

C++ is a widely used general-purpose programming language with strong computational performance and portability, making it well suited for numerical computing and scientific software development. Qt (https://wiki.qt.io, last access: 11 June 2026), a powerful cross-platform C++ framework, is widely used for designing GUI applications across various platforms, including desktop, mobile, and embedded systems. It offers extensive development tools and libraries that facilitate the rapid creation of high-quality applications. For instance, Snopek and Casten (2006) developed the 3GRAINS software using standard C++ with the Qt library for gravity data interpretation.

In this study, we choose the rectangular prism as the primary cell to approximate the source volume. We then develop a software package called G&M3D 1.0 to construct 3D density contrast and magnetization models, as well as to perform forward calculations and visualize their gravity and magnetic fields using the Qt Creator framework and C++. The software includes the following functions: (1) interactively creating various geological models and assigning density contrasts or magnetization parameters; (2) performing fast and accurate forward calculations of gravity, gravity gradients, total magnetic intensity, and magnetic gradients. In addition, G&M3D 1.0 supports visualizing, saving, and exporting the constructed models and the corresponding density or magnetization distributions, as well as the forward-modelling results.

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f01

Figure 1Division schematic diagram of the source region and observation points.

Download

The paper is organized as follows. Section 2 introduces the principles of gravity and magnetic forward calculation, as well as fast calculation strategies. In Sect. 3, we describe the software workflow, focusing on how to create a source model and conduct forward modelling. Section 4 presents an example of applying G&M3D 1.0 to the real-world forward gravity modelling at Vinton Dome, southern Louisiana, U.S. The final section is the conclusions.

2 Forward method

2.1 Forward modelling theory

As shown in Fig. 1, a collection of rectangular prisms offers a straightforward way to approximate the volume of an anomalous body (Li and Chouteau, 1998). Each prism is assumed to have constant physical properties, such as density contrast or magnetization. For a rectangular prism whose dimensions are constrained as [ξ1,ξ2], [η1,η2], [ζ1,ζ2] in the x, y, and z directions (Fig. 1), according to Li and Chouteau (1998) and Nagy et al. (2000), the vertical component of the gravity attraction  Δg and the gravity gradient components Vzz, Vxx, Vyy, Vxz, Vzx, Vyz, Vzy, Vxy and Vyx at the observation point P(x,y,z0) are given by:

(1)Δg(x,y,z0)=-GΔρi=12j=12k=12uijk[xiln(rijk+yj)+yjln(rijk+xi)-zkarctanxiyjzkrijk],(2)Vzz(x,y,z0)=GΔρi=12j=12k=12uijkarctanxiyjzkrijk,

(3)Vxx(x,y,z0)=GΔρi=12j=12k=12uijkarctanyjzkxirijk,(4)Vyy(x,y,z0)=GΔρi=12j=12k=12uijkarctanxizkyjrijk,(5)Vxz(x,y,z0)=Vzx(x,y,z0)=-GΔρi=12j=12k=12uijkln(rijk+yj),(6)Vyz(x,y,z0)=Vzy(x,y,z0)=-GΔρi=12j=12k=12uijkln(rijk+xi),(7)Vxy(x,y,z0)=Vyx(x,y,z0)=-GΔρi=12j=12k=12uijkln(rijk+zk),

where G is the universal gravitational constant (6.672×10-11m3kg-1s-2), Δρ is the density contrast of the rectangular prism, xi=x-ξi, yj=y-ηj, zk=z0-ζk, rijk=xi2+yj2+zk2, and uijk=(-1)i+j+k. The z-axis is taken to be positive downward.

According to Luo and Yao (2007), the three components of the magnetic field anomaly (Bx,By,Bz) and its gradient tensors due to the prism at the observation point P(x,y,z0) are given by:

(8)Bx(x,y,z0)=μ0M4πi=12j=12k=12uijk×[-k1arctanyjzkxirijk+k2ln(rijk+zk)+k3ln(rijk+yj)],(9)By(x,y,z0)=μ0M4πi=12j=12k=12uijk×[k1ln(rijk+zk)-k2arctanxizkyjrijk+k3ln(rijk+xi)],(10)Bz(x,y,z0)=μ0M4πi=12j=12k=12uijk×[k1ln(rijk+yj)+k2ln(rijk+xi)-k3×arctanxiyjzkrijk],(11)Bxx(x,y,z0)=-μ0M4πi=12j=12k=12uijk×[k1yjzkrijk2+xi2xi2+zk2xi2+yj2rijk+k2xirijk(rijk+zk)+k3xirijk(rijk+yj)],(12)Byy(x,y,z0)=-μ0M4πi=12j=12k=12uijk×[k1yjrijk(rijk+zk)+k2xizkrijk2+yj2yj2+zk2xi2+yj2rijk+k3yjrijkrijk+xi],(13)Bzz(x,y,z0)=-μ0M4πi=12j=12k=12uijk×[k1zkrijk(rijk+yj)+k2zkrijk(rijk+xi)+k3xiyjrijk2+zk2xi2+zk2yj2+zk2rijk],

(14)Bxy(x,y,z0)=Byx(x,y,z0)=-μ0M4πi=12j=12k=12uijk[k1xirijkrijk+zk+k2yjrijk(rijk+zk)+k31rijk],(15)Byz(x,y,z0)=Bzy(x,y,z0)=-μ0M4πi=12j=12k=12uijk[k11rijk+k2yjrijk(rijk+xi)+k3zkrijk(rijk+xi)],(16)Bxz(x,y,z0)=Bzx(x,y,z0)=-μ0M4πi=12j=12k=12uijk[k1xirijk(rijk+yj)+k21rijk+k3zkrijk(rijk+yj)],

where M is the induced magnetization intensity of the rectangular prism with the inclination (I) and declination (D), k1=cosIcosD, k2=cosIsinD, k3=sinI, μ0=4π×10-7Hm-1 is the magnetic permeability of the vacuum.

Suppose the magnetic anomaly caused by a magnetic body is small compared with the Earth's main magnetic field. Then the scalar magnitude of the magnetic field anomalies can be approximately calculated by projecting the components of the anomalous field in the direction of the Earth's main magnetic field (Hinze et al., 2013; Plouff, 1976). As a result, the total magnetic intensity anomaly ΔT and its gradients (ΔTx,ΔTy,ΔTz) from the source can be approximated by:

(17)ΔT=BxcosIcosD+BycosIsinD+BzsinI,(18)ΔTx=BxxcosIcosD+ByxcosIsinD+BzxsinI,(19)ΔTy=BxycosIcosD+ByycosIsinD+BzysinI,(20)ΔTz=BxzcosIcosD+ByzcosIsinD+BzzsinI,

where I and D are the inclination and declination of the Earth's geomagnetic field at the observation point.

2.2 Fast forward modelling method

In G&M3D 1.0, we define a source region with the range [0,X], [0,Y], and [0,Z] in the x, y, and z axes, respectively. The source space is divided into N×M×L prisms, each with dimensions of Δx×Δy×Δz. These prisms are labeled as (a,b,c), with their dimensions limited to [ξ1,a=(a-1)Δx,ξ2,a=aΔx], [η1,b=(b-1)Δy,η2,b=bΔy], [ζ1,c=(c-1)Δz,ζ2,c=cΔz], where a=1,2,,N; b=1,2,,M; c=1,2,,L.

The observation points P(xn,ym,z0), where xn=(n-0.5)Δx, n=1,,N, ym=(m-0.5)Δy, m=1,,M, are distributed at the horizontal surface z0 at regular intervals, aligned with the prism centers, as shown in Fig. 1. The gravity/magnetic fields at the observation point P(xn,ym,z0) can be calculated by summing the contributions from all prisms within the source region:

(21) g ( x n , y m , z 0 ) = c = 1 L a = 1 N b = 1 M f ( a , b , c ) × t ( x n , y m , z 0 , a , b , c ) ,

where f(a,b,c) is the density contrast or magnetization value corresponding to the prism (a,b,c), and t(xn,ym,z0,a,b,c) is the field response at P(xn,ym,z0) generated by prism (a,b,c) with unit density contrast or magnetization. Therefore, t represents the kernel (or sensitivity) coefficient, which can be evaluated using any of Eqs. (1)–(16), rather than a simple distance-dependent decay term.

Thanks to Eq. (21), the gravity/magnetic field at all observation points can be presented in matrix-vector form as follows,

(22) g = K f ,

where g is the field vector, f is the density contrast or magnetization parameter vector, K represents the kernel matrix (or sensitivity matrix) with dimension (N×M)×(N×M×L), which is classified as a Block–Toeplitz Toeplitz–Block (BTTB) matrix.

The forward calculations described in Eq. (22) can be time-consuming, particularly when the source space is large and finely discretized. In this study, we apply a 2D discrete convolution algorithm using block circulant extension (BCE) (Chen and Liu, 2019) to optimize the forward calculations. In G&M3D 1.0, we conduct forward calculations of potential fields layer by layer along the z direction using the BCE algorithm. The procedure for the BCE algorithm (Chen and Liu, 2019) is as follows.

First, the density contrast or magnetization values of all the prisms are stored in a 3D matrix E of size N×M×L. For any given layer (e.g., the cth layer, c=1,,L), the parameter matrix is defined as f=E(1:N,1:M,c). A null parameter matrix f (where all elements equal zero) indicates that the prisms in the cth layer make no contribution to the observed field. For non-zero cases, the matrix f is extended with zeros to form an extended parameter matrix F,

(23) F = f 0 N × M 0 N × M 0 N × M

Next, to implement the BCE-based discrete convolution, the observation range is extended along the negative directions of the x-axis and y-axis from [0,X], [0,Y] to [-X+Δx,X], [-Y+Δy,Y], as shown in Fig. 2. This extension is necessary because Eq. (21) represents a linear convolution, whereas the FFT inherently evaluates a circular convolution. By embedding the original problem into an extended domain, the linear convolution can be reformulated in a circulant form and computed efficiently without introducing wrap-around boundary errors at the boundaries. We then compute the field effects generated by the prism (a=1,b=1,c) (dimensions limited as [ξ1=0,ξ2=Δx], [η1=0,η2=Δy], [ζ1=(c-1)Δz,ζ2=cΔz]) at all observation points in the extended area. Note that the extended area serves only as an auxiliary computational domain; only the results within the original observation region are retained. This results in an extended response matrix T with a size of (2N-1)×(2M-1) for the cth layer,

(24) T = t 1 , 1 t 1 , 2 M - 1 t n , m t 2 N - 1 , 1 t 2 N - 1 , 2 M - 1 ,

where tn,m(n=1,2,,2N-1;m=1,2,,2M-1) is the field response at the observation P(xn,ym,z0) where xn=(n-N-0.5)Δx, ym=(m-M-0.5)Δy, which is calculated using Eqs. (1)–(16) with unit density contrast or induced magnetization intensity (namely, Δρ=1, M=1).

We extend T by zeros along the top and the left margins, as shown in Fig. 2. This creates a matrix T0 with a size of 2N×2M,

(25) T 0 = 0 0 1 × ( 2 M - 1 ) 0 ( 2 N - 1 ) × 1 T .
https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f02

Figure 2The sketch map shows the extended observation points and source region for the BCE method. The extended observation points are shown in red, and the observation points in the original observation domain are shown in black. The prism (1,1) is marked in blue. A single-layer model consisting of 4×4 prisms is taken as an example.

Download

The matrix T0 in Eq. (25) can then be rewritten into four N×M submatrices as,

(26) T 0 = t ̃ 11 t ̃ 12 t ̃ 21 t ̃ 22 .

By reordering the submatrices in Eq. (26), we get

(27) C = t ̃ 22 t ̃ 21 t ̃ 12 t ̃ 11 .

The matrix C in Eq. (27) is identified as a Block–Cyclic–Cyclic–Block (BCCB) matrix. The 2D discrete convolution of this matrix with the extended parameter matrix F can be efficiently computed using the fast Fourier transform (Chen and Liu, 2019; Vogel, 2002) as follows,

(28)C̃=fft2(C),(29)F̃=fft2(F),(30)G̃=C̃.F̃,(31)G=ifft2(G̃),(32)Gc=G(1:N,1:M),

where fft2 is the 2D fast Fourier transform, and ifft2 denotes the 2D inverse fast Fourier transform. The symbol . represents the dot multiplication operator. Gc is the resulting field at the observations generated by the anomalous prisms in the cth layer.

Repeat these steps for each layer, and the total field g at all observations is obtained by,

(33) g = c = 1 L G c .

From a programming perspective, we implement two strategies to enhance computational efficiency in G&M3D 1.0.

2.2.1 Strategy 1

We take advantage of the fast matrix operation in Qt to optimize the forward calculations in G&M3D 1.0. We construct in advance two new matrices Xi and Yj with sizes of (2N-1)×(2M-1),

(34)Xi=x1x1xnx2N-1x2N-1-ξiI,(35)Yj=y1y2M-1ymy1y2M-1-ηjI,

where i,j=1,2, xn=(n-N+0.5)Δx, ym=(m-M+0.5)Δy, (n=1,2,,2N-1; m=1,2,,2M-1), ξ1=0, ξ2x, η1=0, η2y. I is an all-ones matrix. Thanks to the Eqs. (32) and (33), we can substitute the matrices Xi and Yj to xi and yj in any of the Eqs. (1)–(16). This allows the extended response matrix T at all observations to be computed by a single dot product in Qt, rather than relying on a large number of cyclic calculations.

2.2.2 Strategy 2

Since the kernel matrices for gravity and magnetic components under vertical magnetization are symmetric (Hogue et al., 2020), k1 and k2 in Eqs. (8)–(16) are zero, and only k3 remains. In these cases, we only calculate the submatrix t̃22 in C (Eq. 27) for these cases. The other three submatrices (t̃11,t̃12,t̃21) can be derived from t̃22, because they share the same value or have the opposite sign as t̃22. This strategy results in a higher efficiency for forward calculations of gravity anomalies, gravity gradient tensor, and magnetic components with vertical magnetization compared to those for the magnetic field with non-vertical magnetization. As we know, the forward calculations of magnetic fields depend on the declination and inclination of the sources. If the anomalous bodies in the source model have varying declinations or inclinations, we classify these bodies by their declinations or inclinations and perform forward calculations of each category separately.

2.3 Synthetic model tests

To verify the efficiency of the forward calculation in G&M3D 1.0, we design a synthetic model with specified density contrast and magnetization for gravity and magnetic forward calculations. The model region extends from 0–50 km along the x, y, and z axes. It consists of an anomalous body with a density contrast of 1 g cm−3 and an induced magnetization of 1 A m−1. The center of the body is located at (25, 25, 25) km with a size of 25km×25km×20km.

We evaluate the computation time for gravity and magnetic forward calculations at five different numerical resolutions, employing 50×50×50, 100×100×100, 200×200×200, 400×400×400, and 800×800×800 prisms in the x-, y-, and z-directions, respectively. This corresponds to grid intervals of 1000, 500, 250, 125 and 62.5 m. In these tests, the observation points are set at the horizontal positions corresponding to the prism centers. Consequently, as the numerical resolution increases, the number of observation points also grows accordingly. The absolute computation times for the forward calculation of the gravity and magnetic fields are summarized in Table 1.

Table 1The statistics of the absolute consumption times for forward computations of the gravity and magnetic fields with five different numerical resolutions.

Note. All the tests are carried out on a desktop with an AMD Ryzen 7 3700X CPU (8 cores) and 32 GB of memory.

Download Print Version | Download XLSX

Table 1 shows that the computation time increases significantly as the numerical resolution increases. Note that the output results of the gravity calculation in Table 1 consist of 7 components, i.e., Δg, Vzz, Vxx, Vyy, Vxz, Vyz, Vxy, and the results of magnetic forward modelling include 13 components (i.e., Bx, By, Bz, Bxx, Byy, Bzz, Bxy, Bxz, Byz, ΔT, ΔTx, ΔTy, ΔTz). Due to the implementation of Strategy 2, which decouples the computation of vertically and non-vertically magnetized models, the efficiency of forward modelling improves significantly. In a 200×200×200 grid case, the computation time is reduced by 71.83 % (34.37 s vs. 9.68 s). These tests demonstrate that G&M3D 1.0 is a high-speed tool for forward calculations of the gravity and magnetic fields. It is worth noting that the layers with non-zero density/magnetization occupy 40 % of the total layers in the z direction in these tests. The forward calculation is faster if the anomalous body's vertical dimension is reduced, but it requires more time if the vertical dimension increases. For example, in the 100×100×100 case, under vertical magnetization conditions, two anomalous bodies with the same number of non-zero prisms but different spatial distributions, namely 1×1×100 prisms and 100×1×1 prisms, require total computation times of about 2.65 and 0.04 s, respectively, when calculating gravity anomalies, magnetic anomalies, and the corresponding gradient components.

To further enhance the computational performance, we implement parallel computation for the layer-by-layer forward calculations along the z-direction. In the BCE framework, the field contribution of each layer is computed independently, and the final response is obtained by summing the contributions from all layers. The parallelization is realized using task-based multithreading (standard C++), where layer-wise forward responses are launched asynchronously and collected after completion. Using the same synthetic model, discretized into 200×200×200 prisms, we record the computation times under vertical magnetization conditions using 8 threads, and the computation is approximately 3.45 times faster than that of the serial implementation.

To evaluate G&M3D 1.0 against existing open-source tools, we compare its computational efficiency with SimPEG (Cockett et al., 2015). For the 200×200×200 case, the gravity forward calculation in SimPEG takes 1606.62 s, whereas G&M3D 1.0 requires only 2.52 s. Notably, at 800×800×800 resolution, SimPEG fails due to excessive memory overflow, while G&M3D 1.0 maintains robust performance.

To validate the computational accuracy of G&M3D 1.0, we design a synthetic model consisting of three buried spheres, for which analytical solutions are available. The centers of the three spheres are located at (50, 55, 50 m), (140, 75, 65 m), and (110, 155, 80 m), with radii of 20, 30 and 35 m, respectively. The density contrasts are all set to 1 g cm−3, and the induced magnetizations are all set to 1 A m−1. The computational domain is 200m×200m×200m, which is discretized into 800×800×800 cells. Gravity anomalies Δg and magnetic anomalies ΔT are calculated separately, and the corresponding analytical solutions serve as references. The computed and analytical results are compared in Fig. 3. As shown in Fig. 3, the differences between our results and the analytical solutions are negligible. The maximum absolute errors of the gravity and magnetic anomalies are 7.5×10-6mGal and 5.4×10-3nT, respectively.

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f03

Figure 3Comparison between analytical solutions and BCE results for gravity and magnetic anomalies produced by a synthetic model of three buried spheres.

Download

3 The framework and functions of G&M3D

In this section, we introduce the functions and operational procedures of G&M3D 1.0. A detailed software instruction manual, including installation steps, model construction, forward modelling settings and result visualization, is provided in the Supplement. The software consists of two main modules: (1) a 3D-Modelling module for constructing source bodies and assigning physical properties, and (2) a Forward-Modelling module for calculating and visualizing the resulting gravity and magnetic fields. The workflow of G&M3D 1.0 is shown in Fig. 4. Architecturally, G&M3D 1.0 separates interactive model construction from numerical forward computation, with model data serving as an intermediate layer between the GUI and the forward-calculation kernels, thereby enhancing maintainability and extensibility. In addition, the software supports topography modelling. Users can import and visualize a topographic surface, where anomalous bodies are constrained to remain below it, and observation points can be assigned topography-dependent elevations for forward calculations over non-planar observation surfaces.

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f04

Figure 4Workflow in G&M3D 1.0 and G&M3D 1.0 initial interface.

Download

G&M3D 1.0 is based on a right-handed Cartesian coordinate system. When users open G&M3D 1.0 and enter the start interface (Fig. 4), they can access the 3D-Modelling module to create a new source model by clicking the button Create Model, or they can input an existing model data file to conduct gravity or magnetic forward calculations through the Forward-Modelling module by clicking the button Input Model.

The main interface of the Modelling module is shown in Fig. 5a. By default, G&M3D 1.0 generates an initial source region (Fig. 5b). To customize this for their needs, users should first set the source region by clicking the “Settings” button in the operation area of the main interface. In the pop-up window for the Setting Field (Fig. 5b), users can configure the basic parameters that define the source region, including the source range, mesh interval, and length unit. The supported length units are meters (m), hectometers (hm), and kilometers (km), which allow for multi-scale forward modelling simulations. If a topographic file is available, users should import it before model construction by using the “Import Topo” function in G&M3D 1.0.

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f05

Figure 5(a) Interface of the Modelling Module. The top functional area contains tools for creating different shapes on the left and various action buttons on the right. The middle workspace is used to display the created models (the 2D floor plan is shown in three areas on the right), and the body list is shown on the left. (b) Setting Field window showing the default initial source model settings.

Download

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f06

Figure 6Parameter input interfaces for the five regular tools, including (a) Sphere, (b) Cuboid, (c) Cylinder, (d) Ellipsoid, and (e) Prismoid.

Download

After that, users can select one of the tools on the “Add Body” panel to create anomalous bodies. G&M3D 1.0 supports sequential creation of multiple anomaly bodies, with all generated bodies automatically listed in the “Body List” section. To ensure modelling flexibility and operational efficiency, right-click functionality is provided for existing anomalies, allowing users to modify and delete them. The modification process uses the same intuitive interface as the creation process, making it just as easy to change bodies as it is to create them. G&M3D 1.0 also allows overlapping anomalous bodies. In overlapping regions, the physical properties of the later-created body overwrite those previously assigned to the corresponding prisms.

The following section explains the construction methods for regular and irregular bodies, which differ in their modelling approaches. However, both types share the same parameter configurations for gravity and magnetic properties. As shown in the “Property” panel of Fig. 6, only four parameters need to be specified: density contrast, induced magnetization intensity, magnetic declination, and magnetic inclination. Spatially heterogeneous physical-property distributions within a single body can be represented in G&M3D 1.0 through continuously varying functions. In particular, the software supports user-defined functional forms, which allow flexible construction of bodies with spatially variable density contrast or magnetization.

G&M3D 1.0 provides five tools for creating regular-shaped bodies: Sphere, Cuboid, Cylinder, Ellipsoid and Prismoid. Figure 6 displays the parameter input interfaces for each tool. (1) Sphere: This tool requires the radius and the coordinates of the sphere's center. (2) Cuboid: Users must input the geometric centre coordinates and the extension lengths along three orthogonal axes. (3) Cylinder: Four key parameters are needed to define a cylinder, including the trend direction, extension length, cross-sectional radius, and section centre coordinates. (4) Ellipsoid: A rotated ellipsoid is defined by the centre coordinates, the radii of the three semi-axes, and the rotation angle. (5) Prismoid: This geometry is defined by three sets of spatial parameters: the x-coordinates of its four y-parallel edges, the y-coordinates of its four x-parallel edges, and the z-values for its top and bottom planes. To enhance modelling flexibility, the “Direction” parameter specifies the normal vector orientation of the bounding planes relative to the coordinate axes. The Prismoid tool maintains strict geometric validity by enforcing essential constraints: the x-coordinates must be monotonically increasing (x1<x2), and the y-coordinates (y1<y2) likewise, ensuring proper spatial relationships for meaningful prism construction. All bodies require input of either density contrast or magnetization. Additionally, the “Mark” panel allows users to customize both the body's name and display colour according to their preferences. As an example, we create two bodies using each tool, resulting in a total of ten bodies, which are presented in Fig. 7.

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f07

Figure 7Illustration of regular modelling tools showing ten anomalous bodies.

Download

G&M3D 1.0 features an Irregular tool that enables users to create irregular bodies, as shown in Fig. 8. With the Irregular tool, users can accurately construct irregularly shaped bodies by interactively drawing their spatial boundaries across multiple layers. This layer-stacking method allows for the reconstruction of complex volumetric shapes that cannot be represented using conventional geometric primitives. G&M3D 1.0 automatically generates a set of prisms that fit within the limits defined by users in one layer, extending along the x, y, or z direction. To enhance operational efficiency, the software employs a dual-mode: Build Mode for creating anomalous prismatic units, and Erase Mode for removing existing anomalous units. These complementary modes work in tandem to minimize operational errors, effectively eliminating the need for complete rebuilds in case of mistakes. To maximize operational flexibility while avoiding redundant constraints, both modes maintain identical workflows and interaction processes. To facilitate reference-guided modelling, the Irregular tool also allows users to load a semi-transparent background image as a visual reference (Fig. 8).

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f08

Figure 8Interface of the Irregular tool. The main area is used to delineate the boundaries of the anomalous bodies. Right panels contain functional zones and parameter setting areas. Build Completed and Cancel buttons are used to finalize or abort the entire irregular modelling process, while all other functions only operate on the current layer. In this example, a screenshot adapted from Thomas (1997) is used as a semi-transparent background template to construct an irregular sulphide deposit with a density contrast of 1.5 g cm−3.

In the Irregular tool, G&M3D 1.0 offers four drawing modes: Rectangle, Circular, Custom, and Single Click. The modelling process uses a standardized left-click operation across all modes. Users press and hold the mouse button to activate a real-time visual preview of the modelling area, and release it to confirm and finalize the operation. In the Custom mode, users can draw any closed curve to define the boundary of the anomalous body, allowing automatically generated prisms to fit the boundaries more accurately with gradual sketching. To enhance workflow efficiency, G&M3D 1.0 includes Copy and Paste functionality for layers. Once users have finalized the geometric modelling and parameter settings (via the unified Property panel, consistent with regular modelling tools) for the current layer, they must manually save the layer data using the Save Layer option. After completing the model construction for all target layers, users can execute the “Build Completed” command to finalize and save the complete dataset. An example of constructing an irregular sulphide deposit model beneath undulating topography is shown in Fig. 9.

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f09

Figure 9An irregular sulphide deposit model constructed using the Irregular tool.

Download

Once all anomalous bodies have been constructed, G&M3D 1.0 allows users to export both the model geometry and the corresponding physical property distributions in multiple data formats. Supported export formats currently include binary, text and UBC-GIF, which can be selected directly from the drop-down menu in the Export tool. This design not only facilitates the segmentation of workflows between building source models and forward modelling tasks, potentially assigned to different operators, but also enhances operational flexibility throughout the gravity and magnetic data processing workflow. The binary .bin format efficiently retains comprehensive parametric data, while the text-based .txt export adheres to standardized formatting specifications to facilitate interdisciplinary data exchange.

G&M3D 1.0 provides two methods for forward modelling. Users can either initiate the computation through the Forward tool found in the “Operate” panel (Fig. 5) to build source models and perform forward modelling within a unified project environment or directly import the pre-constructed models into the Forward-Modelling module using the Input Model option (Fig. 4). Figure 10 shows the main interface of the Forward-Modelling module. To perform forward calculations, users must first select the desired anomalous bodies by checking the corresponding boxes in the “Body list” panel. Once the bodies are selected, users can initiate the forward modelling process by clicking the Forward Model button, which opens the Forward Model interface (Fig. 10b). In this interface, users configure the observation parameters, including observation height and optional noise levels for simulating mobile-platform gravity and magnetic surveys. In addition, users can choose whether to enable parallel computation and whether to perform the calculation with topography. After configuring these settings, clicking the ok button will execute the forward calculation. Upon completion, G&M3D 1.0 automatically generates a pseudocolor plot of the results. Users can switch between different datasets using the drop-down box. The forward modelling results can be viewed in G&M3D 1.0 or exported as datasets by clicking the Save Data button.

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f10

Figure 10(a) Interface of the Forward-Modelling module. The left workspace is used to visualize the gravity/magnetic field. The upper right area shows the body list, and different bodies can be selected for forward calculation. The functional control area is located in the lower right section. A sulphide deposit is shown as an example, adapted according to Thomas (1997). (b) Parameter input pop-up window for Gravity forward modelling, Magnetic forward modelling. A certain proportion of Gaussian noise can be added to the field values to simulate errors. Mag-Inclination and Mag-Declination correspond to the inclination (I) and declination (D) of the Earth's geomagnetic field in Eqs. (17)–(20). Users can freely select the field category to be calculated. (c) Results calculated over undulating topography.

Download

4 Application

The 3D modelling and forward calculations of the gravity and magnetic fields in G&M3D 1.0 provide practical tools for potential data analysis and interpretation. Although inversion is not implemented in the current version, the software provides flexible initial or synthetic models for studies related to inversion. Researchers often conduct synthetic model experiments to test the feasibility of their algorithms and assess parameter sensitivity. With G&M3D 1.0, they can easily create numerous density contrast or susceptibility models and quickly obtain the gravity/magnetic data. Moreover, G&M3D 1.0 serves as a practical educational resource for teaching geophysics, particularly for beginners in gravity and magnetic exploration. Educators and students can utilize G&M3D 1.0 to construct simplified geophysical models, enabling them to explore the principles of the potential fields through interactive visualization and analysis.

To illustrate the functionality of G&M3D 1.0, we perform a gravity modelling analysis of a representative salt dome as an example. This salt dome model is based on available seismic and drill-hole data from Vinton Dome in southern Louisiana (Ennen, 2012). It features a caprock with positive-density contrast at depths ranging from 160–760 m, alongside a negative-density contrast salt volume located deeper. In the study by Ennen (2012), gravity gradients produced by this salt dome model are calculated and compared to observed airborne gravity gradient data to identify potential oil signals. As highlighted by Ennen (2012), constructing such an irregular density contrast model for a salt dome is a labor-intensive process.

In this example, we utilize the salt dome model described by Ennen (2012) to demonstrate the 3-D modelling and forward calculations of gravity gradients using G&M3D 1.0. According to this study, the source space is divided into 66×45×28 prisms with dimensions of 100m×100m×100m. The density anomaly of the salt dome varies in geometry at different depths, with differing density contrasts, as presented in Table 2.

Table 2Density contrast distribution of the salt dome model along the depth.

Download Print Version | Download XLSX

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f11

Figure 11The salt dome model built by G&M3D 1.0.

Download

https://gmd.copernicus.org/articles/19/5173/2026/gmd-19-5173-2026-f12

Figure 12The gravity field and gradient components generated by the salt dome model using G&M3D 1.0. Here, 1mGal=10-5ms-2 and 1E=10-9s-2.

Download

In G&M3D 1.0, we apply the Irregular tool in the Modelling Module to create a density contrast model of the salt dome. This salt dome structure can be approximated by 12 separate irregular bodies located at different depths, each with a constant density contrast, as shown in Table 2. We build these bodies successively using the Modelling Module in G&M3D 1.0. First, we set the range for the source region in the x, y, and z axes to [0 7 km], [0 7 km], and [0 5 km], respectively. The division step is set to be 100m×100m×100m. Next, in the Layer-Building interface, we specify the layer number as 28 and the density contrast as -170kgm-3. Using Custom mode, we outline the geometry of the salt dome at this depth in the workspace, and then we use Single Click mode to make slight modifications to its shape. After making these modifications, we save this anomalous body and change the layer number to 27. The copy and paste functions allow us to visualize the source geometry from the previous layer on the interface, which facilitates anomaly source localization. Users can easily modify the existing layer structure, significantly improving modelling efficiency. This process can be repeated to quickly build the complete salt dome model (Fig. 11).

After constructing the 12 anomalous bodies that form the salt dome model, we use the Forward Modelling Module to calculate the gravity fields and gradients. We set the observation range to match that of the source, with the observation height fixed at 200 m. The resulting gravity fields and gradient components are shown in Fig. 12. To validate the accuracy of G&M3D 1.0, we conduct a comparative analysis with spatial domain approaches (Li and Chouteau, 1998). The maximum absolute difference is 1.2×10-12mGal for the gravity anomaly and 1.3×10-12E for the gravity-gradient components. These data are consistent with the forward simulation results provided by Ennen (2012), confirming the accuracy of the forward calculation in G&M3D 1.0.

5 Conclusions

The study introduces an open-source software called G&M3D 1.0, developed using the Qt application framework and C++ programming language. G&M3D 1.0 is designed to create 3D models of density contrast and magnetization, as well as to compute their gravity and magnetic fields. Users can run the software either from source code or as a standalone desktop application. With G&M3D 1.0, users can easily create arbitrary anomalous bodies and perform modifications, deletions, storage, and display of the model. Furthermore, G&M3D 1.0 extends the efficient BCE algorithm for forward calculations of gravity gradient tensors and magnetic gradient tensors. Lastly, we demonstrate the gravity modelling over the Vinton salt dome in southern Louisiana, U.S. This practical application illustrates how G&M3D 1.0 can be utilized for geophysical research, training, data processing and interpretation. The modular architecture of G&M3D 1.0 also provides a robust foundation for future extensions, including incorporating additional body types, more flexible property representations, and advanced new forward functions.

Code and data availability

The G&M3D 1.0 source code used in this study is available at https://doi.org/10.5281/zenodo.19674359 (Wang et al., 2025a). The input and output data presented in this manuscript are available from https://doi.org/10.5281/zenodo.17512458 (Wang et al., 2025b).

Supplement

The supplement related to this article is available online at https://doi.org/10.5194/gmd-19-5173-2026-supplement.

Author contributions

DW: Developed the codes, and drafted the paper. BC: Provided the ideas and their implementation, and revised the paper. KW: Developed the codes, and drafted the paper. JP: Provided the initial functions for magnetic forward calculations. RG: Revised the paper. All authors discussed the results and contributed to the review and revision of the manuscript.

Competing interests

The contact author has declared that none 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

We thank Longwei Chen and Shiyu Zhang for their help in the software development. We thank the High-Performance Computing Center of Central South University for support.

Financial support

This research has been supported by the Deep Earth Probe and Mineral Resources Exploration – National Science and Technology Major Project (grant no. 2025ZD1009100), the National Natural Science Foundation of China (grant nos. 42474123 and 42074109), and the Science Foundation of Hunan Province, China (grant no. 2025JJ90240).

Review statement

This paper was edited by Boris Kaus and reviewed by two anonymous referees.

References

Bauville, A. and Baumann, T. S.: geomIO: An open-source MATLAB toolbox to create the initial configuration of 2-D/3-D thermo-mechanical simulations from 2-D vector drawings, Geochem. Geophy. Geosy., 20, 1665–1675, https://doi.org/10.1029/2018GC008057, 2019. 

Bhattacharyya, B.: Magnetic anomalies due to prism-shaped bodies with arbitrary polarization, Geophysics, 29, 517–531, https://doi.org/10.1190/1.1439386, 1964. 

Bhattacharyya, B. and Navolio, M.: A fast Fourier transform method for rapid computation of gravity and magnetic anomalies due to arbitrary bodies, Geophys. Prospect., 24, 633–649, https://doi.org/10.1111/j.1365-2478.1976.tb01562.x, 1976. 

Blakely, R. J.: Potential theory in gravity and magnetic applications, Cambridge University Press, https://doi.org/10.1017/CBO9780511549816, 1996. 

Caratori Tontini, F., Cocchi, L., and Carmisciano, C.: Rapid 3-D forward model of potential fields with application to the Palinuro Seamount magnetic anomaly (southern Tyrrhenian Sea, Italy), J. Geophys. Res., 114, https://doi.org/10.1029/2008JB005907, 2009. 

Chen, L. and Liu, L.: Fast and accurate forward modelling of gravity field using prismatic grids, Geophys. J. Int., 216, 1062–1071, https://doi.org/10.1093/gji/ggy480, 2019. 

Cockett, R., Kang, S., Heagy, L. J., Pidlisecky, A., and Oldenburg, D. W.: SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications, Comput. Geosci., 85, 142–154, https://doi.org/10.1016/j.cageo.2015.09.015, 2015. 

de la Varga, M., Schaaf, A., and Wellmann, F.: GemPy 1.0: open-source stochastic geological modeling and inversion, Geosci. Model Dev., 12, 1–32, https://doi.org/10.5194/gmd-12-1-2019, 2019. 

Ennen, C.: Mapping gas-charged fault blocks around the Vinton Salt Dome, Louisiana using gravity gradiometry data, MS thesis, Department of Earth and Atmospheric Sciences, University of Houston, Houston, TX, USA, https://uh-ir.tdl.org/items/4d8ecb93-e2b5-466b-a5ac-2099a5e10a62 (last access: 11 June 2026), 2012. 

Guo, Z. H., Guan, Z. N., and Xiong, S. Q.: Cuboid Delta T and its gradient forward theoretical expressions without analytic odd points, Chinese J. Geophys.-Ch., 47, 1131–1138, https://doi.org/10.1002/cjg2.615, 2004. 

Hassanzadeh, A., Vázquez-Suñé, E., Corbella, M., and Criollo, R.: An automatic geological 3D cross-section generator: Geopropy, an open-source library, Environ. Modell. Softw., 149, 105309, https://doi.org/10.1016/j.envsoft.2022.105309, 2022. 

Hinze, W. J., von Frese, R. R. B., and Saad, A. H.: Gravity and magnetic exploration: Principles, practices, and applications, Cambridge University Press, https://doi.org/10.1017/CBO9780511843129, 2013. 

Hogue, J. D., Renaut, R. A., and Vatankhah, S.: A tutorial and open source software for the efficient evaluation of gravity and magnetic kernels, Comput. Geosci., 144, 104575, https://doi.org/10.1016/j.cageo.2020.104575, 2020. 

Jessell, M., Ogarko, V., de Rose, Y., Lindsay, M., Joshi, R., Piechocka, A., Grose, L., de la Varga, M., Ailleres, L., and Pirot, G.: Automated geological map deconstruction for 3D model construction using map2loop 1.0 and map2model 1.0, Geosci. Model Dev., 14, 5063–5092, https://doi.org/10.5194/gmd-14-5063-2021, 2021. 

Li, X. and Chouteau, M.: Three-dimensional gravity modeling in all space, Surv. Geophys., 19, 339–368, https://doi.org/10.1023/A:1006554408567, 1998. 

Luo, Y. and Yao, C.: Forward modeling of gravity, gravity gradients, and magnetic anomalies due to complex bodies, J. China Univ. Geosci., 18, 280–286, https://doi.org/10.1016/S1002-0705(08)60008-4, 2007. 

Nagy, D.: The gravitational attraction of a right rectangular prism, Geophysics, 31, 362–371, https://doi.org/10.1190/1.1439779, 1966. 

Nagy, D., Papp, G., and Benedek, J.: The gravitational potential and its derivatives for the prism, J. Geodesy, 74, 552–560, https://doi.org/10.1007/s001900000116, 2000. 

Okabe, M.: Analytical expressions for gravity anomalies due to homogeneous polyhedral bodies and translations into magnetic anomalies, Geophysics, 44, 730–741, https://doi.org/10.1190/1.1440973, 1979. 

Pirot, G., Joshi, R., Giraud, J., Lindsay, M. D., and Jessell, M. W.: loopUI-0.1: indicators to support needs and practices in 3D geological modelling uncertainty quantification, Geosci. Model Dev., 15, 4689–4708, https://doi.org/10.5194/gmd-15-4689-2022, 2022. 

Plouff, D.: Gravity and magnetic fields of polygonal prisms and application to magnetic terrain corrections, Geophysics, 41, 727–741, https://doi.org/10.1190/1.1440645, 1976. 

Qiang, J., Zhang, W., Lu, K., Chen, L., Zhu, Y., Hu, S., and Mao, X.: A fast forward algorithm for three-dimensional magnetic anomaly on undulating terrain, J. Appl. Geophys., 166, 33–41, https://doi.org/10.1016/j.jappgeo.2019.04.009, 2019. 

Snopek, K. and Casten, U.: 3GRAINS: 3D Gravity Interpretation Software and its application to density modeling of the Hellenic subduction zone, Comput. Geosci., 32, 592–603, https://doi.org/10.1016/j.cageo.2005.08.008, 2006. 

Thomas, M. D.: Gravity prospecting for massive sulphide deposits in the Bathurst Mining Camp, New Brunswick, Canada, in: Proceedings of Exploration 97: Fourth Decennial International Conference on Mineral Exploration, edited by: Gubins, A. G., GEO F/X, 837–840, https://www.911metallurgist.com/wp-content/uploads/2015/10/Gravity-Prospecting-For-Massive-Sulphide-Deposits-in-the-Bathurst-Mining-Camp-New- Brunswick-Canada.pdf (last access: 11 June 2026), 1997. 

Ulug, R. and Karslıoglu, M. O.: SRBF_Soft: a Python-based open-source software for regional gravity field modeling using spherical radial basis functions based on the data-adaptive network design methodology, Earth Sci. Inform., 15, 1341–1353, https://doi.org/10.1007/s12145-022-00790-y, 2022. 

Vogel, C. R.: Computational methods for inverse problems, SIAM, https://doi.org/10.1137/1.9780898717570, 2002. 

Wang, D., Chen, B., Wei, K., Peng, J., and Guo, R.: GM3D-1.0, Zenodo [code], https://doi.org/10.5281/zenodo.19674359, 2025a. 

Wang, D., Chen, B., Wei, K., Peng, J., and Guo, R.: G&M3D 1.0: an Interactive Framework for 3D Model Construction and Forward Calculation of Potential Fields, Zenodo [data set], https://doi.org/10.5281/zenodo.17512458, 2025b. 

Wellmann, J. F., Thiele, S. T., Lindsay, M. D., and Jessell, M. W.: pynoddy 1.0: an experimental platform for automated 3-D kinematic and potential field modelling, Geosci. Model Dev., 9, 1019–1035, https://doi.org/10.5194/gmd-9-1019-2016, 2016. 

Wu, L. Y. and Tian, G.: High-precision Fourier forward modeling of potential fields, Geophysics, 79, G59–G68, https://doi.org/10.1190/geo2014-0039.1, 2014.  

Yuan, Y., Cui, Y., Chen, B., Zhao, G., Liu, J., and Guo, R.: Fast and high accuracy 3D magnetic anomaly forward modeling based on BTTB matrix, Chinese J. Geophys.-Ch., 65, 1107–1124, https://doi.org/10.6038/cjg2022P0126, 2022. 

Zhang, Y. and Wong, Y. S.: BTTB-based numerical schemes for three-dimensional gravity field inversion, Geophys. J. Int., 203, 243–256, https://doi.org/10.1093/gji/ggv301, 2015. 

Zhao, G., Chen, B., Chen, L., Liu, J., and Ren, Z.: High-accuracy 3D Fourier forward modeling of gravity field based on the Gauss-FFT technique, J. Appl. Geophys., 150, 294–303, https://doi.org/10.1016/j.jappgeo.2018.01.002, 2018. 

Download
Short summary
We developed G&M3D 1.0, a user-friendly software package that enables users to build, visualize, and analyze 3D models of subsurface geological structures. We tested the software using a Louisiana salt dome case study, demonstrating its practical value for geological interpretation. By providing both open-source code and a ready-to-use application, this work offers an accessible platform for education, research, and professional geophysical analysis.
Share