JFJacob Frasunkiewicz

Jacob Frasunkiewicz

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Jacob Frasunkiewicz has a total of 21 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Comment on egusphere-2026-3963

    by Jacob Frasunkiewicz, Christian Schuler, Evangelos Moulas, Boris J. P. Kaus

    Material parameter values used in geoscientific simulations are often poorly constrained due to the sparse nature of the observations. In addition, the constitutive relationships used to describe natural processes typically involve nonlinearities, which results in large changes in simulation output when material parameters or initial conditions change. It is therefore important to have a tool that can efficiently determine the quantitative effect of parameter changes on the simulation output. The adjoint gradient method addresses this by delivering the gradient of an observation, here the result of the forward simulation, with respect to all material parameters at a computational cost independent of their number. Deriving the adjoint gradient analytically can be labor-intensive and in some cases must be re-derived when the constitutive relationships change. Here, we present a framework that avoids the re-derivation by applying automatic differentiation directly to the code, which is used for the forward simulation. The residual calculation contains all discrete operations needed to assemble the Jacobian of the forward problem and the parameter sensitivity matrix. The full gradient with respect to all spatially varying parameters then follows from a single solution of the (linear) adjoint problem, regardless of the dimension of the parameters space. We additionally give a geometric interpretation of the discrete calculation of the adjoint gradients, making its computational structure explicit to guide implementation in other codes. The framework is implemented in Julia and demonstrated on four problems of increasing complexity: transient heat diffusion in a petrological experimental setup, coupled fluid flow and heat transport in a Central European geothermal reservoir, thermo-visco-elasto-plastic Stokes flow applied to a rising mantle plume, and to localizing shear bands. We deliberately emphasize flexibility and transparency over computational efficiency, providing a compact and reproducible basis for sensitivity analysis.

  • Open Access

    Automatic adjoints without the algebra: flexible sensitivity analysis of nonlinear problems in the geosciences

    by Jacob Frasunkiewicz, Christian Schuler, Evangelos Moulas, Boris J. P. Kaus

    Material parameter values used in geoscientific simulations are often poorly constrained due to the sparse nature of the observations. In addition, the constitutive relationships used to describe natural processes typically involve nonlinearities, which results in large changes in simulation output when material parameters or initial conditions change. It is therefore important to have a tool that can efficiently determine the quantitative effect of parameter changes on the simulation output. The adjoint gradient method addresses this by delivering the gradient of an observation, here the result of the forward simulation, with respect to all material parameters at a computational cost independent of their number. Deriving the adjoint gradient analytically can be labor-intensive and in some cases must be re-derived when the constitutive relationships change. Here, we present a framework that avoids the re-derivation by applying automatic differentiation directly to the code, which is used for the forward simulation. The residual calculation contains all discrete operations needed to assemble the Jacobian of the forward problem and the parameter sensitivity matrix. The full gradient with respect to all spatially varying parameters then follows from a single solution of the (linear) adjoint problem, regardless of the dimension of the parameters space. We additionally give a geometric interpretation of the discrete calculation of the adjoint gradients, making its computational structure explicit to guide implementation in other codes. The framework is implemented in Julia and demonstrated on four problems of increasing complexity: transient heat diffusion in a petrological experimental setup, coupled fluid flow and heat transport in a Central European geothermal reservoir, thermo-visco-elasto-plastic Stokes flow applied to a rising mantle plume, and to localizing shear bands. We deliberately emphasize flexibility and transparency over computational efficiency, providing a compact and reproducible basis for sensitivity analysis.

  • Open Access

    The DEGREE Project: A Digital Laboratory for Geothermal Exploration in the Eifel Region

    by Matthias Volk, Jacob Alexander Frasunkiewicz, Patrick Laumann, Atefeh Rahimi

    Recently, the active Eifel volcanic region has received increasing interest due to the occurrence of deep low-frequency earthquakes, often interpreted as a sign of rising volatiles in the crust. Additionally, recent tomographic models have resolved vertically inclined low-velocity anomalies beneath the Laacher See volcano, which may indicate enhanced fluid ascent. These observations raise the question of whether volcanic activity in the region is increasing and whether such activity may be beneficial for geothermal exploration.To address these questions, the DEGREE project is developing a digital laboratory that enhances predictive capabilities by combining geophysical data with geological and numerical models. The laboratory includes workflows that couple data assimilation, geological modeling, and numerical simulations into a single process. A key challenge is the propagation of uncertainties in the input data and parameters through the entire workflow. This allows us to obtain quantitive uncertainties for derived quantities to support decision making.The foundation of the laboratory is a collection of diverse datasets compiled during the project. An extensive seismic dataset acquired by the Eifel Large-N network, deployed between September 2023 and September 2024, is used to investigate subsurface structure and active geodynamic processes in the Eifel region. We employ seismic tomography methods to resolve crustal thickness variations and velocity anomalies, together with moment tensor inversion to constrain fault geometries and deformation mechanisms.Surface geological maps, digital elevation models, and geological cross-sections are used to build 3D structural geological models using the open-source software GemPy. Model construction follows a stepwise approach, starting from a simplified stratigraphic framework and gradually adding geological complexity, such as time-equivalent units and major fault structures. Although the steps are applied sequentially, the geological model is constructed from the input data and is therefore reproducible, enabling integration into subsequent workflow steps.GemPy addresses uncertainty in geological models by generating ensembles of realizations through sampling input parameters from probability distributions. These ensembles serve as inputs for numerical simulations of physical quantities. Computing adjoint sensitivity kernels allows us to assess how each realization affects model outputs and to identify which models best match available observations, integrating structural uncertainty with process-based simulations. The numerical simulations are performed with LaMEM and its bindings for the Julia programming language. As GemPy is written in Python, the GemPy.jl package has been developed to expose its functionality in Julia.The resulting geological and geophysical models may serve as the basis for a Play Fairway Analysis (PFA) which identifies regions with high potential for geothermal exploration. Crucially, this type of analysis requires uncertainty estimations for the modeled physical quantities, which our workflow provides.From an implementation perspective, the digital laboratory consists of three main parts: a repository to collect data and models and their metadata, workflows and infrastructure for automatic processing, and an interface for visualization and interaction with the results. To demonstrate the feasibility, we develop the first prototype in JupyterLab which accommodates different computing environments and enables an interactive development process.

  • Open Access

    Forward and Adjoint Modeling of Coupled Fluid Flow, Heat Transport, and Deformation in Geothermal Reservoirs

    by Jacob Frasunkiewicz, Boris Kaus, Anton Popov

    Geothermal reservoirs are governed by tightly coupled interactions between fluid flow, heat transport, and deformation of the host rock, posing significant challenges for numerical modeling and inversion. Capturing these processes is essential for understanding reservoir evolution, permeability development, and fluid circulation in high‐enthalpy systems. We present a forward and inverse modeling framework designed to simulate fluid migration in deforming, porous media under geothermal conditions.The framework is implemented in the Julia programming language, exploiting its high performance and native support for automatic differentiation (AD). Forward simulations are solved on a staggered-grid, using an implicit finite-difference discretization where the jacobian matrix is assembled using AD and accelerated by automatic sparsity pattern detection. The model solves Darcy flow coupled to incompressible Stokes deformation and includes visco-elasto-viscoplastic rheology with both shear and tensile yielding, enabling the simulation of fracture-like permeability enhancement driven by thermo-mechanical stresses.AD enables efficient adjoint-based sensitivity analysis, substantially reducing the computational cost of parameter estimation compared to traditional approaches. The resulting gradients provide the foundation for gradient-based optimization and adjoint inversions of geothermal reservoir properties. We demonstrate the capabilities of the framework through representative numerical experiments relevant to geothermal systems, illustrating its ability to capture the coupled thermal, hydraulic, and mechanical processes that control reservoir dynamics.

  • Open Access

    Fully coupled petrological/thermo-mechanical models of magmatic systems

    by Boris Kaus, Nicolas Riel, Hugo Dominguez, Jacob Frasunkiewicz, Pascal Aellig, Evangelos Moulas

    Simulating the chemical evolution of magmatic systems can be done with thermodynamic equilibrium modelling and recently developed melting models do quite a good job of predicting observations and reproducing experiments for a wide range of compositions. Yet, it remains a significant computational challenge as some of the most recent melting models include 11 oxides along with pressure and temperature, which makes this a 13-dimensional Gibbs energy optimisation problem. We recently developed the open-source parallel software package MAGEMin [1], along with an easy-to-use Julia interface (MAGEMin_C.jl [2]). Over the last year, we also developed a web-based graphical user interface, MAGEMinApp [3], with which users can easily compute pseudo-sections, do fractional crystallization experiments, or predict seismic velocities.However, despite the progress, each point-wise thermodynamic calculation still takes 10-50 milliseconds (depending on the complexity of the system). This is too slow if one wishes to directly couple thermodynamic and thermo-mechanical simulations of the magmatic system, as those may require 1000’s-100’000s of calculations per timestep.An alternative approach is to develop simplified parameterizations from the complete thermodynamic models (e.g., using machine learning tools). That, however, requires recalibration for different scenarios, and gives up some of the predictive power of the models, such as the chemistry of the stable mineral assemblage or seismic velocities, unless the system was trained on that.We therefore developed a new approach in which we dynamically update a database of precomputed points that only performs new thermodynamic calculations for points that do not yet exist in the database. We only store the minimum required information per point, with which we can reconstruct all derived thermodynamic quantities without having to redo the minimization. This significantly reduces the computational effort and allows coupling thermodynamic simulations with thermo-mechanical simulations in a self-consistent manner. We illustrate the power of the method with 2D/3D thermo-kinematic simulations of magmatic systems, as well as by reactive two-phase flow calculations applied to small-scale magma transfer processes in lower crustal migmatites.[1] https://github.com/ComputationalThermodynamics/MAGEMin[2] https://github.com/ComputationalThermodynamics/MAGEMin_C.jl[3] https://github.com/ComputationalThermodynamics/MAGEMinApp.jl

  • Open Access

    Leveraging Differentiable Programming in Julia: Forward and Inversion Modeling of Two-Phase Systems

    by Jacob Frasunkiewicz, Boris Kaus, Anton Popov, Christian Schuler, Nicolas Riel

    From complex magmatic systems to geothermal reservoirs, fluid-rock dynamics have posed immense modeling hurdles in the Geosciences for decades. These systems are influenced by interactions between magmatic heat sources, fluid flow, host rock deformation, and chemical heterogeneities. To enhance our understanding and predictive capabilities of these intricate systems, we develop a novel forward and inverse modeling code designed to simulate fluid migration within a deforming, porous host-rock. We employ the Julia programming language, chosen for its differentiability and efficiency, facilitating the simple integration of various composable packages.Forward simulations are performed in the advanced automatic differentiation (AD) framework of Julia, allowing for flexible adjustments of the underlying coupled system of equations. We utilize a staggered-grid, implicit finite-difference solver, along with the GeoParams.jl package to implement visco-elasto-plastic rheologies and solve the coupled fluid-rock interactions under non-linear Darcy and incompressible Stokes-flow regimes.The AD framework of Julia allows for the application of the adjoint method in parameter sensitivity analysis, significantly reducing computational demands compared to traditional inversion techniques. This framework lays the foundation for adjoint inversions as the gradients calculated for the sensitivities are needed for gradient descent algorithms. The effectiveness of our framework is demonstrated through representative case studies, illustrating its applicability to understanding the dynamic behavior of two-phase systems influenced by both thermal and mechanical processes.

  • Open Access

    Parameter Sensitivity Analysis of Plate Motion using the Adjoint Method and Automatic Differentiation

    by Christian Schuler, Albert de Montserrat, Jacob Frasunkiewicz, Pascal Aellig, Boris Kaus

    The adjoint method for the Stokes equations provides a versatile and highly efficient approach to investigate the underlying physics of geodynamic processes. Reuber et al. (2018) demonstrated that adjoint sensitivities can be used to develop scaling laws for processes like folding and subduction dynamics. The gradients derived using the adjoint method can also directly be used in inversions in geodynamic applications. However, previous implementations of the adjoint method have typically been highly problem-dependent and often limited to viscous rheologies. Extending it to other nonlinear rheologies typically required substantial additional work, which is likely one of the reasons that the method has not yet been widely adopted in solid Earth geosciences.To overcome this problem, we use automatic differentiation (AD) to compute the gradients needed to develop an adjoint solver for the Stokes equations. The gradients are computed using the Julia package Enzyme.jl. The adjoint solver is designed to be problem-agnostic, where the gradients are automatically computed for any user-defined rheology, from a simple linear viscous model to a complex visco-elasto-viscoplastic composite rheology. This functionality is added to the JustRelax.jl thermo-mechanical solver, where we use the same pseudo-transient solver strategy to solve both the forward and adjoint problems. This approach ensures that the adjoint solver remains consistent and fully generic.The method is applied to analyse horizontal plate motion around subduction zones. For different material parameters, it is possible to calculate sensitivity kernels that show, for each location in the numerical domain, how much these parameters influence the horizontal plate motion (e.g. Reuber et al (2020)). The scaling of sensitivities for different parameters is discussed to enable a quantitative comparison. This approach is then used to identify the most influential factors affecting plate motion. Reuber, G. S., Popov, A. A., & Kaus, B. J. (2018). Deriving scaling laws in geodynamics using adjoint gradients. Tectonophysics, 746, 352-363.Reuber, G. S., Holbach, L., Popov, A. A., Hanke, M., & Kaus, B. J. (2020). Inferring rheology and geometry of subsurface structures by adjoint-based inversion of principal stress directions. Geophysical Journal International, 223(2), 851-861.

  • Open Access

    GeophysicalModelGenerator.jl: A Julia package to visualise geoscientific data and create numerical model setups

    by Boris J. P. Kaus, Marcel Thielmann, Pascal Aellig, Albert de Montserrat, Luca de Siena, Jacob Frasukiewicz, Lukas Fuchs, Andrea Piccolo, Hendrik Ranocha, Nicolas Riel, et al.

    Geoscientific data exists in a wide variety of formats. Yet, to make a consistent interpretation of a certain region, it is often helpful to jointly visualise all this data using the same coordinates and compare, for example, seismic tomography, surface geology, Moho (crust-mantle transition) depth, Earthquake locations, and GPS surface velocities. If one wishes to create mechanical or thermo-mechanical numerical models of the region, creating an input setup that honors these constraints is crucial. And since most numerical codes work in Cartesian boxes, it is helpful to have tools to project the data from geographic to Cartesian coordinates.