From 6a98470bf1429ddb21574b8a72bee5c23bb8671d Mon Sep 17 00:00:00 2001 From: Ben Knight <55677727+bknight1@users.noreply.github.com> Date: Mon, 4 Aug 2025 09:15:49 +0800 Subject: [PATCH 01/10] joss paper acknowledgement update Add pawsey acknowledgement update BK affiliation --- docs/joss-paper/paper.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/joss-paper/paper.md b/docs/joss-paper/paper.md index 0ca17aa10..acb5d85b0 100644 --- a/docs/joss-paper/paper.md +++ b/docs/joss-paper/paper.md @@ -47,7 +47,7 @@ affiliations: index: 3 - name: Computer Science and Engineering, University at Buffalo index: 4 - - name: Curtin University, Perth, Australia + - name: School of Earth and Planetary Sciences, Curtin University, Perth, WA, Australia index: 5 date: 30 June 2024 @@ -147,7 +147,7 @@ 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 and 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) From 39ef2ff2577fb71e776f74ab4b551291c2a388cf Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 12:54:14 +1000 Subject: [PATCH 02/10] Update paper.md In response to editor review --- docs/joss-paper/paper.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/joss-paper/paper.md b/docs/joss-paper/paper.md index acb5d85b0..13d736952 100644 --- a/docs/joss-paper/paper.md +++ b/docs/joss-paper/paper.md @@ -47,7 +47,7 @@ affiliations: index: 3 - name: Computer Science and Engineering, University at Buffalo index: 4 - - name: School of Earth and Planetary Sciences, Curtin University, Perth, WA, Australia + - name: Curtin University, Perth, Australia index: 5 date: 30 June 2024 @@ -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. @@ -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. @@ -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 and 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 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 From 47bc857a1afda512e3ab6ff82c9d0f267e9da523 Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 12:55:01 +1000 Subject: [PATCH 03/10] Update paper.bib In response to editor review --- docs/joss-paper/paper.bib | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/joss-paper/paper.bib b/docs/joss-paper/paper.bib index ae44ba211..4580689e5 100644 --- a/docs/joss-paper/paper.bib +++ b/docs/joss-paper/paper.bib @@ -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, @@ -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} From b85170d63e6b6e674b16684f544cc718d38d1104 Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 12:56:00 +1000 Subject: [PATCH 04/10] Update paper.crossref --- docs/joss-paper/paper.crossref | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/joss-paper/paper.crossref b/docs/joss-paper/paper.crossref index 424e66541..9fe93290b 100644 --- a/docs/joss-paper/paper.crossref +++ b/docs/joss-paper/paper.crossref @@ -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"> - 20250512120715-b69e4fcdb92ad9bd087cfbdeff82a67b2a9a6732 - 20250512120715 + 20250812005552-b69e4fcdb92ad9bd087cfbdeff82a67b2a9a6732 + 20250812005552 JOSS Admin admin@theoj.org @@ -270,6 +270,16 @@ 2020 Mansour, J., Giordani, J., Moresi, L., Beucher, R., Kaluza, O., Velic, M., Farrington, R., Quenette, S., & Beall, A. (2020). Underworld2: Python Geodynamics Modelling for Desktop, HPC and Cloud. JOSS, 5(47), 1797. https://doi.org/10.21105/joss.01797 + + SymPy: Symbolic computing in Python + Meurer + PeerJ Computer Science + 3 + 10.7717/peerj-cs.103 + 2376-5992 + 2017 + 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 + Computational approaches to studying non-linear dynamics of the crust and mantle Moresi @@ -305,10 +315,10 @@ The finite element method: Its basis and fundamentals Zienkiewicz - 10.1016/b978-1-85617-633-0.00019-7 + 10.1016/C2009-0-24909-9 978-1-85617-633-0 2013 - Zienkiewicz, O. C., Taylor, R. L., & 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 + Zienkiewicz, O. C., Taylor, R. L., & 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 From 62d46970b5a7203abbd605e81bcae1437c6221e6 Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 16:21:07 +1000 Subject: [PATCH 05/10] Update .zenodo.json --- .zenodo.json | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/.zenodo.json b/.zenodo.json index c319cf7ea..59b09dc7c 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -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", @@ -16,14 +21,9 @@ "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" - }, - { - "name": "Thyagarajulu Gollapalli", - "orcid": "0000-0001-9394-4104", + "name": "Ben Knight", "affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University", + "orcid": "0000-0001-7919-2575" }, { "name": "Juan Carlos Graciosa", @@ -31,20 +31,15 @@ "affiliation": "Research School of Earth Sciences, The Australian National University", }, { - "name": "Ben Knight", + "name": "Thyagarajulu Gollapalli", + "orcid": "0000-0001-9394-4104", "affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University", - "orcid": "0000-0001-7919-2575" }, { "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", @@ -55,4 +50,12 @@ "title": "Underworld3: Mathematically Self-Describing Modelling in Python for Desktop, HPC and Cloud", "upload_type": "software", "access_right": "open" + + "keywords": [ + "geodynamics", + "finite elements", + "particle-in-cell", + "symbolic computation" + ], + } From a0180bbcadb28b95530dad7af208bad8d323afed Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 16:50:49 +1000 Subject: [PATCH 06/10] Update .zenodo.json Fixing metadata errors --- .zenodo.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.zenodo.json b/.zenodo.json index 59b09dc7c..7c56759cb 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -49,13 +49,11 @@ "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" - ], - + ] } From e59d06e7a9e4db8274eef77d234e3994221692ba Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 17:42:32 +1000 Subject: [PATCH 07/10] Update .zenodo.json Ran this through a json linter ! --- .zenodo.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.zenodo.json b/.zenodo.json index 7c56759cb..d42201990 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -18,7 +18,7 @@ { "name": "Matt Knepley", "orcid": "0000-0002-2292-0735", - "affiliation": "Computer Science and Engineering, University at Buffalo", + "affiliation": "Computer Science and Engineering, University at Buffalo" }, { "name": "Ben Knight", @@ -28,12 +28,12 @@ { "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": "Thyagarajulu Gollapalli", "orcid": "0000-0001-9394-4104", - "affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University", + "affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University" }, { "name": "Neng Lu", @@ -44,7 +44,7 @@ "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", From 4380278771f7d5678f941d4ab3b3bf4c441b2e4e Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 18:45:42 +1000 Subject: [PATCH 08/10] Update .zenodo.json Ben - Curtin affiliation at this stage seems most appropriate --- .zenodo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zenodo.json b/.zenodo.json index d42201990..d0c17bbc1 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -22,7 +22,7 @@ }, { "name": "Ben Knight", - "affiliation": "School of Earth, Atmospheric & Environmental Science, Monash University", + "affiliation": "School of Earth and Planetary Sciences, Curtin University", "orcid": "0000-0001-7919-2575" }, { From 826d29b2e4847bb60c7a08be89424cdf3e73fe79 Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 18:48:49 +1000 Subject: [PATCH 09/10] Update README.md Add zenodo doi --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d1e55dcb3..cca648051 100644 --- a/README.md +++ b/README.md @@ -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](10.5281/zenodo.16810746). + +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.16810747.svg)](https://doi.org/10.5281/zenodo.16810746) + From 8b7c4945335e4618d8c7850aef14f5c637953401 Mon Sep 17 00:00:00 2001 From: Louis Moresi Date: Tue, 12 Aug 2025 21:27:30 +1000 Subject: [PATCH 10/10] Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cca648051..600a681a2 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ If do you want to install the code on your own machine, we recommend using `mini ## References -The canonical releases of the code can be found at [zenodo.org](10.5281/zenodo.16810746). +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)