Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

LatticeFill

A LatticeFill is a lattice of copies of one component, by default a pillar, that fills the void it is placed in. It makes a capillary pump, a filter, a DLD array, a trap array or a porous-media model. It stands inside a void like a Pillar: place it onto a Chamber, a lane or a region you drew, and it fills that compartment, round ends, funnels and concave corners included. The fill is the pillars alone; the walls, taps and pins are those of the chamber it is in.

A Chamber of 3000 × 1500 µm with straight ends and a fill at its centre holds 95 round pillars, 100 µm across with 100 µm gaps.

The pillar

Each pillar is a Pillar at its defaults, round and 100 µm across. item_angle turns every pillar about its centre, from -90° to 90°. The pillar is the fill’s slot item. Pick another component that stands in a void in its group in the inspector, such as a pillar or a trap you drew, and the fill draws that at every site. See Slots.

The lattice

pitch is the spacing of the pillars along a row and row_pitch the spacing of the rows. row_shift moves each row along the flow against the row below it, and the shifts add up row by row. 0 gives a square lattice, half the pitch (the default) a staggered one, and a tenth of the pitch a DLD array that repeats every ten rows. With the default row_pitch the staggered lattice is hexagonal. row_shift must be at least 0 and less than pitch.

The placement

A pillar sits on the fill’s origin, and the lattice turns with the fill’s rot. Moving the fill moves the lattice against the wall, so pillars near the wall appear and disappear as it moves.

The block

n_columns and n_rows limit the fill to a block that starts at the fill’s origin. The block grows to the right along the rows and upward across them, both in the fill’s own frame, so it turns with its rot. n_rows keeps that many rows, from the origin’s row upward. n_columns keeps that many pillars in each row, from the first one at or right of the origin. The block is a rectangle on every lattice: on a staggered one its rows start alternately at the origin and half a pitch to the right.

A count of 0 (the default) does not limit that direction. With both at 0 the fill covers the whole compartment, and with only n_rows set it fills those rows from wall to wall. A negative count is refused. The block keeps wall_clearance from the wall as well, so a block reaching past the wall holds fewer pillars than n_columns × n_rows, and n_items shows how many.

The fill

A site nearer than wall_clearance to the wall is left out, measured from the pillar’s centre. The default 150 µm leaves 100 µm between a round 100 µm pillar and the wall. A neck narrower than twice wall_clearance holds no pillar, and a compartment too small for any holds none, with no error.

The fill does not know the pillar’s size, so pillars that touch each other or cross the wall are not refused. The Problems list reports them, and a gap narrower than the process allows. Other things placed in the same compartment are not avoided either.

The component reports min_pitch, the shortest centre distance between neighbouring pillars, and n_items, the number of pillars. The gap between neighbours is min_pitch less the pillar’s size across that direction.

One fill holds pillars of one shape and one angle.

Common uses

A Chamber carries the flow along its length, from its inlet end to its outlet end, which is the fill’s x direction at rot 0. A fill that must cross the flow is turned 90°.

  • A pillar chamber or a capillary pump: a Chamber with a fill at its defaults.
  • A filter: one row of pillars across a Chamber. Set rot to 90°, n_rows to 1 and row_shift to 0. The gap between pillars is pitch less the pillar’s width. The gap at each wall must be no wider, or particles pass at the ends. wall_clearance is only the least distance from a pillar’s centre to the wall, so place the fill’s origin and set wall_clearance until the end gaps are right. The Problems list reports a gap narrower than the process allows, but not one that is too wide.
  • A DLD array: set row_shift to pitch / N for a pattern that repeats every N rows, and rot to 90° so the flow crosses the rows. Set n_rows to a multiple of N for whole periods.
  • A trap array: make an own component that sits in a void and draws a U-shaped region whose compartment is material, and pick it in the fill’s item slot. Set n_columns and n_rows for a block of traps of a set size.

Large fills

A large fill is slow to update. An edit to a fill of about 1 500 pillars takes about 9 s in the 3D view and about 1 s in the 2D view, so edit a large fill in 2D.

See also