<?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>
<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-4681</article-id>
<title-group>
<article-title>AccreDiff v1.0: a modular framework for coupling planetary accretion and core&amp;ndash;mantle differentiation</article-title>
</title-group>
<contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Kong</surname>
<given-names>Zhihui</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>Liu</surname>
<given-names>Beibei</given-names>
<ext-link>https://orcid.org/0000-0001-5830-3619</ext-link>
</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>Chen</surname>
<given-names>Ke</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Wang</surname>
<given-names>Qiyu</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Shuai</surname>
<given-names>Kang</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
</contrib>
</contrib-group><aff id="aff1">
<label>1</label>
<addr-line>Institute for Astronomy, School of Physics, Zhejiang University, Hangzhou 310027, China</addr-line>
</aff>
<aff id="aff2">
<label>2</label>
<addr-line>Center for Cosmology and Computational Astrophysics, Institute for Advanced Study in Physics, Zhejiang University, Hangzhou 310027, China</addr-line>
</aff>
<aff id="aff3">
<label>3</label>
<addr-line>School of Astronomy and Space Science, Nanjing University, Nanjing 210023, China</addr-line>
</aff>
<aff id="aff4">
<label>4</label>
<addr-line>Key Laboratory of Modern Astronomy and Astrophysics in Ministry of Education, Nanjing University, Nanjing 210023, China</addr-line>
</aff>
<pub-date pub-type="epub">
<day>07</day>
<month>10</month>
<year>2026</year>
</pub-date>
<volume>2026</volume>
<fpage>1</fpage>
<lpage>41</lpage>
<permissions>
<copyright-statement>Copyright: &#x000a9; 2026 Zhihui Kong 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-4681/">This article is available from https://egusphere.copernicus.org/preprints/2026/egusphere-2026-4681/</self-uri>
<self-uri xlink:href="https://egusphere.copernicus.org/preprints/2026/egusphere-2026-4681/egusphere-2026-4681.pdf">The full text article is available as a PDF file from https://egusphere.copernicus.org/preprints/2026/egusphere-2026-4681/egusphere-2026-4681.pdf</self-uri>
<abstract>
<p>Planetary accretion and core&amp;ndash;mantle differentiation are commonly modelled as separate processes, although the chemical evolution of a growing terrestrial planet depends directly on its impact history. We present AccreDiff v1.0, a modular Python framework designed to couple N-body accretion histories with multi-stage metal&amp;ndash;silicate differentiation calculations. AccreDiff uses time-ordered collision records and particle histories as input, reconstructs parent&amp;ndash;product relationships and source-reservoir contributions, assigns impact-dependent equilibration conditions, and updates mantle and core compositions through event-by-event core&amp;ndash;mantle differentiation.&lt;/p&gt;
&lt;p&gt;The model workflow consists of four main components. First, initial compositions are assigned using either CI-based refractory-enriched compositions with prescribed oxygen fugacity or reservoir-based meteoritic endmembers. Second, accretion histories are reconstructed from collision records to track planetary growth, parent bodies, and source fractions. Third, impact events are classified into small-impact and large-impact regimes, with corresponding pressure&amp;ndash;temperature conditions and magma-ocean effects. Fourth, equilibrating and non-equilibrating material budgets are passed to the differentiation solver, which computes metal&amp;ndash;silicate partitioning and records diagnostic quantities such as bulk composition, mantle redox state, and core mass fraction.&lt;/p&gt;
&lt;p&gt;The paper documents the governing assumptions, data structures, and reproducible example workflows distributed with the code. The bundled notebooks demonstrate how AccreDiff reads cosmochemical and dynamical inputs, generates intermediate reconstruction products, performs differentiation calculations, and exports outputs for downstream scientific analysis. AccreDiff is intended as a post-processing and coupled geochemical evolution framework rather than as an N-body integrator or hydrodynamic impact model. Its modular structure also supports extensions to alternative gas&amp;ndash;disk prescriptions, collision-outcome models, meteoritic reservoir libraries, and sulfur-bearing differentiation chemistry. By providing an explicit and reproducible interface between accretion dynamics and geochemical evolution, AccreDiff offers a flexible platform for investigating how planetary growth histories shape the compositions and internal structures of terrestrial planets.</p>
</abstract>
<counts><page-count count="41"/></counts>
</article-meta>
</front>
<body/>
<back>
</back>
</article>