Skip to content

Foehncraft v1.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:25
· 76 commits to main since this release
77e810a
Version Stage Highlights
1.2.0 (2026-11-27) 8 (part), sprays Drop collisions (NTC + O'Rourke, D331) and the turbulence the drops take from the gas (D330, off by default); ECN Spray G G1 with collisions and a grid orientation test (grid_angle); turbulence start-up into gas at rest bounded for all models; SST and k-ε constant overrides reach the run; plan for injector and nozzle devices (D340 to D347). Collisions cut the G1 liquid lead at 0.8 ms from 19 % to 12 % and the vapour lead from 17 % to 10 %; the grid orientation moves the penetration by about 6 %. Gallery and recipes 333, 335, 338

1.2.0 (2026-11-27) – spray collisions, turbulence taken by the drops, turbulence start-up fix

In one paragraph. Foehncraft 1.2.0 extends the Lagrangian sprays of 1.1.0: drops of two parcels now collide and coalesce or separate (NTC with O'Rourke, D331), and the drops can take their dispersion work out of the gas turbulence (D330, off by default). The ECN Spray G case G1 runs with collisions and has a grid orientation test. Two fixes reach every turbulent run: the extrapolated start of a BDF2 step no longer drives k, ε, ω or ζ towards zero (a ζ-f₀ jet into gas at rest diverged before), and the SST and k-ε constant overrides of [turbulence.constants] are accepted. The plan for injector and nozzle devices (D340 to D347) is written down; its coding follows.

Upgrading from 1.1

  • Case files of 1.1 read unchanged; the new keys [spray.collision], [spray.coupling] turbulence and [mesh.generate] grid_angle are optional, and only the ECN Spray G case G1 switches collisions on.
  • Transient turbulent runs whose extrapolated start dropped k, ε, ω or ζ below a tenth of the last value can give slightly different results; all other runs are unchanged.
  • The known limits of 1.1.0 stand. The verification manual was not regenerated for this release; the status page is current.

All changes

Lagrangian sprays

  • Drop collisions. [spray.collision] model = "ntc": the drops of two parcels in one cell collide, sampled by the no-time-counter method of Schmidt and Rutland with O'Rourke's coalescence and grazing separation; counts in spray.csv. The ECN Spray G case G1 uses it: the liquid lead at 0.8 ms falls from 19 % to 12 %, the vapour lead from 17 % to 10 %.
  • The drops damp the gas turbulence (D330). [spray.coupling] turbulence = "dispersion-work" takes the work the eddies of the dispersion do on the drops out of k, with the ε (or ω) term of KIVA-II (c_s = 1.5). Only the part of the drop's motion that follows its eddy is booked, so the term is never positive and free of the noise of the mean slip, which broke the first runs. spray.csv gets gas_turbulence_w, result.json gas_turbulence_work. Checks: drops born in turbulent gas take 0.88 of −2k times their mass from their first eddies; in a lumped cell k loses the booked work over ρV within 3 %. On ECN Spray G, measured before the collision model, it removes nearly all of the plume turbulence and the liquid runs further ahead of the measurement (33 % at 1.1 ms instead of 15 % on SST, 52 % instead of 30 % on k-ε), so it is off by default and in the case. Gallery 333, recipe 333.
  • At most 32 eddies per parcel and step. Where k is nearly zero the eddies of the dispersion become so short that every eddy ended a sub-step and the parcels filled the memory. Beyond MAX_EDDIES_PER_STEP the eddy now lasts to the end of the step, counted as held_eddies in result.json; runs in developed turbulence never reach it.
  • Grid orientation test of ECN Spray G. [mesh.generate] grid_angle turns the cell lines of a generated hex box (also a 22.5° sector) so a jet can run along or across them. G1 on a uniform 0.6 mm grid with the lines along the plume gives a liquid lead of 27 % at 1.2 ms, with the lines at 45° to it 20 % (vapour 17 % and 9 %): the grid orientation moves the penetration by about 6 %. Cases spray_g_g1_grid_aligned and spray_g_g1_grid_turned, plot tools.plot.spray_g_grid, gallery and recipe 338.

Turbulence

  • Turbulence start-up into gas at rest. The extrapolated start of a BDF2 step may no longer drop k, ε, ω or ζ below a tenth of the last value (all models, the same bound as after a solve), and the f/f₀ equation of the ζ-f models takes its ζ dependence implicitly. A zeta-f0 jet started into gas at rest no longer diverges within ten steps.
  • SST and k-ε constant overrides. [turbulence.constants] of the SST model (for example gamma2) and of k-ε (a0) were refused at the start of the run because they were checked against the ζ-f names; they now reach the run.

Documentation

  • Plan for injector and nozzle devices (D340 to D347). New page docs/requirements/step28-injector-devices.md: a device frame (mounting point, axis, azimuth reference) with its holes given by angle from the axis and azimuth, injectors that may name a hole instead of absolute coordinates, standard gasoline and diesel STLs and the user's own STL placed by that frame, shown in a new spray/devices.vtkhdf file, and the device as a wall later. Existing injector files are unchanged. Stages ID1 to ID4; coding waits for the maintainer's go.
  • README hero image of ECN Spray G. The spray picture of the README is now one plume of the ECN Spray G injector, its drops drawn as spheres sized by their diameter; the same render joins gallery 323.
  • README and feature list. The crate table lists foehncraft-particles, and the feature list has the injection from measured droplets and the Brno spray.