A passive scalar in prescribed flow
Dye does not alter the velocity, pressure, or buoyancy. Upwind advective face fluxes and centered diffusion cancel between neighboring periodic cells. The vortex is prescribed and divergence-free.
Advect and diffuse dye in a prescribed divergence-free velocity field, inspect snapshots, and check scalar conservation.
Complete the procedure, collect the required measurements, pass the engineering validation, and answer every graded concept question correctly.
Only a passed engineering check satisfies guided completion. Warnings and failures remain visible even if the procedure checklist is complete.
Choose one answer for each question. Each selection is graded immediately and saved locally. Guided Lab completion requires every concept question to be correct.
Concept score: 0 / 4 correct
Start with an example. Change one setting at a time and compare accuracy, conservation, and computation cost.
Boundary conditions. Periodic square; prescribed flow is unaffected by dye concentration.
Color limits stay fixed across saved times. Arrows show direction and relative speed within this snapshot. The marker identifies the selected sample.
Run the current setup to draw this plot. Use the buttons above to zoom and pan.
Run the current setup to draw this plot. Use the buttons above to zoom and pan.
Displayed values use five significant digits; downloads retain calculation precision. This table and the profiles describe the final result. The field slider changes only the snapshot above.
Use the shared export panel for plot PNGs, measurements, and a report with your settings, checks, and guided answers.
Valid settings are saved on this device. Project JSON preserves physical inputs and display units. Restore it and run again for fresh results.
Settings stay in this browser. Simulations run locally.
Dye does not alter the velocity, pressure, or buoyancy. Upwind advective face fluxes and centered diffusion cancel between neighboring periodic cells. The vortex is prescribed and divergence-free.
The uniform flow uses u = U and v = U/2. A cosine pattern translates and decays exactly; the lab compares its cell averages. Vortex and localized-spot cases have balance and bounds checks but no claimed exact error.
Review conservation, boundary, entropy, or residual checks.
Run the experiment to perform this check.
Review the specific check and its limits; this is not a universal accuracy certificate.
Run the experiment to perform this check.
Run the experiment to generate an engineering interpretation.
Exports are generated in your browser. No account or server upload is required.
Ready to export the current local experiment state.
Reviewed 2026-09-19. The educational model exposes its assumptions and validation; source references do not imply external certification.