Skip to main content
Have a personal or library account? Click to login
GravDyn: A Python Framework for Gravitational Modeling of Irregular Celestial Bodies Using Polyhedral, Mascon, and Series Expansion Methods Cover

GravDyn: A Python Framework for Gravitational Modeling of Irregular Celestial Bodies Using Polyhedral, Mascon, and Series Expansion Methods

Open Access
|Aug 2026

Figures & Tables

Figure 1

Structure of the GravDyn package. The software is organized into two main modules: shape verification and potential calculation. The potential calculation module includes polyhedral, expansion, and mascon-based approaches.

Figure 2

Redrawn schematic of the geometric entities associated with a triangular facet in the polyhedral gravity model of Werner and Scheeres (6), Scheeres (2). The facet is defined by the ordered vertices v1, v2, and v3, with edges E12, E23, and E31, and outward unit normal n^123. The field point is represented in the body-fixed frame (x,y,z).

Figure 3

Example comparison of relative error in the gravitational potential as a function of radial distance r. The polyhedral method is used as a reference solution. The expansion method (green) and mascon approach (blue) show convergence toward the reference as the distance increases. The vertical red line indicates the approximate radius of the body.

Table 1

Performance comparison of gravitational modeling methods for asteroid (99942) Apophis. The test consists of evaluating the gravitational potential at 40,000 field points using a shape model with 3,996 faces. Timings were obtained on a system equipped with an Intel(R) Core(TM) i7-14700 processor (20 physical cores, 28 logical CPUs), with a maximum clock frequency of 5.4 GHz and 33 MiB of L3 cache.

METHODEXECUTION TIME (s)RELATIVE SPEEDMEAN RELATIVE ERROR (%)
Tsoulis155.21×1Reference
Werner9.96×15.6Reference
Mascon (30 layers)20.14×7.76.86×10−5
PSEM1.50×103.51.84×10−4
DOI: https://doi.org/10.5334/jors.743 | Journal eISSN: 2049-9647
Language: English
Page range: 60 - 60
Submitted on: May 14, 2026
Accepted on: Aug 5, 2026
Published on: Aug 31, 2026
Published by: Ubiquity Press
In partnership with: Paradigm Publishing Services

© 2026 Safwan Aljbaae, Valerio Carruba, Allan K. de Almeida Jr, Gabriel Antonio Caritá, Antonio F. B. A. Prado, Marcelo L. Mota, Carlos E. Ferreira Lopes, published by Ubiquity Press
This work is licensed under the Creative Commons Attribution 4.0 License.