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

Simulation window

The Simulation window sets how the open component is run: the fluid, and the pressure or flow rate at each port. It then shows the flow or the pressure each port gets, and how accurate that answer is. It opens from Design → Simulation…, and from the Simulation row in Problems, which opens it on that row’s answer.

The header names the component being run. Every row edits the component you have open. A library component shows the same rows read-only, marked built-in component (read-only), with the answers still filled in.

Under the header are four sections: Fluid, Ports, Accuracy and Regions. Click a section’s header to fold or unfold it.

Fluid

fluid │ viscosity │ density │ diffusivity

The fluid dropdown picks a preset: water, PBS, ethanol, glycerol 50 % or blood. Water is the default and reads · default beside it. Under the dropdown sit the three numbers the preset stands for: viscosity in Pa·s, density in kg/m³ and diffusivity in m²/s. Edit any of them and the fluid becomes custom, carrying your numbers; pick a preset again and the numbers return to the table’s. The diffusivity is a small solute’s in the carrier and is used only for the Péclet number.

One fluid runs the whole component. A chip carrying two fluids, such as the oil and water of a droplet generator, is solved with the one you pick, and the section says so: solved with one fluid; a two-phase chip is outside this model.

Ports

The headline

The first line of the section states how far off the answers may be. It is one of three sentences:

  • Estimated error up to 2 % (port north). The answer named is the one whose estimated range reaches furthest from its value. The port’s name is a link that opens its Accuracy table.
  • Estimated error below 0.1 %. Every answer’s range is narrower than that.
  • No answer has an error estimate. Every answer is a bound or has an unknown error.

There is no headline while a solve runs, or when nothing is driven.

The port rows

name │ exit │ drive │ answer

One row per world port of the open component; with none, the window says to mark a terminal a world port first. name is the terminal’s own name, or for a port of a placed component that keeps its ports, the child’s label and the port’s name inside it (u1.inlet). exit is the face of the chip it comes out of. drive is how the world drives the port, one of three kinds:

  • atmosphere — open to the air at 0 mbar. Every port starts here.
  • pressure — a pressure in mbar, gauge, such as a pressure controller holds.
  • flow rate — a flow in µL/min, such as a syringe pump delivers. The sign says the direction: positive is into the chip, and an outlet a pump draws 50 µL/min from is -50.

The solve runs when a value is set, and the viewport and the answer column follow. The same row sits in the inspector under the terminal’s world port tick (Inspector). On a port a placed component keeps, the row shows the component’s drive, and an edit sets the drive for that copy alone, on the pin of the component that reaches the port. A dragged value then applies on release. Where the component exposes no pin on the port, the drive reads out and is set inside the component.

The answer is the half of the pair you did not set: the flow a pressure port delivers, read in or out, or the pressure a flow-rate port needs. It reads — where the network could not be solved, and Problems says why.

Beside the value is its estimated range, in the direction the value reads, and how far each end lies from the value in percent: 16.2 µL/min out · 16.1 – 16.2 (−0.5 / +0.2 %). A side that both ends share reads once, as (±2.1 %). A range that crosses zero names both directions, as in 0.1 µL/min out · 0.1 in – 0.3 out (±200 %), and a range narrower than 0.1 % on both sides reads · < 0.1 %. Four other readings replace or extend the range:

  • lower bound or upper bound — a source the solve cannot size moves the answer one way, so the true answer lies above or below the value.
  • · error unknown — such a source can move the answer either way.
  • · partly estimated — the range leaves out a source the solve could not size.

The value is plain text. The range and the readings after it are a link to the answer’s Accuracy table.

See Flow for what each means and what to do about it.

Hover an answer’s range to see its three largest sources of error. On a bound the hover also gives the range of the sources the solve could size.

Under the rows the section says why there is no answer, where that is the case:

  • not driven — no port is set to a pressure or a flow rate, so nothing flows. Set one and the flow map lights.
  • not solved: see the errors in Problems — two drives disagree, or every drive on a part of the chip is a flow rate, so that part has no answer. The Conflicting drives or No pressure reference row in Problems names the port.

Accuracy

Source │ Where │ Effect on answer │ Cause

The section holds the Accuracy table of one answer, under a Port: row naming its port. Click an answer’s range to show its table and unfold the section, and click it again to fold the section. The caret before an answer points down while its table is showing. With no answer picked, the section says to click one. The table lists every source of error on the answer, largest first. A source the solve cannot size comes last.

Where names the child the source is in. Click a row to select that child in the viewport.

Effect on answer is how far the source can move the answer, in the answer’s units and as a share of it, in the direction the answer reads. A source that can move it either way reads ±0.3 µL/min (2.1 %), and one that moves it one way reads −0.3 µL/min (2.1 %). A source the solve cannot size reads makes it at least, makes it at most or size unknown, and one it could not estimate reads not estimated.

Cause says why the source is there, such as region deep for its width. A mesh source also names the setting that reduces it, such as cell count capped · raise Cell cap, and the setting is a link that opens the settings dialog. A source with no cause to name reads —.

Hover over a source or its cause to see what the source is and what reduces it.

A solve in progress

A change to the shape of a region solved as a sheet starts a new solve, which takes a few seconds for each changed region. Experiware keeps responding while it runs. Until it finishes, the Regions section reads Solving: 1 of 3 regions studied, the answer column reads —, the flow map is empty, and the status bar carries the same Solving line. The answers, the flow map and the solve’s rows in Problems come back together when it finishes. If it finishes while you are dragging something or turning the view, it is shown when you let go.

A change that leaves every region’s shape alone, such as a new drive or a region moved, is solved at once. On a large design every change takes the slower path.

Regions

Region │ Solved as │ Mesh error │ Port entry │ Note

The Regions section has a table with one row per region of the open component, naming how the solve treated it. Click a region’s name to select it in the viewport.

  • reservoir │ sheet │ ±0.8 % │ +0.03 % │ 0.21 s — the region is solved as a sheet: its resistance between every pair of the channels opening into it is computed from its shape. Mesh error is the largest mesh error bar over its pairs, and reads not estimated where the mesh study gave none. Port entry is how much higher the resistance could be with the way the flow enters from a channel, which only raises it. Note gives how long the solve took.
  • stage │ exact │ — │ — │ nothing flows through it — fewer than two channels open into the region, so one pressure is the true answer.
  • trap │ one pressure │ — │ — │ lower bound: world port on its wall — the region is held at one pressure, so a resistance through it is a lower bound. A world port on its wall is one reason, and a region whose sheet failed a check is the other, which the note names: its sheet failed the rank check.

Both figures are shares of the region’s own resistance, not of an answer, and the line under the table says so. Under it the section counts the regions taken at one pressure, such as 2 regions taken at one pressure; resistances through them are lower bounds. See Flow.

Hover a sheet’s note to see its solve line: sheet solve: multifrontal Cholesky, 2 trees, 0.21 s, 12.3 MB factor, 14 back-solves. It gives the method, the number of meshes the region was solved on, how long that took, the memory it held and the number of solves it ran. A region whose coarser mesh joins what the finer keeps apart is solved on the finer alone, and the line says 1 tree. A region’s solve is kept and reused while its shape is unchanged, so moving it, or undoing back to a shape it had, costs nothing. The note then reads cached and the line ends in (cached). With Color set to Sheet mesh, the hover of a region on the active layer adds a sheet mesh line, giving the base cell, the smallest cell, the number of cells, the levels of splitting they span (level 0 is the base cell, each level half the one before) and the number of diagnostics.

See also

  • Flow — what the solve computes, and what each number means.
  • Inspector — the drive row on a terminal, and the Flow block under a selection.
  • Viewport & navigation — the flow map, its legend and the marching dashes.
  • Problems — the solve’s two errors and its accuracy warning, which opens this window on an answer.