Papers
Topics
Authors
Recent
Search
2000 character limit reached

CGSim: Two-Fluid Cold Gas Subgrid Model

Updated 14 July 2026
  • CGSim is a two-fluid subgrid model that represents unresolved cold circumgalactic gas as a co-spatial fluid, facilitating realistic mass, momentum, and energy exchanges with the hot phase.
  • It addresses the critical scale separation between galactic halos and sub-pc cold cloudlets by providing a gradual and physically motivated transition from hot to cold gas in simulations.
  • The modular design of CGSim enables the integration of additional physics, such as turbulence and magnetic fields, thereby improving the accuracy of cold gas representations in cosmological studies.

Searching arXiv for the cited papers to ground the article. CGSim most explicitly denotes the Cold Gas Subgrid Model (CGSM), a two-fluid subgrid framework for modeling unresolved cold circumgalactic medium (CGM) gas in galaxy simulations. In that formulation, the cold phase at 104K\sim 10^4\,{\rm K} is represented not as resolved clumps but as a co-spatial subgrid fluid coupled to the ordinary hydrodynamic gas through mass, momentum, and energy exchange. The framework is motivated by the severe scale separation between galactic halos and the sub-pc to pc cloudlet scales that govern cold-gas survival, destruction, and condensation, and it is intended to recover the qualitative behavior of unresolved cold CGM physics more faithfully than standard underresolved hydrodynamics (Butsky et al., 2024).

1. Definition and terminological scope

Within the supplied literature, CGSim refers most directly to the CGSM / CGSim concept: a two-fluid subgrid model for unresolved cold CGM gas. The model evolves the normal resolved gas with hydrodynamics and a subgrid cold phase by tracking its total mass density and bulk momentum, while deriving unresolved cloudlet properties from the resolved phase under pressure equilibrium and a cooling-length-based cloud-size prescription (Butsky et al., 2024).

A central point is that CGSim in this sense is not a particle-based cloud tracker and not a direct high-resolution simulation of individual cold structures. The model explicitly does not track individual clouds. Instead, it evolves the cell-averaged mass density of all unresolved cold gas in a cell, denoted ρˉcl\bar{\rho}_{\rm cl}, together with the bulk velocity vˉcl{\bf \bar{v}_{\rm cl}} of that unresolved component. This distinction matters because the framework is designed to represent an unresolved multiphase medium statistically rather than geometrically.

The term can also be confused with unrelated simulation frameworks in other subfields. In geostatistics, CCWSIM is a wavelet-accelerated extension of CCSIM for categorical multiple-point geostatistical simulation; it is described as being in the same family as CCSIM and MS-CCSIM and is not a separate CGSim implementation (Bavandsavadkoohi et al., 2024). In graphics hardware, 3DGauCIM concerns acceleration of static and dynamic 3D Gaussian splatting on edge devices and is relevant only in the broader sense of simulation/rendering acceleration rather than as a cold-gas CGSim framework (Huang et al., 25 Jul 2025). This suggests that, in astrophysical usage, CGSim is best interpreted as shorthand for the CGSM-style cold-gas subgrid approach.

2. Astrophysical motivation and scale separation

The core motivation for CGSim is that cold CGM gas is both astrophysically important and numerically underresolved. The cold component of the CGM is described as a major reservoir in the galactic baryon cycle: it can be accreted onto galaxies and fuel star formation, ejected in winds, and mix with hot halo gas. The supplied account states that cold gas is seen around dwarf, LL_\ast, and massive galaxies, and may account for 25%\gtrsim 25\% of baryons in LL_\ast galaxies and up to 90%\sim 90\% in dwarfs (Butsky et al., 2024).

The numerical obstacle is the mismatch between physically relevant cold-cloud scales and practical halo-resolution scales. The characteristic size of cold CGM cloudlets is estimated to be 0.110\sim 0.1 - 10 pc, with observations suggesting structures perhaps as small as 10100\sim 10-100 pc or below, whereas galaxy-scale cosmological simulations typically resolve the CGM only to 100\sim 100 pc to kpc scales. The paper further notes that resolving an ρˉcl\bar{\rho}_{\rm cl}0 halo out to ρˉcl\bar{\rho}_{\rm cl}1 kpc at parsec resolution would require ρˉcl\bar{\rho}_{\rm cl}2 million times more voxels than state-of-the-art cosmological runs (Butsky et al., 2024).

Standard underresolved hydrodynamics then produces specific pathologies. Cold clouds become artificially one-cell objects; their sizes are set by the grid rather than by the underlying microphysics; cloud destruction and growth times become too long; and the spatial distribution of cold gas becomes qualitatively wrong. CGSim is introduced precisely to avoid forcing all thermodynamic complexity into a single resolved thermal phase when the relevant cold structures are far below the grid scale.

3. Two-fluid formulation

CGSim treats the gas as two coupled components: a resolved “hot” gas fluid and an unresolved cold gas fluid. The resolved fluid is the standard hydrodynamic gas, characterized by density ρˉcl\bar{\rho}_{\rm cl}3, velocity ρˉcl\bar{\rho}_{\rm cl}4, energy density ρˉcl\bar{\rho}_{\rm cl}5, and pressure ρˉcl\bar{\rho}_{\rm cl}6. In the uncoupled presentation, its equations are written as

ρˉcl\bar{\rho}_{\rm cl}7

ρˉcl\bar{\rho}_{\rm cl}8

ρˉcl\bar{\rho}_{\rm cl}9

The cold phase represents unresolved cold cloudlets embedded in the hot medium. Three assumptions organize the closure. First, the cloudlets satisfy vˉcl{\bf \bar{v}_{\rm cl}}0. Second, the cold phase is effectively pressureless as a bulk fluid on resolved scales. Third, it is assigned a fixed temperature, usually

vˉcl{\bf \bar{v}_{\rm cl}}1

The dynamically evolved cold-fluid variables are the total mass density vˉcl{\bf \bar{v}_{\rm cl}}2 and the bulk velocity vˉcl{\bf \bar{v}_{\rm cl}}3. The quantity vˉcl{\bf \bar{v}_{\rm cl}}4 is explicitly not the physical density inside an individual cloudlet; it is the cell-averaged mass density of all unresolved cold gas in that cell. This choice separates macroscopic transport from unresolved internal cloud structure and allows partial cold mass fractions within a single resolution element.

4. Derived cloudlet properties and exchange operators

The unresolved cloudlets are not evolved individually; their physical properties are inferred from the resolved hot phase. The construction assumes thermal pressure equilibrium between phases, so the cold cloudlet density is set by the hot-cell pressure and the assumed cold temperature. The cloudlet radius follows the “mist” picture of CGM cold gas,

vˉcl{\bf \bar{v}_{\rm cl}}5

evaluated at the cooling-function peak temperature vˉcl{\bf \bar{v}_{\rm cl}}6: vˉcl{\bf \bar{v}_{\rm cl}}7 Here

vˉcl{\bf \bar{v}_{\rm cl}}8

and vˉcl{\bf \bar{v}_{\rm cl}}9 is determined from the resolved thermodynamic state and the radiative cooling rate. Once LL_\ast0 is known, a characteristic cloudlet mass is assigned through

LL_\ast1

and the number of unresolved cloudlets in a cell is obtained from the total cold mass via

LL_\ast2

The coupled mass equations are written as

LL_\ast3

LL_\ast4

A positive LL_\ast5 transfers mass from hot to cold; a negative value transfers mass from cold to hot.

The momentum equations add both mixing and drag: LL_\ast6

LL_\ast7

The mixing momentum term assigns donor-phase momentum to transferred mass: LL_\ast8 The drag term is

LL_\ast9

with

25%\gtrsim 25\%0

Because the cold phase is kept at fixed 25%\gtrsim 25\%1, its internal energy is not separately evolved. The hot-phase energy equation becomes

25%\gtrsim 25\%2

with

25%\gtrsim 25\%3

In physical terms, mixing removes thermal energy from the hot phase, while drag converts relative bulk motion into heat.

5. Thermal instability, cloud crushing, and timestep control

CGSim includes two explicit exchange channels: thermal instability and cloud crushing / cloud-wind interactions. Thermal instability is implemented by identifying cells that satisfy three conditions at a timestep: 25%\gtrsim 25\%4, 25%\gtrsim 25\%5, and radiative cooling would reduce the cell’s energy, 25%\gtrsim 25\%6 (Butsky et al., 2024). If these conditions are not met, the cell cools or heats normally.

When the instability criteria are satisfied, the model converts the energy that would be radiated away into cold-gas mass while conserving energy: 25%\gtrsim 25\%7 Solving for the mass transfer yields

25%\gtrsim 25\%8

Since 25%\gtrsim 25\%9, the transfer is positive and thermal instability moves mass only from hot to cold.

The second exchange channel adopts a cloud-crushing prescription from Fielding et al. (2022): LL_\ast0 The associated control parameters are

LL_\ast1

with LL_\ast2 if LL_\ast3, and LL_\ast4 otherwise. In the intended interpretation, rapidly cooling mixed gas can cause the cloud to grow by accreting mixed material; otherwise the cloud is destroyed. A plausible implication is that CGSim is designed to represent both condensation-dominated and ablation-dominated regimes within a single closure hierarchy.

The timestep is additionally constrained by drag coupling, following Laibe & Price-style two-fluid methods: LL_\ast5 The supplied description notes that the excerpt is truncated, but the intended purpose is explicit: the method imposes a drag-related timestep limit so that the two-fluid coupling remains numerically stable.

6. Validation, interpretation, and relation to adjacent usages

The validation program compares high-resolution standard hydrodynamics, low-resolution standard hydrodynamics, and low-resolution CGSM in idealized tests of thermal instability, spatial cold-gas distribution, cloud destruction, and cloud growth (Butsky et al., 2024). In a one-zone cooling test, standard hydrodynamics converts gas into a cold phase in a step-like way once the entire cell crosses the threshold, whereas CGSim produces a gradual transfer of mass. After one cooling time, CGSim yields roughly two-thirds of the gas as cold, and by three cooling times it saturates at about 83\% cold rather than forcing an immediate LL_\ast6 conversion.

In 2D thermal-instability tests of a LL_\ast7 kpc CGM patch, the contrast is qualitative and structural. High-resolution hydrodynamics produces a mist of LL_\ast8 pc cloudlets; low-resolution hydrodynamics produces a few artificially large, grid-sized clouds; and CGSM at low resolution reproduces the qualitative spatial distribution of the resolved run. In a cloud-in-wind problem, underresolved standard hydrodynamics makes the cloud size artificially large and therefore stretches the destruction time; the reported low-resolution hydro cloud-destruction time can be nearly a thousand times too long, while CGSim recovers the expected short timescale. When radiative cooling is included, CGSim also captures the expected subgrid accretion / growth regime, where resolved theory predicts cloud growth.

These results are interpreted cautiously. CGSim is not presented as a replacement for full-resolution hydrodynamics, but as a method that reproduces the correct qualitative behavior of unresolved cold CGM physics where standard simulations fail. It succeeds at allowing partial cold mass inside a cell, preventing the “one-cell cloud” artifact, reproducing smooth spatial cold-mass distributions, and capturing realistic destruction and growth timescales. The framework also highlights a common misconception in underresolved CGM modeling: standard low-resolution hydrodynamics can sometimes match total cold mass while still obtaining the right answer for the wrong reasons, because artificially inflated cloud sizes and lifetimes distort the underlying mechanism (Butsky et al., 2024).

The broader design is explicitly modular. If future work supports different cloud-size scalings, new turbulence models, or added physics such as magnetic fields, conduction, turbulence, or cosmic rays, the prescriptions for LL_\ast9, 90%\sim 90\%0, and 90%\sim 90\%1 can be updated without replacing the two-fluid architecture. That modularity also helps separate CGSim from unrelated uses of similar names in other subfields. CCWSIM addresses large-scale categorical/geostatistical simulation by performing CCSIM-style pattern search in DWT approximation-coefficient space, with a runtime-oriented realism–efficiency tradeoff (Bavandsavadkoohi et al., 2024). 3DGauCIM instead targets real-time rendering of static and dynamic 3D Gaussian Splatting on edge devices through co-designed culling, sorting, tile grouping, and DCIM-friendly dataflow, achieving reported frame rates above 200 FPS at low power (Huang et al., 25 Jul 2025). Those frameworks share the broad language of simulation and acceleration, but they solve different problems and do not redefine CGSim in the astrophysical sense.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to CGSim.