<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" specific-use="SMUR" dtd-version="3.0" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher">EGUsphere</journal-id>
<journal-title-group>
<journal-title>EGUsphere</journal-title>
<abbrev-journal-title abbrev-type="publisher">EGUsphere</abbrev-journal-title>
<abbrev-journal-title abbrev-type="nlm-ta">EGUsphere</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub"></issn>
<publisher><publisher-name>Copernicus Publications</publisher-name>
<publisher-loc>Göttingen, Germany</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.5194/egusphere-2026-3963</article-id>
<title-group>
<article-title>Automatic adjoints without the algebra: flexible sensitivity analysis of nonlinear problems in the geosciences</article-title>
</title-group>
<contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Frasunkiewicz</surname>
<given-names>Jacob</given-names>
<ext-link>https://orcid.org/0009-0002-5049-4259</ext-link>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Schuler</surname>
<given-names>Christian</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Moulas</surname>
<given-names>Evangelos</given-names>
<ext-link>https://orcid.org/0000-0002-2783-4633</ext-link>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Kaus</surname>
<given-names>Boris J. P.</given-names>
<ext-link>https://orcid.org/0000-0002-0247-8660</ext-link>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
</contrib>
</contrib-group><aff id="aff1">
<label>1</label>
<addr-line>Institute of Geosciences, Johannes Gutenberg University Mainz, Mainz, Germany</addr-line>
</aff>
<aff id="aff2">
<label>2</label>
<addr-line>Institute of Earth Sciences, University of Lausanne, Lausanne, Switzerland</addr-line>
</aff>
<aff id="aff3">
<label>3</label>
<addr-line>Mainz Institute of Multiscale Modeling (M3ODEL), Johannes Gutenberg University Mainz, Mainz, Germany</addr-line>
</aff>
<pub-date pub-type="epub">
<day>03</day>
<month>08</month>
<year>2026</year>
</pub-date>
<volume>2026</volume>
<fpage>1</fpage>
<lpage>42</lpage>
<permissions>
<copyright-statement>Copyright: &#x000a9; 2026 Jacob Frasunkiewicz et al.</copyright-statement>
<copyright-year>2026</copyright-year>
<license license-type="open-access">
<license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri"  xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p>
</license>
</permissions>
<self-uri xlink:href="https://egusphere.copernicus.org/preprints/2026/egusphere-2026-3963/">This article is available from https://egusphere.copernicus.org/preprints/2026/egusphere-2026-3963/</self-uri>
<self-uri xlink:href="https://egusphere.copernicus.org/preprints/2026/egusphere-2026-3963/egusphere-2026-3963.pdf">The full text article is available as a PDF file from https://egusphere.copernicus.org/preprints/2026/egusphere-2026-3963/egusphere-2026-3963.pdf</self-uri>
<abstract>
<p>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.</p>
</abstract>
<counts><page-count count="42"/></counts>
<funding-group>
<award-group id="gs1">
<funding-source>Bundesministerium für Forschung, Technologie und Raumfahrt</funding-source>
<award-id>03G0925B</award-id>
</award-group>
</funding-group>
</article-meta>
</front>
<body/>
<back>
</back>
</article>