Continuity
Mass crossing one cell face enters its neighbor. The periodic box has no external mass source.
Pressure, gravity and direction
Will this gas rebound or gather under gravity? A short density ripple can rebound as pressure pushes gas outward. A longer ripple can grow through self-gravity. A magnetic field changes this response by direction: compression along the field can grow even when cross-field compression is restored.
Watch a gas ripple respond to pressure and gravity. Rotate a field in a separate linear magnetic wave, then probe and save the computed state.
Cyan: computed state. Pale dashed: separate small-wave, start-from-rest limit.
The amber marker selects an actual cell.
This is a numerical gas section, not a telescope image. The nonlinear gas and strictly linear magnetic wave are separate models. Export saves the accepted arrays, configuration, history, selected probe and units.
Physics tutorial
BackgroundA slightly denser patch pulls gas inward. Pressure gradients push back. Their competition depends on the wavelength as well as temperature and density.
Why it mattersA dense knot on a grid can be physical gathering or an unresolved numerical result. Following its conserved mass and local Jeans resolution helps separate those questions.
Start with the essentials
Mass crossing one cell face enters its neighbor. The periodic box has no external mass source.
Positive squared frequency gives oscillation. Negative squared frequency permits growth; the initial velocity determines how much growing and decaying motion is present.
The compressive branches retain the angle between wavevector and field. Along-field thermal collapse is not removed by increasing field strength.
Typical misconceptionEach bright numerical patch is a newly formed star.
Better mental modelThis is isothermal gas with no sinks, thermal feedback or stellar mass inference. The calculation stops within a bounded operating window.
Typical misconceptionA magnetic field is just a larger sound speed in every direction.
Better mental modelThe separate linear branch evolves magnetic induction and transverse velocity. Rotating the field changes those couplings; it is not a nonlinear MHD cloud.
Choose Pressure rebound and watch the signed-wave history turn downward.
What to observe: The gas starts at rest. A short thermal wavelength restores the ripple instead of sustaining its growth.Choose Gas gathering and drag the cyan center. This restarts from a translated initial density ripple.
What to observe: The full periodic box stays in view. The amber probe samples the current computed cell, independently of the initial center.Choose Linear along-field growth, then drag the field handle toward a right angle.
What to observe: The strictly linear response changes because velocity and magnetic perturbations couple differently. The relative-amplitude stop protects this approximation.Pause, move the amber probe, and save the current field. Compare its selected row and wave history.
What to observe: The colors, velocities, probe values and exported arrays all come from the accepted state. The pale small-wave curve is a separate reference.Molecular clouds, gravity and magnetic direction · Reading path
Articles on this path that use this experiment, followed by the other experiments they suggest.