Repository navigation
Datum Flow 0.1.1
Mesh, solve and see the results: Datum Flow now simulates 2D steady laminar flow with heat and natural convection, and proves its answers.
- Mesh. Mesh › Generate makes the mesh, finer at walls, at corners that stick into the flow and in the wake of bodies, with a size slider and local sizes. The quality report gives the element count, smallest angle and size ratio, and colours the elements on the view.
- Check before solving. The Checks tab lists what is missing and how to fix it. Solving is refused, with the reason, when there is no outlet, an edge has no boundary, temperatures are set with heat off, or the flow is probably turbulent ("Re ≈ 12000: this flow is probably turbulent; 0.1 solves laminar flow only.").
- Solve. Steady laminar flow, with heat and buoyancy when turned on. Residuals and monitors (drag, pressure drop, outlet temperature and more) are plotted while it runs. Stop at any time and resume. When a solve does not converge, Datum Flow says what to try, and raises the Reynolds or Rayleigh number in steps by itself when a direct solve fails.
- Results. Contours of speed, pressure, temperature, vorticity and velocity; streamlines and arrows; colour maps that read well in print (viridis, inferno, cividis, and a blue-white-red map for signed values). Click to place probes, draw a line to plot along it, and read the values table: flow rate through each inlet and outlet, pressure drop, force on each wall, heat flow, Nusselt number, and the mass and heat balances.
- Examples. File › Examples: lid-driven cavity (Re 100 and 1000), channel flow, flow past a cylinder (Re 20), backward-facing step, heated cavity (Ra 10³ to 10⁶) and a heat-sink fin channel. Each solves in seconds.
- Verification. Help › Verification shows the record of this version: exact solutions reproduced to round-off, errors falling at the method's formal rate, and published benchmarks (cylinder in a channel, lid-driven cavity, heated cavity). 36 of 36 checks pass; the same record is in
docs/VERIFICATION.md, with what is not verified said plainly. - Exports. A PDF report (inputs, mesh, convergence, results, verification status), VTU for free viewers such as ParaView, CSV of probes and line plots, PNG of the view.
- Import DXF. Closed outlines of lines, arcs, circles and polylines become the flow region and the bodies in it.
- Command line.
flow-cli solve model.dflowmeshes, checks and solves a model without the window, and writes VTU and CSV files. - Results are kept while the model is open and are not saved in the file: solve again after opening.