Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 21 additions & 20 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"affiliation": "Research School of Earth Sciences, The Australian National University",
"orcid": "0000-0003-3685-174X"
},
{
"name": "John Mansour",
"affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University",
"orcid": "0000-0001-5865-1664"
},
{
"name": "Julian Giordani",
"affiliation": "School of Earth Science, The University of Sydney",
Expand All @@ -13,46 +18,42 @@
{
"name": "Matt Knepley",
"orcid": "0000-0002-2292-0735",
"affiliation": "Computer Science and Engineering, University at Buffalo",
},
{
"name": "Romain Beucher",
"affiliation": "Research School of Earth Sciences, The Australian National University",
"orcid": "0000-0003-3891-5444"
"affiliation": "Computer Science and Engineering, University at Buffalo"
},
{
"name": "Thyagarajulu Gollapalli",
"orcid": "0000-0001-9394-4104",
"affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University",
"name": "Ben Knight",
"affiliation": "School of Earth and Planetary Sciences, Curtin University",
"orcid": "0000-0001-7919-2575"
},
{
"name": "Juan Carlos Graciosa",
"orcid": "0000-0003-0817-354X",
"affiliation": "Research School of Earth Sciences, The Australian National University",
"affiliation": "Research School of Earth Sciences, The Australian National University"
},
{
"name": "Ben Knight",
"affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University",
"orcid": "0000-0001-7919-2575"
"name": "Thyagarajulu Gollapalli",
"orcid": "0000-0001-9394-4104",
"affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University"
},
{
"name": "Neng Lu",
"affiliation": "Research School of Earth Sciences, The Australian National University",
"orcid": "0000-0001-9424-2315"
},
{
"name": "John Mansour",
"affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University",
"orcid": "0000-0001-5865-1664"
},
{
"name": "Romain Beucher",
"affiliation": "Research School of Earth Sciences, The Australian National University",
"orcid": "0000-0003-3891-5444"
},
}
],
"license": "lgpl-3.0",
"title": "Underworld3: Mathematically Self-Describing Modelling in Python for Desktop, HPC and Cloud",
"upload_type": "software",
"access_right": "open"
"access_right": "open",
"keywords": [
"geodynamics",
"finite elements",
"particle-in-cell",
"symbolic computation"
]
}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ The `underworld3` module (API) documentation can be found online:
The quickest option is **not to install** anything but try the binder demo above !

If do you want to install the code on your own machine, we recommend using `miniconda` and `mamba`. Create a separate virtual environment and install the code from source. More details on how to do that are in the [Installation Instructions](https://underworldcode.github.io/underworld3/development/_quickstart/Installation.html)

## References

The canonical releases of the code can be found at [zenodo.org](https://doi.org/10.5281/zenodo.16810746).

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.16810747.svg)](https://doi.org/10.5281/zenodo.16810746)
Comment thread
lmoresi marked this conversation as resolved.
Resolved

3 changes: 1 addition & 2 deletions docs/joss-paper/paper.bib
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ @article{knepleyAchievingHighPerformance2013
langid = {english},
keywords = {Computer Science - Computational Engineering Finance and Science,Computer Science - Mathematical Software,No DOI found},
annotation = {9 citations (Semantic Scholar/arXiv) [2022-04-21]},
file = {/Users/lmoresi/Zotero/storage/7H2PC7HT/Knepley et al. - 2013 - Achieving High Performance with Unified Residual E.pdf}
}

@book{loggAutomatedSolutionDifferential2012,
Expand Down Expand Up @@ -350,7 +349,7 @@ @book{zienkiewiczFiniteElementMethod2013
edition = {Seventh edition},
publisher = {Elsevier, Butterworth-Heinemann},
address = {Amsterdam},
doi = {10.1016/b978-1-85617-633-0.00019-7},
doi = {10.1016/C2009-0-24909-9},
isbn = {978-1-85617-633-0},
lccn = {TA640.2 .Z5 2013},
keywords = {Engineering mathematics,Finite element method,Fluid dynamics}
Expand Down
18 changes: 14 additions & 4 deletions docs/joss-paper/paper.crossref
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
version="5.3.1"
xsi:schemaLocation="http://www.crossref.org/schema/5.3.1 http://www.crossref.org/schemas/crossref5.3.1.xsd">
<head>
<doi_batch_id>20250512120715-b69e4fcdb92ad9bd087cfbdeff82a67b2a9a6732</doi_batch_id>
<timestamp>20250512120715</timestamp>
<doi_batch_id>20250812005552-b69e4fcdb92ad9bd087cfbdeff82a67b2a9a6732</doi_batch_id>
<timestamp>20250812005552</timestamp>
<depositor>
<depositor_name>JOSS Admin</depositor_name>
<email_address>admin@theoj.org</email_address>
Expand Down Expand Up @@ -270,6 +270,16 @@
<cYear>2020</cYear>
<unstructured_citation>Mansour, J., Giordani, J., Moresi, L., Beucher, R., Kaluza, O., Velic, M., Farrington, R., Quenette, S., &amp; Beall, A. (2020). Underworld2: Python Geodynamics Modelling for Desktop, HPC and Cloud. JOSS, 5(47), 1797. https://doi.org/10.21105/joss.01797</unstructured_citation>
</citation>
<citation key="meurerSymPySymbolicComputing2017">
<article_title>SymPy: Symbolic computing in Python</article_title>
<author>Meurer</author>
<journal_title>PeerJ Computer Science</journal_title>
<volume>3</volume>
<doi>10.7717/peerj-cs.103</doi>
<issn>2376-5992</issn>
<cYear>2017</cYear>
<unstructured_citation>Meurer, A., Smith, C. P., Paprocki, M., Čertík, O., Kirpichev, S. B., Rocklin, M., Kumar, A., Ivanov, S., Moore, J. K., Singh, S., Rathnayake, T., Vig, S., Granger, B. E., Muller, R. P., Bonazzi, F., Gupta, H., Vats, S., Johansson, F., Pedregosa, F., … Scopatz, A. (2017). SymPy: Symbolic computing in Python. PeerJ Computer Science, 3, e103. https://doi.org/10.7717/peerj-cs.103</unstructured_citation>
</citation>
<citation key="moresiComputationalApproachesStudying2007">
<article_title>Computational approaches to studying non-linear dynamics of the crust and mantle</article_title>
<author>Moresi</author>
Expand Down Expand Up @@ -305,10 +315,10 @@
<citation key="zienkiewiczFiniteElementMethod2013">
<volume_title>The finite element method: Its basis and fundamentals</volume_title>
<author>Zienkiewicz</author>
<doi>10.1016/b978-1-85617-633-0.00019-7</doi>
<doi>10.1016/C2009-0-24909-9</doi>
<isbn>978-1-85617-633-0</isbn>
<cYear>2013</cYear>
<unstructured_citation>Zienkiewicz, O. C., Taylor, R. L., &amp; Zhu, J. Z. (2013). The finite element method: Its basis and fundamentals (Seventh edition). Elsevier, Butterworth-Heinemann. https://doi.org/10.1016/b978-1-85617-633-0.00019-7</unstructured_citation>
<unstructured_citation>Zienkiewicz, O. C., Taylor, R. L., &amp; Zhu, J. Z. (2013). The finite element method: Its basis and fundamentals (Seventh edition). Elsevier, Butterworth-Heinemann. https://doi.org/10.1016/C2009-0-24909-9</unstructured_citation>
</citation>
</citation_list>
</journal_article>
Expand Down
12 changes: 7 additions & 5 deletions docs/joss-paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,10 @@ bibliography: paper.bib

`Underworld3` inherits the design patterns of earlier versions of `underworld` including: (1) A python user interface that is inherently safe for parallel computation. (2) A symbolic interface based on `sympy` that allows users to construct and simplify combinations of mathematical functions, unknowns and the spatial gradients of unknowns on the fly. (3) Interchangeable Lagrangian, Semi-Lagrangian and Eulerian time derivatives with symbolic representations wrapping the underlying implementation. (4) Fast, robust, parallel numerical solvers based on `PETSc` [@balayPETScTAOUsers2024] and `petsc4py` [@dalcinpazklercosimo2011], (5) Flexible, Lagrangian "particle" swarms for handling transport-dominated unknowns that are fully interchangeable with other data-types and can also be treated as symbolic quantities. (6) Unstructured and adaptive meshing that is fully compatible with the symbolic framework.

The symbolic forms in (2,3) are used to construct a finite element representation using `sympy` [@meurer.etal.SymPy.2017] and `cython` [@behnel2011cython]. These forms are just-in-time (JIT) compiled as `C` functions libraries and pointers to these libraries are given to PETSc to describe the finite element weak forms (surface and volume integrals), Jacobian derivatives and boundary conditions.
The symbolic forms in (2,3) are used to construct a finite element representation using `sympy` [@meurerSymPySymbolicComputing2017] and `cython` [@behnel2011cython]. These forms are just-in-time (JIT) compiled as `C` functions libraries and pointers to these libraries are given to PETSc to describe the finite element weak forms (surface and volume integrals), Jacobian derivatives and boundary conditions.

Users of `underworld3` typically develop python scripts within `jupyter` notebooks and, in this environment, `underworld3` provides introspection of its native classes both as python objects as well as mathematical ones. This allows symbolic prototyping and validation of PDE solvers in scripts that can immediately be deployed in a parallel HPC environment.


# Statement of need

Typical problems in geodynamics usually require computing material deformation, damage evolution, and interface tracking in the large-deformation limit. These are typically not well supported by standard engineering finite element simulation codes. Underworld is a python software framework that is intended to solve geodynamics problems that sit at the interface between computational fluid mechanics and solid mechanics (often known as *complex fluids*). It does so by putting Lagrangian and Eulerian variables on an equal footing at both the user and computational levels.
Expand Down Expand Up @@ -131,7 +130,9 @@ The main benefits of combining `sympy` with the `PETSc` weak form template is a

# State of the Field

`Underworld3` is one among a small number of codes for studying Earth deformation on medium to long geological time-scales. Early geodynamics codes, of which there were too many to recite individually, were highly specialised for specific tasks with little flexibility for user-defined problems. A subsequent generation of codes, currently in use, was built around generic partial differential equation solvers with scriptable interfaces. These include: Aspect [C++ plugin architecture: @heisterHighAccuracyMantle2017], Underworld 1 and 2 [xml object composition / python scripting respectively, @mansourUnderworld2PythonGeodynamics2020; @moresiComputationalApproachesStudying2007], Fluidity [xml combined with python scripting, @daviesFluidityFullyUnstructured2011a], Milamin [Matlab front end, @dabrowskiMILAMINMATLABbasedFinite2008], LaMEM [julia scripting @boriskausLaMEM2024], TerraFERMA [Unified Form Language, @wilsonTerraFERMARansparent2017], GAdopt [Unified Form Language / python @daviesAutomaticFiniteelementMethods2022].
`Underworld3` is one among a small number of codes for studying Earth deformation on medium to long geological time-scales. Early geodynamics codes, of which there were too many to recite individually, were highly specialised for specific tasks with little flexibility for user-defined problems. A subsequent generation of codes, currently in use, was built around generic partial differential equation solvers with scriptable interfaces.

These include: Aspect [$\textrm{C\nolinebreak\hspace{-.05em}\raisebox{.4ex}{\tiny\bf +}\nolinebreak\hspace{-.10em}\raisebox{.4ex}{\tiny\bf +}}$ plugin architecture: @heisterHighAccuracyMantle2017], Underworld 1 and 2 [xml object composition / python scripting respectively, @mansourUnderworld2PythonGeodynamics2020; @moresiComputationalApproachesStudying2007], Fluidity [xml combined with python scripting, @daviesFluidityFullyUnstructured2011a], Milamin [Matlab front end, @dabrowskiMILAMINMATLABbasedFinite2008], LaMEM [julia scripting @boriskausLaMEM2024], TerraFERMA [Unified Form Language, @wilsonTerraFERMARansparent2017], GAdopt [Unified Form Language / python @daviesAutomaticFiniteelementMethods2022].

`Underworld3` uses python and the python package `sympy` as the scripting interface that overlies the generic partial differential equation layer. The advantage of `sympy` is that it is a fully featured symbolic algebra package which allows much of the logic of the mathematical problem description to be defined symbolically and dynamically rather than as static relationships between objects. It also provides deep, mathematical introspection when developing and debugging models.

Expand All @@ -147,8 +148,9 @@ Despite this symbolic, interactive layer, `underworld3` python scripts are inher

AuScope provides direct support for the core development team behind the underworld codes and the underworld cloud suite of tools. AuScope is funded by the Australian Government through the National Collaborative Research Infrastructure Strategy, NCRIS.

The development and testing of our codes is also supported by computational resources provided by the Australian Government through the National Computing Infrastructure (NCI) under the National Computational Merit Allocation Scheme.
The development and testing of our codes is also supported by computational resources provided by the Australian Government through the National Computing Infrastructure (NCI) under the National Computational Merit Allocation Scheme (project m18). This work was also supported by resources provided by the Pawsey Supercomputing Research Centre’s
[Setonix Supercomputer](https://doi.org/10.48569/18sb-8s43), with funding from the Australian Government and the Government of Western Australia.

The Australian Research Council (ARC) supported the development of novel algorithms, computational methods and applications under the Discovery Project and Linkage Project programs. AuScope funding was used to make these methods widely and freely available in the underworld codes. Direct support for Underworld was provided by ARC Industrial Transformation Research Hub Program (The Basin Genesis Hub)
The Australian Research Council (ARC) supported the development of novel algorithms, computational methods and applications under the Discovery Project and Linkage Project programs. AuScope funding was used to make these methods widely and freely available in the underworld codes. Direct support for Underworld was provided by ARC Industrial Transformation Research Hub Program (The Basin Genesis Hub).

# References
Loading