A cell stores an average amount of gas
Divide a periodic square into cells. Each stores mean volume density and momentum densities and . They represent area integrals divided by cell area, with the same state at every unit of invariant depth. A function evaluated at the cell center generally differs from its cell average.
A finite-volume method shares one interface flux between neighboring cells. Mass leaving one enters the other. Sum every cell and internal interface contributions cancel in pairs; periodic edges cancel too. Gravity enters momentum, with no direct mass source.
Let be cell width and the time step. The mass fluxes and cross the two directions. Higher-order reconstruction and interface solvers change local errors, but the shared-flux structure must remain.
Reading: Molecular-cloud Jeans standalone scientific reproduction
Periodic gravity responds to departures from the mean
The integral of a periodic Laplacian is zero, so Poisson’s right-hand side must also have zero mean. Use as the source. Nonzero Fourier modes give the potential directly. Setting the uniform potential to zero fixes an arbitrary constant; the mean density’s global gravity has already been removed from this model.
These are three-dimensional gas equations restricted to fields invariant in the third direction. An infinitely thin gravitating sheet would have a different gravity kernel. The periodic patch also has no outer boundary that falls inward as an isolated sphere.
The same density field determines acceleration at each momentum update. Density, velocity and gravity diagnostics follow that state. Nonpositive or nonfinite states fail the calculation; adding a density floor would alter the mass balance.
Reading: Molecular-cloud Jeans standalone scientific reproduction · Chandrasekhar & Fermi 1953, Problems of Gravitational Stability in the Presence of a Magnetic Field
Time refinement and grid refinement test different errors
Fix , initial contrast and zero initial momentum, then evolve to . Grids of , and cells give peak densities about , and . Before comparing complete fields, average neighboring fine subcells into the same coarse cell.
The adjacent-grid three-component state RMS differences fall from to . RMS means the square root of the mean squared difference. It summarizes the field, whereas peak density examines one cell. A small shift in a sharp peak can produce a large local difference.
Now hold the spatial grid fixed and halve the time step. This isolates a different discretization error. Smaller time steps do not add spatial information to a concentration occupying only one or two cells.
An actual early failure illustrates why two numbers can mislead. The maximum linear-wave amplitude error divided by its initial amplitude was about at 32 cells and at 64 cells. Coarse effects happened to cancel. The original failure is retained; the same test at 64, 128 and 256 cells shows a steadily decreasing error.
Reading: Molecular-cloud Jeans standalone scientific reproduction
An independent method needs its own spatial checks
The second method represents gas as Fourier waves, evaluates nonlinear fluxes on a grid and projects back to retained waves. It shares no finite-volume reconstruction or interface flux. Its point values are converted through the exact Fourier cell-average window before comparison. The original point-versus-average comparison remains in the failure history.
This pseudospectral reference has errors too. Momentum flux contains . Division can generate infinitely many harmonics even when the inputs contain finitely many. Coarse sampling can mistake short waves for longer ones, an effect called aliasing. Keeping only two thirds of the output band does not certify an alias-free nonpolynomial flux.
The corrected reference evaluates flux on twofold and fourfold quadrature grids before projection. It separately increases retained spatial modes and halves the time step. All ten original support cases and the fixed longer case have completed these three comparisons.
The largest twofold/fourfold density RMS difference is . Increasing retained modes gives maximum density RMS difference ; the separate half-step maximum complete-state difference is . These are measured differences for specified cases, not a uniform error theorem over continuous controls.
A smooth positive density with constant momentum supplies an analytic algebraic counterexample. At 64 points with only output masking, the retained flux-derivative coefficient error is about . Sixteenfold quadrature reduces it to about . This near-zero-density example lies outside the operating domain and exposes the limitation of the masking assumption.
Reading: Molecular-cloud Jeans standalone scientific reproduction
Jeans cells provide a stopping indicator
The local isothermal Jeans length scales as . With cells per side and mean density one, its cell count at the peak is . The producer stops before accepting a candidate below eight cells, retaining the last accepted field.
A 64-cell, stress run accepts , peak density and . Its next candidate at has only cells and is rejected. An intentionally underresolved 16-cell, initial state stops before its first step.
The late accepted field still has eight cells, but it has no same-time spatial convergence evidence. Its smooth isothermal energy diagnostic changes by about of the sum of the initial absolute energy components. The diagnostic combines kinetic, isothermal compression and gravitational terms to examine numerical evolution; it is not a radiative cooling-energy calculation. This state demonstrates stopping, rather than supplying an accurate stellar-fragment mass.
The usable time window follows the comparisons actually completed. The continuous operating rectangle is tested only through time two. The fixed example has additional evidence through two and a half. Continuing a movie does not extend that evidence automatically.
Reading: Molecular-cloud Jeans standalone scientific reproduction · Guszejnov et al. 2020, Can magnetized turbulence set the mass scale of stars? arXiv:2002.01421v1
Keep comparisons that another reader can repeat
Save initial conditions, actual time, grid, method and the complete numerical state alongside an image. Another reader can then give the same physical case to a different grid or algorithm and inspect both the position of a concentration and its mass balance.
The reproduction retains rebound, growth, coarse-error cancellation, the representation mismatch and resolution stops. Each failure identifies a concrete next check: initial velocity, spatial representation, flux quadrature or insufficient resolution. New physics can be assessed against the same chain as the model develops.
Reading: Molecular-cloud Jeans standalone scientific reproduction