# Gravity Density

## Contents

# Gravity Density#

This Inversion Test Problem explores the gravitational acceleration of a three-dimensional (example 1) and pseude-2D (example 2) density model onto specified receiver locations. In this example, only the z-component of the gravityational force is calculated. The underlying code itself is capable of calculating all three gravity components and six gradiometry components and could be modified quickly if there is the need.

The gravitational acceleration is calculated using Newton’s law of universal gravitation:

With G being the gravitational constant, r is the distance of the mass to the receiver and m is the overall mass of the model, which depends on the density \(\rho\) and the volume V:

Here, we solve volume integral for the vertical component of \(g\) analytically, using the approach by Plouff et al., 1976:

with \(R_{ijk}=\sqrt{a_i^2 + b_j^2 + z_k^2}\) and \(a_i, b_j, z_k\) being the distances from receiver N to the nodes of the current prism M (i.e. grid cell) in x, y, and z directions. It is assumed that \(\rho=const.\) within each grid cell. For more information, please see the original paper:

Plouff, D., 1976. *Gravity and magnetic fields of polygonal prisms and application to magnetic terrain corrections.* **Geophysics**, 41(4), pp.727-741

For further reading, see also Nagy et al., 2000:

Nagy, D., Papp, G. and Benedek, J., 2000. *The gravitational potential and its derivatives for the prism.* **Journal of Geodesy**, 74(7), pp.552-560

**Example details:**

**Model:**Density values on a regularly spaced, rectangular grid. Example-model one is a 3D cube of low density (10 \(kgm^{-3}\)) containing a centrally located high-density cube (1000 \(kgm^{-3}\)). Example-model two repeats Figure 2 of Last and Kubik, 1983, which means a pseudo-2D model containing zero-density background cells and centrally high-density cells in the shape of a cross (1000 \(kgm^{-3}\)).Last, B.J. and Kubik, K., 1983.

*Compact gravity inversion.***Geophysics**, 48(6), pp.713-721**Returned data:**Gravitational acceleration (vertical component).**Forward:**The volume integral is solved analytically following the above described approach by Plouff et al., 1976.

Contribution Metadata for *Gravity calculation from a density model*

This example implements a simple gravityforward problem. The model represents density withinthe earth on a 3D Cartesian grid.

- Author
Hannes Hollmann

- Contact
Hannes Hollmann (hannes.hollmann@anu.edu.au)

## LICENCE#

Copyright 2021-2022 InLab All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.