<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>Pablo Benítez-Llambay</title>
<link>https://pbllambay.github.io/blog.html</link>
<atom:link href="https://pbllambay.github.io/blog.xml" rel="self" type="application/rss+xml"/>
<description>Academic webpage of Pablo Benítez-Llambay, Astrophysicist and Associate Professor at Universidad Adolfo Ibáñez.</description>
<generator>quarto-1.11.9</generator>
<lastBuildDate>Tue, 03 Nov 2026 00:00:00 GMT</lastBuildDate>
<item>
  <title>Following a migrating planet: the comoving framework</title>
  <dc:creator>Pablo Benítez-Llambay</dc:creator>
  <link>https://pbllambay.github.io/posts/comoving-framework-planet-migration/</link>
  <description><![CDATA[ 





<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="../../assets/images/blog/comoving-framework-migration.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-1" title="Following a migrating planet inward along its spiral trajectory through the disk: the comoving reference frame rescales dynamically with the planet’s evolving semi-major axis so the planet and its local neighborhood stay continuously centered."><img src="https://pbllambay.github.io/assets/images/blog/comoving-framework-migration.jpg" class="img-fluid figure-img" alt="Editorial illustration of a protoplanetary disk showing a planet's inward spiral migration trail and a cyan tracking frame centered on the moving planet"></a></p>
<figcaption>Following a migrating planet inward along its spiral trajectory through the disk: the comoving reference frame rescales dynamically with the planet’s evolving semi-major axis so the planet and its local neighborhood stay continuously centered.</figcaption>
</figure>
</div>
<div class="callout callout-style-simple callout-note">
<div class="callout-body d-flex">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-body-container">
<p><strong>Companion research note</strong> — Transforming concepts from <a href="../../papers/comoving-framework-2026/index.html">Ramos &amp; Benítez-Llambay (2026)</a> and <a href="../../papers/dynamical-trapping-dusty-disks-2026/index.html">Gomez et al.&nbsp;(2026)</a> into simple intuition and real applications.</p>
</div>
</div>
</div>
<section id="eulerian-and-comoving-reference-frames" class="level2">
<h2 class="anchored" data-anchor-id="eulerian-and-comoving-reference-frames">Eulerian and comoving reference frames</h2>
<p>Simulating <strong>planet migration</strong> in a protoplanetary disk requires following a planet whose orbital radius changes over thousands of orbital periods. Standard Eulerian hydrodynamical codes discretize the disk on a spatially fixed radial grid: local resolution is high only where the mesh is refined around a fixed radius, so once the planet migrates away from its initial semi-major axis, it leaves that refined region.</p>
<p>An alternative is to formulate the equations in a <strong>comoving reference frame</strong> whose radial coordinate rescales dynamically with the planet’s semi-major axis <img src="https://latex.codecogs.com/png.latex?a(t)">. In that frame, the planet remains stationary on the computational grid while the background disk flows radially across the mesh as <img src="https://latex.codecogs.com/png.latex?a(t)"> evolves.</p>
</section>
<section id="limitations-of-fixed-grids-for-long-range-migration" class="level2">
<h2 class="anchored" data-anchor-id="limitations-of-fixed-grids-for-long-range-migration">Limitations of fixed grids for long-range migration</h2>
<p>Discretizing a protoplanetary disk on a spatially fixed Eulerian radial mesh introduces three practical limitations during long-range migration:</p>
<ul>
<li><strong>Leaving the high-resolution zone:</strong> Modelers frequently stretch or concentrate radial cells around a planet’s starting orbit to resolve its Hill sphere and co-orbital flow. As the planet migrates inward or outward, it enters coarser cells and loses spatial resolution.</li>
<li><strong>Prohibitive global grids:</strong> Resolving the entire radial domain uniformly at Hill-sphere resolution increases cell counts and memory requirements substantially, restricting multi-thousand-orbit parameter surveys.</li>
<li><strong>Inner-boundary timestep limits:</strong> Even when a planet orbits at larger radii, small grid cells near the fixed inner radial boundary continue to limit the global CFL timestep, and long-range inward migration can eventually encounter the inner boundary.</li>
</ul>
</section>
<section id="how-the-comoving-framework-solves-it" class="level2">
<h2 class="anchored" data-anchor-id="how-the-comoving-framework-solves-it">How the comoving framework solves it</h2>
<p>In <a href="../../papers/comoving-framework-2026/index.html">Ramos &amp; Benítez-Llambay (2026)</a>, rather than anchoring the radial mesh to static inertial coordinates, the fluid equations are formulated in <strong>comoving coordinates</strong> that rescale dynamically with the planet’s evolving semi-major axis.</p>
<p>In that comoving frame:</p>
<ul>
<li>The planet remains stationary relative to the local grid throughout the simulation.</li>
<li>Local mesh refinement around the planet’s Hill sphere and horseshoe region remains centered on the planet during long-range inward or outward migration.</li>
<li>Because the coordinate scale itself varies in time as the planet migrates, switching to the time-dependent comoving frame requires modifying the governing equations: the hydrodynamical continuity and momentum equations gain explicit non-inertial source terms involving the frame’s expansion/contraction rate (parametrized through <img src="https://latex.codecogs.com/png.latex?H"> in the published formulation) and inertial accelerations. Including these source terms ensures angular momentum transport and spiral wave propagation remain consistent with the inertial frame.</li>
</ul>
<p>Implemented in <a href="../../fargo3d.html">FARGO3D</a>, this formulation achieves <strong>more than an order-of-magnitude (<img src="https://latex.codecogs.com/png.latex?%3E10%5Ctimes">) computational speedup</strong> on long-range migration integrations compared with equivalent fixed-grid setups.</p>
</section>
<section id="applications-in-planet-migration-studies" class="level2">
<h2 class="anchored" data-anchor-id="applications-in-planet-migration-studies">Applications in planet-migration studies</h2>
<p>Reducing the cost of secular-timescale hydrodynamical migration expands the range of orbital-evolution problems that can be studied directly:</p>
<ul>
<li><strong>Resonance capture &amp; system assembly:</strong> Tracking planets across large radial excursions allows studies of how multi-planet chains converge into mean-motion resonances or migrate through structured disks without approaching grid boundaries.</li>
<li><strong>Dynamical trapping in dusty disks:</strong> Using this framework in <code>FARGO3D</code>, PhD student <a href="../../teaching.html#current-phd-students">José Gomez</a> explored self-consistent two-fluid (<code>gas + dust</code>) migration across a 6-dimensional parameter space (<a href="../../papers/dynamical-trapping-dusty-disks-2026/index.html">Gomez et al.&nbsp;2026</a>). Allowing the planet to respond dynamically over long timescales revealed <strong>oscillatory radial confinement (dynamical attractors)</strong> that halt inward migration of super-Earths in dust-rich regions <em>without</em> requiring pre-existing pressure bumps.</li>
</ul>
<hr>
<p><strong>Further reading:</strong> - <a href="../../papers/comoving-framework-2026/index.html">Paper overview: a comoving framework for planet migration (Ramos &amp; Benítez-Llambay 2026)</a> - <a href="../../papers/dynamical-trapping-dusty-disks-2026/index.html">Paper overview: self-consistent migration and dynamical trapping (Gomez et al.&nbsp;2026)</a> - <a href="../../fargo3d.html">FARGO3D project page</a></p>


</section>

 ]]></description>
  <category>planet-disk</category>
  <category>numerical-methods</category>
  <category>research-notes</category>
  <guid>https://pbllambay.github.io/posts/comoving-framework-planet-migration/</guid>
  <pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate>
  <media:content url="https://pbllambay.github.io/assets/images/blog/comoving-framework-migration.jpg" medium="image" type="image/jpeg" height="80" width="144"/>
</item>
<item>
  <title>How RAM works: mesh-density functions and rapid advection on arbitrary meshes</title>
  <dc:creator>Pablo Benítez-Llambay</dc:creator>
  <link>https://pbllambay.github.io/posts/ram-rapid-advection-arbitrary-meshes/</link>
  <description><![CDATA[ 





<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="../../assets/images/blog/ram-arbitrary-meshes.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-1" title="A smooth mesh-density arch concentrates grid cells tightly around a central vortex while keeping outer cells coarse; RAM’s rapid advection transports fluid cleanly across the entire high-resolution cluster without getting throttled by tiny cells."><img src="https://pbllambay.github.io/assets/images/blog/ram-arbitrary-meshes.jpg" class="img-fluid figure-img" alt="Isometric editorial schematic showing a glowing mesh-density arch projecting down onto clustered fine grid cells and a fluid wave leaping smoothly across the refined zone"></a></p>
<figcaption>A smooth mesh-density arch concentrates grid cells tightly around a central vortex while keeping outer cells coarse; RAM’s rapid advection transports fluid cleanly across the entire high-resolution cluster without getting throttled by tiny cells.</figcaption>
</figure>
</div>
<div class="callout callout-style-simple callout-note">
<div class="callout-body d-flex">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-body-container">
<p><strong>Companion research note</strong> — Transforming core ideas from <a href="../../papers/ram-advection-2023/index.html">Benítez-Llambay, Krapp, Ramos, &amp; Kratter (2023)</a> into clear intuition and practical astrophysical examples in <a href="../../fargo3d.html">FARGO3D</a>.</p>
</div>
</div>
</div>
<section id="the-cfl-timestep-constraint-on-non-uniform-meshes" class="level2">
<h2 class="anchored" data-anchor-id="the-cfl-timestep-constraint-on-non-uniform-meshes">The CFL timestep constraint on non-uniform meshes</h2>
<p>Many problems in computational astrophysics require substantially different spatial resolution across a single simulation domain. Resolving the gas flow inside a planet’s Hill sphere—to model a <strong>circumplanetary disk</strong>, for example—demands fine grid spacing near the planet while retaining coarser cells in the outer circumstellar disk to keep total cell counts manageable.</p>
<p>On a standard explicit fluid solver, however, the global timestep is constrained by the smallest cell via the Courant–Friedrichs–Lewy (CFL) stability condition:</p>
<p><img src="https://latex.codecogs.com/png.latex?%5CDelta%20t%20%5Cle%20%5Cmin_i%20%5Cleft(%5Cfrac%7B%5CDelta%20x_i%7D%7B%7Cv_i%7C%7D%5Cright)"></p>
<p>When fluid sweeps supersonically across a refined zone—as Keplerian disk gas does relative to an embedded planet—refining cell widths by a factor of <img src="https://latex.codecogs.com/png.latex?10"> reduces the explicit CFL timestep by a factor of <img src="https://latex.codecogs.com/png.latex?10"> across the entire mesh, offsetting much of the computational benefit of a non-uniform grid.</p>
<p>The original <code>FARGO</code> orbital advection algorithm removed that restriction for <em>uniformly spaced</em> grids by shifting conserved quantities by an integer number of equal-width cells in one step. When cell sizes <img src="https://latex.codecogs.com/png.latex?%5CDelta%20x_i"> vary in space, shifting by a fixed integer cell index no longer corresponds to a uniform physical displacement.</p>
</section>
<section id="velocity-decomposition-and-conservative-interpolation" class="level2">
<h2 class="anchored" data-anchor-id="velocity-decomposition-and-conservative-interpolation">Velocity decomposition and conservative interpolation</h2>
<p>In <a href="../../papers/ram-advection-2023/index.html">RAM (Benítez-Llambay et al.&nbsp;2023)</a>, rapid advection is generalized to <strong>arbitrary non-uniform meshes</strong>. The method rests on two components:</p>
<section id="splitting-bulk-velocity-from-residual-motion" class="level3">
<h3 class="anchored" data-anchor-id="splitting-bulk-velocity-from-residual-motion">1. Splitting bulk velocity from residual motion</h3>
<p>Following orbital advection, the flow velocity is decomposed into a uniform bulk speed <img src="https://latex.codecogs.com/png.latex?v_0"> and a smaller local residual <img src="https://latex.codecogs.com/png.latex?%5Cdelta%20v(x,%20t)">:</p>
<p><img src="https://latex.codecogs.com/png.latex?v(x,%20t)%20=%20v_0%20+%20%5Cdelta%20v(x,%20t),%20%5Cqquad%20%5Cpartial_t%20Q%20+%20v_0%20%5Cpartial_x%20Q%20+%20%5Cpartial_x%20(Q%5C,%5Cdelta%20v)%20=%200"></p>
<p>Using <strong>operator splitting</strong>:</p>
<ol type="1">
<li><strong>Rapid conservative step:</strong> The bulk transport (<img src="https://latex.codecogs.com/png.latex?v_0">) is solved via conservative piecewise-linear or piecewise-parabolic interpolation along characteristics—remapping conserved quantities across arbitrary cell widths <em>without</em> being limited to crossing a single cell per step.</li>
<li><strong>Residual step:</strong> Only the residual velocity <img src="https://latex.codecogs.com/png.latex?%5Cdelta%20v"> enters standard explicit finite-volume advection, relaxing the CFL timestep constraint substantially and lowering cumulative numerical diffusion because fewer substeps are required.</li>
</ol>
</section>
<section id="why-the-mesh-density-function-psi-matters" class="level3">
<h3 class="anchored" data-anchor-id="why-the-mesh-density-function-psi-matters">2. Why the mesh-density function <img src="https://latex.codecogs.com/png.latex?%5Cpsi"> matters</h3>
<p>Generalizing rapid advection to non-uniform grids raises a practical algorithmic question: when cell widths <img src="https://latex.codecogs.com/png.latex?%5CDelta%20x_i"> vary across space, how can the solver quickly determine the upstream departure intervals and overlapping source cells during conservative interpolation?</p>
<p>To avoid searching through arbitrary cell interfaces at each step, RAM constructs non-uniform grids from a smooth <strong>mesh-density function</strong> <img src="https://latex.codecogs.com/png.latex?%5Cpsi(s)">:</p>
<ul>
<li>Where <img src="https://latex.codecogs.com/png.latex?%5Cpsi"> is large, grid points cluster tightly to form high-resolution zones (such as the periodic-bump and radial-bump refinements constructed in Appendix B of the paper).</li>
<li>Where <img src="https://latex.codecogs.com/png.latex?%5Cpsi"> is small, cell spacing increases smoothly toward coarser outer cells.</li>
</ul>
<p><strong>Integrating the mesh-density function defines a coordinate transformation that maps the non-uniform physical space onto a uniform computational coordinate <img src="https://latex.codecogs.com/png.latex?%5Cxi"></strong>. In <img src="https://latex.codecogs.com/png.latex?%5Cxi">-space, every cell has uniform computational width, so:</p>
<ul>
<li>Knowing <img src="https://latex.codecogs.com/png.latex?%5Cpsi"> allows direct mapping between physical cell boundaries and uniform computational indices, eliminating cell-search overhead during multi-cell remapping.</li>
<li>Because the grid spacing varies smoothly according to <img src="https://latex.codecogs.com/png.latex?%5Cpsi">, piecewise-polynomial conservative interpolation maintains high accuracy across refined regions with low geometric distortion.</li>
</ul>
</section>
</section>
<section id="applications-in-multi-scale-disk-simulations" class="level2">
<h2 class="anchored" data-anchor-id="applications-in-multi-scale-disk-simulations">Applications in multi-scale disk simulations</h2>
<p>Combining RAM with structured mesh-density functions allows simulations across large spatial dynamic ranges in <a href="../../fargo3d.html">FARGO3D</a>:</p>
<ul>
<li><strong>Circumplanetary disks &amp; moon formation:</strong> Resolving sub-Hill scales around an embedded giant planet in 2D and 3D global disks without the timestep being restricted by the bulk Keplerian velocity in the finest cells.</li>
<li><strong>Advection across locally refined zones:</strong> Benchmarks in the paper demonstrate order-of-magnitude speedups alongside substantially lower truncation error than standard explicit upwind schemes whenever fluid advects rapidly across refined meshes.</li>
</ul>
<hr>
<p><strong>Further reading:</strong> - <a href="../../papers/ram-advection-2023/index.html">Paper overview: RAM — rapid advection algorithm on arbitrary meshes (2023)</a> - <a href="../../fargo3d.html">FARGO3D project page</a></p>


</section>

 ]]></description>
  <category>numerical-methods</category>
  <category>research-notes</category>
  <guid>https://pbllambay.github.io/posts/ram-rapid-advection-arbitrary-meshes/</guid>
  <pubDate>Tue, 20 Oct 2026 00:00:00 GMT</pubDate>
  <media:content url="https://pbllambay.github.io/assets/images/blog/ram-arbitrary-meshes.jpg" medium="image" type="image/jpeg" height="80" width="144"/>
</item>
<item>
  <title>Momentum transfer between gas and dust</title>
  <dc:creator>Pablo Benítez-Llambay</dc:creator>
  <link>https://pbllambay.github.io/posts/momentum-transfer-gas-and-dust/</link>
  <description><![CDATA[ 





<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="../../assets/images/blog/momentum-transfer-gas-dust.jpg" class="lightbox" data-gallery="quarto-lightbox-gallery-1" title="Gas streamlines (blue) carrying tiny golden dust along every eddy (top), exchanging momentum with drifting amber pebbles (middle), while massive boulders cross nearly unperturbed (bottom)—illustrating size-dependent aerodynamic drag."><img src="https://pbllambay.github.io/assets/images/blog/momentum-transfer-gas-dust.jpg" class="img-fluid figure-img" alt="Editorial schematic illustration showing gas streamlines coupled strongly to fine dust grains at top, moderately to drifting pebbles in the middle, and weakly to large boulders at bottom"></a></p>
<figcaption>Gas streamlines (blue) carrying tiny golden dust along every eddy (top), exchanging momentum with drifting amber pebbles (middle), while massive boulders cross nearly unperturbed (bottom)—illustrating size-dependent aerodynamic drag.</figcaption>
</figure>
</div>
<div class="callout callout-style-simple callout-note">
<div class="callout-body d-flex">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-body-container">
<p><strong>Companion research note</strong> — Transforming concepts from <a href="../../papers/multifluid-drag-2019/index.html">Benítez-Llambay, Krapp, &amp; Pessah (2019)</a> and <a href="https://ui.adsabs.harvard.edu/abs/2020RNAAS...4..198K/abstract" target="_blank" rel="noopener">Krapp &amp; Benítez-Llambay (2020)</a> into intuition and real-world applications in <a href="../../fargo3d.html">FARGO3D</a>.</p>
</div>
</div>
</div>
<section id="aerodynamic-drag-and-stopping-timescales" class="level2">
<h2 class="anchored" data-anchor-id="aerodynamic-drag-and-stopping-timescales">Aerodynamic drag and stopping timescales</h2>
<p>In a mixture of gas and solid particles, aerodynamic coupling is governed by the particle <strong>stopping time</strong> <img src="https://latex.codecogs.com/png.latex?%5Ctau_s">—the characteristic timescale for drag forces to damp the relative velocity between a grain and the surrounding gas—and its dimensionless counterpart in a Keplerian disk, the <strong>Stokes number</strong> <img src="https://latex.codecogs.com/png.latex?%5Cmathrm%7BSt%7D%20=%20%5Ctau_s%20%5COmega_K">:</p>
<ul>
<li><strong>Small grains (<img src="https://latex.codecogs.com/png.latex?%5Cmathrm%7BSt%7D%20%5Cll%201">):</strong> Momentum exchange occurs on timescales much shorter than the orbital period, keeping fine dust tightly coupled to the gas velocity field.</li>
<li><strong>Intermediate particles (<img src="https://latex.codecogs.com/png.latex?%5Cmathrm%7BSt%7D%20%5Csim%201">):</strong> Grains experience appreciable aerodynamic drag over one orbital timescale, driving maximum radial drift relative to the pressure-supported gas.</li>
<li><strong>Large bodies (<img src="https://latex.codecogs.com/png.latex?%5Cmathrm%7BSt%7D%20%5Cgg%201">):</strong> Stopping times greatly exceed the orbital timescale, so massive bodies follow nearly Keplerian trajectories perturbed only weakly by gas drag.</li>
</ul>
<p>Whenever the local <strong>dust-to-gas mass ratio</strong> <img src="https://latex.codecogs.com/png.latex?%5Cepsilon%20=%20%5Crho_d%20/%20%5Crho_g"> approaches or exceeds unity, momentum conservation requires accounting for <strong>two-way momentum feedback</strong>: not only does the gas accelerate the dust, but the dust exerts an equal and opposite back-reaction force on the gas.</p>
</section>
<section id="consequences-in-protoplanetary-disks" class="level2">
<h2 class="anchored" data-anchor-id="consequences-in-protoplanetary-disks">Consequences in protoplanetary disks</h2>
<p>In circumstellar disks, gas and dust coexist throughout the disk yet obey different force balances: gas is partially supported against gravity by radial pressure gradients, whereas dust particles are pressureless. Two-way aerodynamic drag between them produces several dynamical effects:</p>
<ul>
<li><strong>Radial drift &amp; grain sorting:</strong> Disk gas orbits the central star slightly slower than the Keplerian speed because of outward radial pressure support. Solid particles experience this velocity difference as a headwind, lose angular momentum, and drift radially inward at rates dependent on <img src="https://latex.codecogs.com/png.latex?%5Cmathrm%7BSt%7D">.</li>
<li><strong>Scattered pebble torques on planets:</strong> When an embedded planet gravitationally perturbs drifting solids, pebbles are deflected into asymmetric wakes that the pressure-supported gas cannot match. The resulting dust distribution exerts net positive torques that can slow or reverse inward planetary migration (<a href="../../papers/pebble-torque-2018/index.html">Benítez-Llambay &amp; Pessah 2018</a>).</li>
<li><strong>Dust concentration &amp; planetesimal formation:</strong> Collective two-way drag between drifting solids and gas drives the <strong>streaming instability</strong>, concentrating particles into dense filaments that can undergo gravitational collapse into planetesimals. However, distributing momentum across a continuous grain-size spectrum lowers linear growth rates substantially unless solids first segregate or concentrate locally (<a href="../../papers/polydisperse-streaming-instability-2019/index.html">Krapp et al.&nbsp;2019</a>).</li>
</ul>
</section>
<section id="numerical-stiffness-and-implicit-time-integration" class="level2">
<h2 class="anchored" data-anchor-id="numerical-stiffness-and-implicit-time-integration">Numerical stiffness and implicit time integration</h2>
<p>Astrophysical dust–gas mixtures—and protoplanetary disks in particular—span grain sizes from microns to centimeters simultaneously. Integrating <img src="https://latex.codecogs.com/png.latex?N"> interacting fluid equations numerically becomes challenging when stopping times are short relative to the orbital timescale:</p>
<ol type="1">
<li><strong>Stiffness from small grains:</strong> Micron-sized dust has a stopping time orders of magnitude shorter than the orbital period. An <em>explicit</em> drag integrator becomes numerically unstable when the timestep <img src="https://latex.codecogs.com/png.latex?%5CDelta%20t"> exceeds the shortest stopping time, restricting <img src="https://latex.codecogs.com/png.latex?%5CDelta%20t"> across the entire 3D simulation.</li>
<li><strong>Cost of general matrix inversion:</strong> An <em>implicit</em> backward-Euler update avoids that timestep restriction by solving all <img src="https://latex.codecogs.com/png.latex?N"> fluid velocities simultaneously. In <strong>Benítez-Llambay, Krapp, &amp; Pessah (2019)</strong>, we derived the <strong>general solution for <img src="https://latex.codecogs.com/png.latex?N"> fully coupled fluids</strong>, where every fluid can exchange momentum directly with every other fluid. That general method is unconditionally and asymptotically stable, conserves total momentum to machine precision, and recovers the exact terminal-velocity / center-of-mass equilibrium in the stiff limit—but because all fluids may couple to one another, solving the full <img src="https://latex.codecogs.com/png.latex?N%20%5Ctimes%20N"> linear system scales as <img src="https://latex.codecogs.com/png.latex?O(N%5E3)"> per cell.</li>
</ol>
</section>
<section id="from-the-general-2019-solver-to-the-analytical-on-solution-krapp-benítez-llambay-2020" class="level2">
<h2 class="anchored" data-anchor-id="from-the-general-2019-solver-to-the-analytical-on-solution-krapp-benítez-llambay-2020">From the general 2019 solver to the analytical <img src="https://latex.codecogs.com/png.latex?O(N)"> solution (Krapp &amp; Benítez-Llambay 2020)</h2>
<p>In protoplanetary disks, however, <strong>dust species exchange momentum predominantly with the gas rather than colliding directly with each other.</strong> Consider one gas fluid (<img src="https://latex.codecogs.com/png.latex?g">) coupled to <img src="https://latex.codecogs.com/png.latex?N-1"> dust species (<img src="https://latex.codecogs.com/png.latex?k%20=%201,%20%5Cdots,%20N-1">):</p>
<p><img src="https://latex.codecogs.com/png.latex?%5Cfrac%7Bd%5Cmathbf%7Bv%7D_g%7D%7Bdt%7D%20=%20-%5Csum_%7Bk%7D%20%5Cepsilon_k%20%5Cfrac%7B%5Cmathbf%7Bv%7D_g%20-%20%5Cmathbf%7Bv%7D_k%7D%7B%5Ctau_k%7D%20+%20%5Cmathbf%7Ba%7D_g,%20%5Cqquad%20%5Cfrac%7Bd%5Cmathbf%7Bv%7D_k%7D%7Bdt%7D%20=%20-%5Cfrac%7B%5Cmathbf%7Bv%7D_k%20-%20%5Cmathbf%7Bv%7D_g%7D%7B%5Ctau_k%7D%20+%20%5Cmathbf%7Ba%7D_k"></p>
<p>where <img src="https://latex.codecogs.com/png.latex?%5Cepsilon_k%20=%20%5Crho_k%20/%20%5Crho_g"> is the dust-to-gas mass ratio of species <img src="https://latex.codecogs.com/png.latex?k">, <img src="https://latex.codecogs.com/png.latex?%5Ctau_k"> is its aerodynamic stopping time, and <img src="https://latex.codecogs.com/png.latex?%5Cmathbf%7Ba%7D_g,%20%5Cmathbf%7Ba%7D_k"> are external accelerations (such as gravity or gas pressure forces).</p>
<p>Because the dust species exchange momentum only with the gas, the implicit coupling matrix of the 2019 method becomes sparse (with non-zero off-diagonal couplings restricted to the gas row and gas column). Exploiting that structure, <strong>Krapp &amp; Benítez-Llambay (2020, <em>RNAAS</em>, 4, 198)</strong> derived the <strong>exact closed-form analytical solution</strong> to the 2019 implicit update.</p>
<p>In the drag-only step (<img src="https://latex.codecogs.com/png.latex?%5Cmathbf%7Ba%7D_g%20=%20%5Cmathbf%7Ba%7D_k%20=%200">), expressing each updated dust velocity <img src="https://latex.codecogs.com/png.latex?%5Cmathbf%7Bv%7D_k%5E%7Bn+1%7D"> directly in terms of the updated gas velocity <img src="https://latex.codecogs.com/png.latex?%5Cmathbf%7Bv%7D_g%5E%7Bn+1%7D"> gives:</p>
<p><img src="https://latex.codecogs.com/png.latex?%5Cmathbf%7Bv%7D_k%5E%7Bn+1%7D%20=%20%5Cfrac%7B%5Cmathbf%7Bv%7D_k%5En%20+%20(%5CDelta%20t%20/%20%5Ctau_k)%5C,%5Cmathbf%7Bv%7D_g%5E%7Bn+1%7D%7D%7B1%20+%20%5CDelta%20t%20/%20%5Ctau_k%7D"></p>
<p>Substituting that relation back into the gas equation isolates <img src="https://latex.codecogs.com/png.latex?%5Cmathbf%7Bv%7D_g%5E%7Bn+1%7D"> analytically:</p>
<p><img src="https://latex.codecogs.com/png.latex?%5Cmathbf%7Bv%7D_g%5E%7Bn+1%7D%20=%20%5Cfrac%7B%5Cmathbf%7Bv%7D_g%5En%20+%20%5Csum_%7Bk%7D%20%5Cdfrac%7B%5Cepsilon_k%20(%5CDelta%20t%20/%20%5Ctau_k)%7D%7B1%20+%20%5CDelta%20t%20/%20%5Ctau_k%7D%5C,%5Cmathbf%7Bv%7D_k%5En%7D%7B1%20+%20%5Csum_%7Bk%7D%20%5Cdfrac%7B%5Cepsilon_k%20(%5CDelta%20t%20/%20%5Ctau_k)%7D%7B1%20+%20%5CDelta%20t%20/%20%5Ctau_k%7D%7D"></p>
<p>With external accelerations (<img src="https://latex.codecogs.com/png.latex?%5Cmathbf%7Ba%7D_g,%20%5Cmathbf%7Ba%7D_k">), the same closed-form derivation yields an exact analytical update in <strong><img src="https://latex.codecogs.com/png.latex?O(N)"> operations</strong> instead of <img src="https://latex.codecogs.com/png.latex?O(N%5E3)">, while preserving every property of the general 2019 method:</p>
<ul>
<li><strong>Linear <img src="https://latex.codecogs.com/png.latex?O(N)"> scaling</strong> (<a href="https://ui.adsabs.harvard.edu/abs/2020RNAAS...4..198K/abstract" target="_blank" rel="noopener">Krapp &amp; Benítez-Llambay 2020</a>), enabling GPU execution across many grain sizes simultaneously.</li>
<li><strong>Unconditional and asymptotic stability</strong> (<a href="../../papers/multifluid-drag-2019/index.html">Benítez-Llambay, Krapp, &amp; Pessah 2019</a>): remains stable for arbitrarily small stopping times and arbitrary dust-to-gas mass ratios while recovering the coupled center-of-mass / terminal-velocity limit.</li>
<li><strong>Machine-precision momentum conservation:</strong> Total momentum <img src="https://latex.codecogs.com/png.latex?%5Crho_g%20%5Cmathbf%7Bv%7D_g%20+%20%5Csum_k%20%5Crho_k%20%5Cmathbf%7Bv%7D_k"> is conserved identically at every step in <a href="../../fargo3d.html">FARGO3D</a>.</li>
</ul>
<hr>
<p><strong>Further reading:</strong> - <a href="../../papers/multifluid-drag-2019/index.html">Paper overview: asymptotically stable multispecies momentum transfer in FARGO3D (Benítez-Llambay, Krapp, &amp; Pessah 2019)</a> - <a href="https://ui.adsabs.harvard.edu/abs/2020RNAAS...4..198K/abstract" target="_blank" rel="noopener">Analytical O(N) velocity update: Krapp &amp; Benítez-Llambay (2020, RNAAS, 4, 198)</a> - <a href="../../papers/polydisperse-streaming-instability-2019/index.html">Polydisperse streaming instability (Krapp et al.&nbsp;2019)</a> - <a href="../../fargo3d.html">FARGO3D project page</a></p>


</section>

 ]]></description>
  <category>numerical-methods</category>
  <category>dust-dynamics</category>
  <category>research-notes</category>
  <guid>https://pbllambay.github.io/posts/momentum-transfer-gas-and-dust/</guid>
  <pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate>
  <media:content url="https://pbllambay.github.io/assets/images/blog/momentum-transfer-gas-dust.jpg" medium="image" type="image/jpeg" height="80" width="144"/>
</item>
</channel>
</rss>
