1 / 23

GeoFramework: Example of using frameworks in geophysics

This article discusses the GeoFramework project, which builds upon the Pyre framework, to reengineer and couple codes in geophysics. It covers topics such as natural accommodation of boundary conditions, multi-scale and multi-physics models, data assimilation and prediction. The integration framework is a set of co-operating abstract services developed in Python, FORTRAN/C/C++. Examples of coupling codes with Pyre and advantages of using frameworks in geophysics are also provided.

normanu
Download Presentation

GeoFramework: Example of using frameworks in geophysics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GeoFramework: Example of using frameworks in geophysics CIG/IRIS Computational Seismology Workshop June, 2005 Mike Gurnis Caltech

  2. Topics • Scientific Rationale • Natural accommodation of boundary conditions • Multi-scale models • Multi-physics models • Data assimilation and prediction • GeoFramework project • Builds upon Pyre – A Science Neutral Framework • New codes with the infrastructure framework StGermain • Repository/Web site – GeoFramework.org • Reengineering & Coupling Codes with Pyre • Made substantial progress: • Global Mantle Convection – Local convection (CitcomS-CitcomS) • Viscous Mantle flow – elastic plate (CitcomS-SNAC) • Still working on: • Full Seismic Wave field - Global Mantle Convection (SpecFEM3D, CitcomS) • Plate Tectonic Stresses – Earthquake Rupture (TECTON-eqsim) • Mantle flow -- petrologic phase relations (ConMan-pHMELTS)

  3. A hierarchy of software components ? Superstructure ? Geodynamic Specific ? Infrastructure ? Library

  4. Superstructure and Geodynamic Specific Layers • Simulation controller • Monitor Simulation • Couple Fluid to Solid Superstructure • Component A • Component B • …. Geodynamic Specific

  5. framework service service service service solver solver infrastructure component component component bindings bindings bindings engine engine library Pyre Framework (Science Neutral) The integration framework is a set of co-operating abstract services python package abstract class specialization FORTRAN/C/C++ Developed by Michael Aivazis

  6. Virtual Test Facility (VTF): Example From Pyre

  7. CitcomS main Parser Mesher Stokes solver T solver Output

  8. Ouput.py Mesher.py Vsolver.py TSolver.py Pyre version of CitcomS regionalcitcoms.py Components (Python) Python bindings Mesher Stokes solver T solver Output RegionalModule.so (a shared object)

  9. CitcomS.py as a single component

  10. Coupling With Pyre

  11. Regional and Global Mantle Flow Coupled with Pyre CitcomS.py, Eh Tan

  12. Regional CitcomS coupled to full CitcomS CitcomS.py, Eh Tan

  13. Predictions: Hot-spot track & synthetic tomography

  14. Example: Mantle convection coupled to lithosphere • Monitor Simulation • Couple Fluid to Solid • Visualization Superstructure • Self-contained geophysics (single phyiscs) • Rheology modules Geodynamic Specific • Mesher: Solid & Fluid • Solver: Solid & Fluid Infrastructure Library: PETSc, BLAS, MPI

  15. Example of Geodynamic Specific & Infrastructure Layers • SNARK -- particle based FEM with implicit solver • SNAC -- Lagragian explicit FEM Geodynamic Specific • StGermain: A framework with entry points & plugins for: building meshes, advecting particles, calling solvers, I/O….. Infrastructure Library: PETSc, MPI

  16. Example of Geodynamic Specific & Infrastructure Layers Geodynamic Specific SNARK: Monash group (Moresi) SNAC: Caltech/Texas groups (Gurnis, Lavier) • SNARK -- particle based FEM with implicit solver • SNAC -- Lagragian explicit FEM Infrastructure: Software Engineers at the Victorian Partnership for Advanced Computing (Steve Quenette Team Leader) • StGermain: A framework with entry points & plugins for: building meshes, advecting particles, calling solvers, I/O…..

  17. SNARK & SNAC Moresi et al. Choi et al. StGermain: A framework with entry points & plugins for: building meshes, advecting particles, calling solvers, I/O….. Quenette et al.

  18. Examples of coupling codes with Pyre (“superstructure” framework): GeoFramework Pyre a geophysics solver CitcomS Exchanger SNAC pHMelts

  19. SNAC CitcomS coupling (Crust-Mantle Interaction) Eun-seo Choi et al.

  20. Advantages: pHMelts uses trace element partitioning to distribute water between the system and the nominally anhydrous minerals (NAM) Major and trace element information can be collected Both hydrous and nominally anhydrous phases can be handled in a single model Output: mineral stability, mineral chemistry (major and trace element), melt presence and chemistry, phase proportions, water content in NAM, free water presence and normalized amount pHMelts petrological model (Asimow et al., 2004)

  21. 17,000 particles The particles are advected along streamlines, and the (P,T) conditions of the particles are mapped from the flow model Each particle holds chemical information, which can be translated into petrological data by pHMelts Baker, Hall, Smith, Asimow, & Gurnis

  22. (1) Initial viscosity structure (2) Viscosity structure calculated after slab-water influx

  23. Some lessons for other geophysicists • Frameworks, both higher level like Pyre and lower level like StGermain, show enormous potential for Earth science problems • We’ve now been able to start to address more complex multi-physics and multi-scale problems -- problems long recognized to be important but previously intractable • It is possible, in some cases, to effectively reengineer codes so that they can be used in frameworks • Working geophysicists can effectively collaborate with software engineers.

More Related