Simulate
Test a design before you make it: a wind tunnel or water channel for drag and flow, and a stress test for bending and strength.
- SimulateSchoolCAD
| SchoolCAD | Onshape | Fusion | SOLIDWORKS |
|---|---|---|---|
| Simulate | Simulation | Simulation (Static Stress, CFD) | Simulation, Flow Simulation |
The Simulation window tests your design on your own computer, the way engineers test theirs in SOLIDWORKS Simulation, Fusion or Onshape before anything is made. Nothing is uploaded. It has two studies:
- Flow (air or water): your design in a wind tunnel or a water channel. See the flow lines curl round it, where the air or water pushes hardest, and how much drag and lift it makes. Good for F1 in Schools cars, CO2 dragsters, gliders, surfboard fins, keels, handplanes and propellers.
- Stress test: hold your design by some faces and push or pull on others. See how far it bends, where it is stressed most and its factor of safety: will it hold, or break? Good for stools, shelves, brackets, hooks, bridges and 3D prints.
- Heat: something hot on your design (an LED, a motor, a hot drink) and how the heat spreads: how hot each part gets once it settles, and whether a plastic part gets too hot. Good for lamps, electronics cases, heatsinks and handles.
Your set-up and results are saved with the design, so you can change the design, run it again and compare.
How to use it#
- Click Simulate in the top bar.
- Pick the study at the top: Flow (air or water) or Stress test.
- Set it up (below), then click Run.
- Click Add to my results to keep the numbers, and Download picture for your folio.
- Click Close or press Esc to go back to the Part workspace.
Flow: wind tunnel and water channel#
- Choose the Fluid: Air (a wind tunnel) or Water (a water channel).
- Choose which way it flows (+X, −X, +Y or −Y). For a car pointing along −X, the air flows towards +X.
- Tick On the ground for a car or a building: the floor moves under it at the same speed, as a road does under a car. Leave it off for something in open air or open water, such as a glider or a fin.
- Type the speed in metres a second (20 m/s is 72 km/h; 2 m/s in water is about 4 knots).
- Pick the Detail: Draft is quick, Fine is closer. With a graphics card (WebGPU) it runs on the card and is fast; without one it runs on the processor and takes longer.
- Click Run. The numbers settle as the flow passes the design a few times; it stops by itself when they have.
What it shows
- Drag and lift (or downforce, which pushes down) in newtons, at your speed.
- Cd, the drag coefficient: how easily the shape slips through, whatever its size. A lower Cd is better. Compare designs by their Cd.
- Flow lines, coloured by speed (blue slow, red fast), moving with the flow.
- Pressure on the surface: red where the flow pushes hard (usually the front), blue where it pulls (over curves and in the wake).
- A slice through the flow, upright or level, that you can slide across the design.
Tick The laboratory wind tunnel under Show to see a real laboratory wind tunnel built round your design (a water tunnel for water): the bellmouth inlet, the honeycomb and screens that smooth the flow, the contraction that speeds it up, the clear test section with your design on its sting or rolling road, the force balance that measures the forces, the pitot tube that measures the speed, the smoke rake that makes the flow lines, the diffuser, and the fan that drives it all (turning faster while the simulation runs). Name each part labels them, and the panel says what each one does. It shows what physical wind tunnel testing is: the simulation is the same test, done in the computer.
The water channel has no water surface: the design is all under water, like a fin or a submarine. For a boat, test the part below the waterline.
Stress test#
- Check the Materials: each part's stiffness and strength come from its material (right-click a part in the Part workspace to set it). Parts that touch are treated as glued together.
- Click Pick faces to hold, then click the faces that are screwed, glued or clamped down (the bottoms of the legs, the back of a bracket). Click a face again to let it go. Click Done picking.
- Click + Add a force. Type its size in newtons (a person of 80 kg is about 785 N; 1 kg weighs about 9.8 N), pick its direction (Push on the face, Down and so on) and click the faces it acts on.
- Tick Its own weight too to add gravity.
- Click Run stress test.
What it shows
- The factor of safety: the material's strength divided by the highest stress. Under 1 it will probably break or bend for good; designers aim for 2 or more for things people use.
- The highest stress in MPa and how far it moves, in millimetres.
- Colours by Stress (red is where the stress gathers; purple is over the material's strength) or by Movement, with the bend Exaggerated so you can see it, or at True size.
How it vibrates: below the results, Find its natural frequencies works out the four lowest frequencies it wobbles or rings at, held by the same faces. Click a mode to watch it move (slowed down and exaggerated). Shaking a design near one of these (a motor, footsteps, wind) makes it move a lot; to raise them, make it stiffer or lighter at the end that moves.
To make a design stronger: make it thicker where it is red, add a fillet in a sharp inside corner, add a rib, or choose a stronger material.
Heat#
- Check the Materials: how well each part conducts heat comes from its material. Metals spread heat fast; timber and plastics hold it in.
- Click + Add a heat source, type its power in watts (an LED is about 1 W, a Raspberry Pi 3 to 6 W) and click the faces where the heat comes in. Or click + Add a hot or cold face for faces held at a temperature (a cup of tea is about 70 °C).
- Pick the Cooling for the outside faces: Still air, Fan, In water or None, and the room's temperature.
- Click Run heat study. Each part is coloured by temperature, with how hot each part gets. Purple, and a warning, means a part is over the most its material should get (PLA softens at about 55 °C).
To run cooler: a metal part to spread the heat (a heatsink), fins or more surface, vents, a fan, or a gap of air between the hot part and the plastic.
Good to know#
- These are classroom estimates. Flow is worked out on a grid of small cubes, so very thin parts (a thin wing, a fin edge) may be narrower than a cube; SchoolCAD warns you. A grid this size can only run the flow at a lower Reynolds number than the real one, so drag reads higher than in a real tunnel. Comparing your own designs with each other still holds.
- In the stress test, timber is taken as along the grain. Across the grain it is much weaker. A point where a force or a hold meets a sharp corner can show more stress than it really has.
- How it works: the flow is a lattice Boltzmann simulation (D3Q19, with a Smagorinsky turbulence model), following the open-source FieldCraft solver by Tangency Labs. The stress test and the heat study are finite element models with 8-node bricks, as in FieldCraft's heat transfer.