What is the Geodynamic World Builder?

This c++ library (with wrappers for C, Fortran and Python) allows you to easily set up models of intermediate complexity. This code is enough to generate the model in the pictures seen below:

  "cross section":[[0,200e3],[100e3,200e3]],
    {"model":"mantle layer", "name":"upper mantle", "min depth":100e3, "max depth":660e3,
       "composition models":[{"model":"uniform", "compositions":[4]}]},

    {"model":"oceanic plate", "name":"Overriding plate", "max depth":100e3,
       "temperature models":[{"model":"plate model", "max depth":100e3, "spreading velocity":0.01,
                              "ridge coordinates":[[400e3,-1],[-100e3,2000e3]]}],
       "composition models":[{"model":"uniform", "compositions":[0], "max depth":100e3}]},

    {"model":"oceanic plate", "name":"Atlantic Plate", "max depth":100e3,
       "temperature models":[{"model":"linear", "max depth":100e3}],
       "composition models":[{"model":"uniform", "compositions":[3], "max depth":50e3},
                             {"model":"uniform", "compositions":[1], "min depth":50e3}]},

    {"model":"subducting plate", "name":"Slab",
       "dip point":[0,0],
       "segments":[{"length":300e3, "thickness":[100e3], "angle":[0,60],
                   "composition models":[{"model":"uniform", "compositions":[3], "max distance slab top":50e3},
                                        {"model":"uniform", "compositions":[2], "min distance slab top":50e3}]},
                   {"length":500e3, "thickness":[100e3], "angle":[60,20]}],
        "segments":[{"length":300e3, "thickness":[100e3], "angle":[0,60]},
                    {"length":400e3, "thickness":[100e3,50e3], "angle":[60]}],
         "composition models":[{"model":"uniform", "compositions":[1]}]}
       "temperature models":[{"model":"plate model", "density":3300, "plate velocity":0.02 }],
       "composition models":[{"model":"uniform", "compositions":[2], "max distance slab top":100e3}]}

This is a 3D view of the model defined by the code above. The top picture shows the different compositional fields and the bottom picutre show the temperature field. RFM-12-sections-hires_c1_T

This crosssection is made by providing 2D coordinates to the world builder. Like the picture above, the top picture shows the different compositional fields and the bottom picture show the temperature field. RFM-11-2D_c1_T

How to install the World Builder?

The Geodynamic World Builder can be installed on many different systems and coupled with programs written in many different programming languages. Linux, OSX, and Windows are offically supported operating systems. The World Builder itself is written in C++, but has wrappers for C, fortran and Python. A command line application is also included. Through the C wrapper it can be called from nearly any other langugage like Python and Matlab. Futhermore a visualzation tool is included. The installation process of each use case is described in the manual. If you can't find install instructions for operating system or find mistakes, please create an issue on github or create a pull request with the solution.