Tous les articles

Les articles sont rédigés en anglais et en chinois.

TesboCFD

Shape optimisation, measured against a control run

TesboFlow moves a duct wall to cut total-pressure loss in transient flow. Why every number is measured against a run that leaves the shape alone, and what the four results say.

Shape optimisation is easy to oversell. Run a transient flow for long enough and the loss drifts on its own, as the flow settles. Change the wall at the same time and the drift gets counted as design.

TesboFlow's adjoint shape optimisation is shown on the shape optimisation page. This post explains how one design cycle works, and why the numbers are measured the way they are.

One cycle: one forward, one adjoint

Every design cycle does four things on the current shape.

  1. Forward. Carry the flow on from the last cycle until it settles, then average the total-pressure loss over a window of time steps.
  2. Adjoint. Solve backward from the end of that window, through the same history, step by step.
  3. Sensitivity. Read off how the loss changes when any point of the wall moves a little.
  4. Update. Move the wall within the constraints, such as a fixed volume, a fixed area or an envelope. The mesh follows.

Two solves per cycle, however many points on the wall can move. That is the reason to use an adjoint: the cost does not grow with the number of design variables.

Both solves run on one GPU, and the flow can be transient and two-phase, water and air together.

The control run

To credit the shape, we run a second case on the same schedule with the shape left alone. That is the control run. Both runs see the same number of time steps, the same averaging windows and the same settling. The shape gets credit only for the difference between the two at the same cycle.

Without a control, a result reads "the loss fell by X% over ten cycles". With one, it reads "the loss is X% lower than it would have been with the original wall". Only the second is about the design.

Four ducts

All four run on one Tesla V100, by TesboFlow.

CaseHeld fixedResultMeasured against
S-bendVolume−4.64% total-pressure loss after 10 cyclesThe control run
T-junctionFlow split and volume−1.83% after 10 cyclesCycle 1
Free-surface bumpArea−1.57%, mean over cycles 11–20The control run
ReducerEnvelope and area−0.41% after 6 cyclesThe control run

Each row states what was held fixed and what it is measured against. The T-junction is the one exception to the control-run rule: it is compared with its own first cycle, and the table says so.

The reducer is the smallest number, and it is there because of the constraint. With the walls kept inside an envelope and the area fixed, there is little room to move. A smaller gain under a real constraint is closer to what a design team faces than a large gain with the wall free.

S-bend duct after ten design cycles at fixed volume, coloured by flow speed.
The S-bend after ten design cycles, volume fixed, coloured by flow speed.

What it is, and what it is not

Shape optimisation is part of TesboFlow. It is sold with a TesboFlow licence and priced in the quote, not on its own. It is also separate from TesboAI's differentiable physics: here the geometry changes, there models inside the solver are trained.

Bring a duct

If you have a duct where pressure loss matters, send it to us as part of a TesboFlow evaluation. We run design cycles on your geometry under your constraints, and measure them against a control run.