Vehicle CFD mesh calculator: wind tunnel size, blockage, element count and growth

For car external aerodynamics, put the inlet about 2 to 4 car lengths ahead, the outlet 7 to 10 lengths behind, and keep the frontal area a small share of the tunnel cross-section (the blockage ratio). The Skill-Lync ANSA challenge box (4L front, 6L rear, 3L top, 1L sides) gives 1.1 % blockage for the Cybertruck. Type your car and see the box, its blockage and how it compares with published set-ups.

Other tabs count surface trias per PID from area and target length, grow a mesh the way Perimeters > Spacing does, show the chordal deviation a target length leaves on a fillet, test whether a surface wrap closes a gap, estimate prism and tet counts, and check a report of the BMW, Cybertruck or surface wrap challenge from the Advanced CFD Meshing using ANSA course. For the first cell height use the y+ calculator; for reference area and Cd use the Ahmed body calculator.

Qin, Ricci & Blocken 2024 · DrivAerRim 2026 · DrivAerML 2024 · ERCOFTAC AC1-05 · COST 732 (via SimScale, FAIRMODE) · checked against a separate solution (3,760 checks of 164 cases at build) · Updated 23 Nov 2026

Front and rear are measured along the car; top from the roof; side from the car's side (or from the centre plane if you pick centre). Blockage uses the full cross-section and frontal area; a half model halves both, so the ratio is the same.

Tunnel (L × W × H)64.9 × 13.7 × 19.7 m17,512 m³
Blockage1.14 %A 3.08 m² (estimated)
Sources met2 / 6see the table
The car in the wind tunnel, side and plan views to scaleSide view (height not to scale)front 23.6 mrear 35.4 mtop 17.7 mPlan viewside 5.9 mtunnel 64.9 m × 13.7 m × 19.7 m
SourceMeets?Your box against it (mm)
Skill-Lync ANSA challengeyesupstream 23,600 (min 23,600)
downstream 35,400 (min 35,400)
side gap 5,900 (min 5,900)
top gap 17,700 (min 17,700)
Lanfrit 2005 (Fluent best practice), as cited by Qin et al.noupstream 23,600 (min 17,700)
downstream 35,400 (min 41,300) ✗
Qin, Ricci & Blocken 2024, open-road DrivAernoupstream 23,600 (min 11,800)
downstream 35,400 (min 41,300) ✗
side gap 5,900 (min 9,400) ✗
top gap 17,700 (min 13,650)
DrivAerRim 2026, open-road DrivAernoupstream 23,600 (min 25,370) ✗
downstream 35,400 (min 58,410) ✗
total width 13,680 (min 51,330) ✗
total height 19,725 (min 38,940) ✗
ERCOFTAC AC1-05 (Ahmed body)yescross-section 269.8 m² (min 94.0)
COST 732 (buildings, H = height), applied to the carnoupstream 23,600 (min 9,750)
downstream 35,400 (min 29,250)
side gap 5,900 (min 9,750) ✗
top gap 17,700 (min 9,750)
blockage 1.14 % (max 3.0 %)

How big should the wind tunnel be around a car in CFD?

Big enough that the walls do not change the flow at the car. The ANSA challenge sets it from the car length L: the inlet 4L ahead of the bumper, the outlet 6L behind the rear, the roof 3L above the car and each side 1L from the car, with the floor close to the wheels. One Cybertruck report writes it as "Front surface = 4x from the bumper of the car", "Rear surface = 6x", "Top surfaces = 3x from the top of the car", "Side surface = x from a side door of the car", with x = 5,870 mm.

Here g is the floor gap and the k's are the multipliers. Measured from the car's centre instead of its surfaces, the front and rear each lose L/2 and the sides W/2. For the Cybertruck at 5,900 mm × 1,880 mm × 1,950 mm the course box is 64.9 × 13.7 × 19.7 m, 17,512 m³ of air; from the centre it is 59.0 m long. How the course box compares with what published studies used:

SourceUpstreamDownstreamSideTopOtherCybertruck box meets it?
Skill-Lync ANSA challenge4L6L1L3Lfront 4x, rear 6x, top 3x, side 1x car length; floor close to the wheelsyes
Lanfrit 2005 (Fluent best practice), as cited by Qin et al.3L7L––upstream 3L is the "minimum requirement"; downstream 7L "recommended"no: downstream
Qin, Ricci & Blocken 2024, open-road DrivAer2L7L5W7HUD 2L is enough only with a slip floor; DD 3L to 10L changed CD by under 0.7 %no: downstream, side gap
DrivAerRim 2026, open-road DrivAer4.3L9.9L––domain 15.2L long, 8.7L wide, 6.6L highno: upstream, downstream, total width, total height
ERCOFTAC AC1-05 (Ahmed body)––––minimal cross-section 2L x 1.35L for the full body; 4 % blockage in the experimentyes
COST 732 (buildings, H = height), applied to the car5H15H5H5Hurban-flow guidance: 5H up, 15H down, 5H sides and top, blockage below 3 %no: side gap

What the studies say in their own words. Qin, Ricci and Blocken (2024) used an open-road domain of "10L × 11W × 8H" with the inlet 2L ahead and the outlet 7L behind; with a slip floor "2L is already a sufficiently long distance", and downstream distances from 3L to 10L changed the drag by at most 0.7 %. They cite Lanfrit (2005) for "the minimum requirement of 3L" upstream and "a DD = 7L is recommended". DrivAerRim (2026) put the inlet and outlet "4.3 and 9.9 vehicle lengths upstream and downstream". ERCOFTAC's Ahmed body advice gives "the minimal recommended cross-section is 2Lx1.35L (for the full body)". COST 732 is written for buildings: 5H upstream, 15H downstream, 5H to the sides and top, H being the tallest building.

So the course's 6L downstream is a little short of the 7L that Lanfrit and Qin recommend, though Qin found the drag barely moves beyond 3L; its 1L side gap is narrower than the open-road set-ups (Qin's 5W is 9.4 m for the Cybertruck against the course's 5.9 m). For a meshing exercise that is fine. For a drag number you would quote, widen the sides and check the blockage below.

What is blockage ratio and what value is acceptable?

Blockage ratio φ is the car's frontal area over the tunnel's cross-section. The air squeezed between car and walls speeds up, so a high φ reads too much drag.

Without a frontal area, the page estimates it as c W H. The factor c = 0.84 is the DrivAer's: DrivAerML's reference area "A = 2.17 m2" over DrivAerRim's 1,820 × 1,420 mm (an estateback; the area is the notchback's, so take it as a rough figure). Type your car's real frontal area when you have it. The Ahmed body calculator gives exact full and half-model reference areas for that body.

Numbers to compare against: DrivAerML's open road is "negligible (approx. 0.25%)"; COST 732 asks for under 3 % (for buildings); the Ahmed body experiment ran at an estimated 4 %; physical DrivAer wind tunnels quoted by Qin et al. ran at 5.4 % and 11.7 %, and their results needed a blockage correction. The course box gives 0.92 % for the BMW model, 1.14 % for the Cybertruck and 1.28 % for the full-scale DrivAer: under 3 % in each case, because the 3L roof makes the tunnel very tall.

Why mesh a half model with a symmetry plane?

The BMW task meshes half the car and then mirrors it ("After meshing the half model, Do symmetry to the other side"). For the CFD run you can keep only the half and put a symmetry condition on the centre plane: the cells, memory and run time halve. Blockage does not change, because the frontal area and the cross-section both halve (1.14 % either way for the Cybertruck). What a half model cannot do: side wind (yaw), or a wake that swings from side to side. DrivAerML and Qin et al. both put symmetry conditions on the side and top boundaries of their full-car domains, which is a different use: a slip wall far from the car.

How many surface elements will a car mesh have?

An equilateral tria of side h has area √3/4 h², so an area A meshed at target h needs about

Halving h quadruples the count. A closed tria surface with no holes has V nodes, E edges and F faces with V − E + F = 2 (Euler), and every edge is shared by two trias, so 3F = 2E:

So nodes are about half the trias. The verifier checks this by counting a real closed mesh. With the BMW target lengths (Body 3, Lights 4, Grills 1, Rims and tyres 2, Optical rear-view mirror 2, Window 2, Silencer 3, Logo 1 mm, as the challenge states them) and this page's illustrative area split of the half model, the count is 426,657 trias. Note how the 1 mm grills, 12.4 % of the trias from 2.0 % of the area, cost more than all the lights, mirror, silencer and logo together.

For scale from published work: Qin et al.'s 1:4 DrivAer body had 436,000 to 1,592,000 surface cells (0.75 to 3 mm), and the medium 721,000-cell grid was within about 1 % of the fine one on drag; DrivAerML's full-scale surface STL is "≈ 750k cells".

Can 32.7 million trias at 2 mm be the car body alone?

No. One Cybertruck report sets the body at 2 mm and ends with "the meshed TRIA element is 32743492". At 2 mm that many trias cover 56.71 m². The truck's whole bounding box, 5,900 mm × 1,880 mm × 1,950 mm, has a skin of only 52.53 m², and a body that fits inside a box (and is roughly convex) has less area than the box. The same report meshed the wind tunnel walls too, and the walls alone are millions of trias: the Spacing tab gives 6,177,542 for the course box at 20 mm on the floor. The "check a reported count" boxes in the second tab do this for any count.

How does ANSA Perimeters > Spacing grow the element size?

The challenge meshes the tunnel floor at about 20 mm and the roof at 100 mm, and grades the walls between them, as reports write it: "Mesh -> Perimeters -> Spacing with Dstart-20mm, Dlimit-100mm and growth ratio-1.1". The model here: each element is g times the last, starting at Dstart, until the next would pass Dlimit; after that every element is Dlimit.

With 20 mm, 1.1 and 100 mm, k = 17: the 17th element (91.9 mm) is the last one below 100 mm, and the growing part is 810.9 mm long. A 2 m edge then takes 29 elements. Two things follow. A growth of 1.1 is gentle: it takes over 0.8 m of wall to go from 20 to 100 mm. And the wall count is set by the fine end: on the course Cybertruck box the 20 mm floor alone is 5,125,900 trias of the 6,177,542 on all walls. A coarser floor away from the car, or a refinement box around it, saves most of that. BETA's own algorithm is not public, so ANSA may spread the last, shorter element differently; counts will be close, not identical.

Why do grills and logos get a 1 mm target length?

Two reasons, both geometry. First, curvature: an element edge h on a fillet of radius r is a chord, and it cuts the corner by δ.

Fillet rEdge hAngle per elementGap δElements per 90°
5 mm3 mm34.9°0.230 mm2.58 → 3
10 mm3 mm17.3°0.113 mm5.22 → 6
2 mm3 mm97.2°0.677 mm0.93 → 1
2 mm1 mm29.0°0.064 mm3.11 → 4
1 mm1 mm60.0°0.134 mm1.50 → 2

A 3 mm body edge on a 2 mm radius turns 97.2° per element, so a 90° edge gets 0.93 elements: the round becomes a chamfer. Second, feature size: a grille bar or logo stroke a few millimetres wide needs a few elements across it to keep its shape, which a 3 mm target cannot give. That is why the task puts grills and logo at 1 mm while the large, gently curved body stays at 3 mm. The minimum length you set must also be below the smallest feature, or the mesher cannot place an element there and reports off elements.

What is surface wrapping in ANSA, and when does it close a gap?

Wrapping lays one closed tria skin over a dirty assembly (the challenge merges an engine, gearbox and transmission) instead of repairing every surface by hand. Reports set it as: "Castellation - Give target length 3mm Enable Nodes out of structures. Enable Assign properties from structure" on a "Constant wrap Octree". An octree splits a root cube of side D in half again and again until the cells are no bigger than L:

A 2 m model at 3 mm needs 10 halvings (finest cell 1.953 mm). What happens to a gap of width w between two parts is geometry: a gap narrower than L cannot hold a whole cell, so it closes; between L and 2L it holds one only for some grid positions (slide the grid in the tab); from 2L up it always holds at least one. BETA's documentation for the wrap is not public, so we could not check how ANSA decides beyond this, and smoothing or "nodes out of structures" can move the result. If a slot must stay open (a cooling inlet), make it at least 2L wide or use a smaller wrap length there. A 12 m² wrap at 3 mm is about 3.1 million trias.

How many cells will the volume mesh have?

Prisms. Layers grow from the first height y₁ (from the y+ calculator) by r per layer:

Qin et al. used 10 layers from 0.05 mm at 1.1, "resulting in total prism layer height yT of about 0.8 mm": the formula gives 0.7969 mm. DrivAerML used 7 layers from 0.75 mm to a total of 12 mm "and a variable growth rate between 1.2 and 1.4"; 7 layers give 9.7 mm at 1.2 and 17.9 mm at 1.4, so 12 mm sits inside. DrivAerRim's 10 layers from 0.015 mm to 6 mm imply a growth of 1.78. The top prism's aspect ratio is the surface size over the last layer: with Qin's stack under a 3 mm surface it is 25.4. Prism count = layers × surface trias.

Tets. No formula gives a mesher's tet count. An estimate: the size grows away from the car by the volume growth rate g, which makes it grow linearly with distance, s = h₀ + (g − 1) d, until the far-field size. Replace the car by a sphere of the same area (radius R), count tets as regular tets of edge s, and add the rest of the air at the far-field size:

The integral has a closed form (the verifier also does it by Simpson's rule). A cube split 6 ways packs fewer, bigger tets, so the page shows both as a range. For the Cybertruck box (17,491 m³) with the box skin as the car area, 3 mm on the car, growth 1.2 and 200 mm far away: 102 million to 144 million tets, 87.2 % of them within 1.0 m of the car. The BMW half model at 3 to 100 mm: 1.6 million to 2.3 million. BMW reports that state a tet count give 1.5 million to 18.9 million (6 reports, as of 23 Nov 2026): growth and far-field settings vary more than tenfold, and the estimate sits at the low end. Treat these as an order of magnitude. For comparison, published DrivAer meshes, built from hexa and poly cells with refinement boxes rather than tets: 17.3 million cells at 1:4 (Qin et al.), 45 to 180 million at full scale (DrivAerRim), about 160 million (DrivAerML). Tets fill space less efficiently than hexes, which is one reason industry moved to hexa-dominant and poly meshes.

What did 1,057 vehicle CFD meshing reports do?

Skill-Lync read the public reports of the ANSA BMW, Cybertruck and surface wrap challenges. As of 23 Nov 2026, n = 1,057 with readable text (BMW 353, Cybertruck 360, Surface wrap 344); 49 more are mostly screenshots and are left out of every count. Counts come from the report text (screenshots are not read), so they are lower bounds; each row's second number is the reports it applies to.

In the report textReportsWhat to knowExamples
Front 4x, rear 6x, top 3x (the brief set) (BMW + Cybertruck)339 / 437The course set, front 4x, rear 6x, top 3x: most reports that state multiples.1, 2, 3
Front 4x, rear 6x, top 3x and side 1x (BMW + Cybertruck)≥ 136 / 437With the side at 1x too; most reports leave the side out or use another multiple. At least: the wording varies, so the regex misses some.1, 2, 3
Tunnel multiple measured from the car face/bumper (centre-to-face offset added) (BMW + Cybertruck)≥ 119 / 437Measured from the bumper (centre-to-face offset added): what the tunnel tab's default does. At least: the wording varies, so the regex misses some.1, 2, 3
Tunnel multiple measured from the car centre / reference point (no offset) (BMW + Cybertruck)≥ 31 / 437Measured from the car centre: each face sits L/2 closer to the car. Pick 'centre' in the tab. At least: the wording varies, so the regex misses some.1, 2, 3
Top face = 3 x car HEIGHT (text says height) (BMW + Cybertruck)12 / 437Roof at 3 x car height: the slip the check tab catches (only reports that name the base).1, 2, 3
Bottom 20 mm / top 100 mm (BMW + Cybertruck)≥ 98 / 162Floor 20 mm, roof 100 mm: the sizes the Spacing tab starts from. At least: the wording varies, so the regex misses some.1, 2, 3
Dstart 20 and Dlimit 100 (mm) (BMW + Cybertruck)43 / 62Dstart 20, Dlimit 100 in Perimeters > Spacing.1, 2, 3
All 8 PIDs listed and equal to the brief (BMW)231 / 243All eight BMW target lengths exactly as the task gives them.1, 2
Body 3 / tyres 2 / windows 2 mm (Cybertruck)45 / 124Cybertruck: body 3, tyres 2, windows 2 mm (the task leaves the lengths to the student).1, 2
Body target length 5 mm or coarser (Cybertruck)54 / 169Cybertruck body at 5 mm or coarser: a quarter of the trias of 2.5 mm.1, 2
Skewness limit 0.5 (BMW + Cybertruck)58 / 71Skewness limit 0.5 where a limit is quoted.1, 2, 3
Cuts the car to a half model (symmetry) (BMW + Cybertruck)525 / 713Cut to a half model with symmetry.1, 2, 3
States 0 / no off elements (or all removed) (BMW + Cybertruck)197 / 457State 0 or no off elements at the end.1, 2, 3
Off elements fixed with: reconstruct (BMW + Cybertruck)297 / 457Fixed off elements with Reconstruct.1, 2, 3
Off elements fixed with: move (BMW + Cybertruck)208 / 457Fixed off elements by moving nodes.1, 2, 3
Says a volume mesh was generated (and does not say it was skipped) (BMW + Cybertruck)51 / 523Say they generated the tunnel volume mesh.1, 2, 3
States the volume mesh was not performed / stopped at surface mesh (own statement) (BMW + Cybertruck)72 / 523Say they stopped at the surface mesh (the task says the volume mesh may take up to 2 days).1, 2, 3
Wrap length 3 mm (Surface wrap)224 / 255Wrap length 3 mm where a length is given.1, 2
"Nodes out of structures" mentioned (Surface wrap)34 / 344Name 'Nodes out of structures'.1, 2

What the reports do not do is as telling. Blockage ratio appears in 0 of 647 reports that mention the tunnel, and a reason for the tunnel's size in 30. Prism or boundary layers come up in passing in 8 of 713, and on a hand read none builds them, so the volume meshes in these reports are tets straight off the surface. A count of 10,000 or more elements is stated in 81 reports.

What slips does the check my numbers tab catch?

  • Wrong reference: 4L from the car's centre is 4L − L/2 from the bumper. Both appear in reports (of 437 BMW and Cybertruck reports that state multiples, at least 119 measure from the bumper and at least 31 from the centre); the tab says which one your number is.
  • Height instead of length: a roof at 3 × car height instead of 3 × car length (for the Cybertruck, 5,850 mm instead of 17,700 mm), or side walls one car width away instead of one length. 12 reports write the roof as 3 × height against 31 that say 3 × length; most write only "3x".
  • Totals: tunnel length that leaves out the car, tunnel height that leaves out the car or the floor gap. Of 68 reports that write out a tunnel sum, 3 get the arithmetic wrong (one writes 6 × 5,870 + 1,000 as 36,820; it is 36,220).
  • Sizes: a target outside your own min/max length, and a tria count that needs more area than the car has at the stated size.

What this calculator does not cover

  • The flow: no drag or lift. For drag from Cd and area use the drag force calculator; for the first layer height the y+ calculator.
  • 2D element quality: skewness, aspect ratio and angles are in the mesh quality calculator; tet quality in the tet mesh quality calculator.
  • ANSA's own algorithms: Spacing and Wrap are modelled from geometry; BETA's documentation is not public.
  • Moving ground and rotating wheels: they change the floor condition (Qin et al. show how much the floor matters) but not the box sizes.
Learn CFD meshing

Clean geometry, PIDs, target lengths, a sensible wind tunnel and no off elements are what a CFD pre-processing interview tests. The BMW, Cybertruck and surface wrap challenges are part of Skill-Lync's ANSA CFD meshing course.

Frequently asked questions

How big should the CFD domain be around a car?

Published set-ups put the inlet 2 to 4.3 car lengths ahead and the outlet 7 to 10 lengths behind. The Skill-Lync ANSA challenge uses 4L in front, 6L behind, 3L above and 1L to each side, which is about 17,512 m³ for the Cybertruck. Check the blockage ratio stays low too.

What is blockage ratio in CFD?

Blockage ratio is the car's frontal area divided by the wind tunnel's cross-section. A large ratio squeezes the air past the car and raises the drag. COST 732 asks for below 3 % for buildings; the DrivAerML open-road domain sits near 0.25 %. The course box gives about 1.1 % for the Cybertruck.

How many cells do you need for car external aerodynamics?

It depends on detail and turbulence approach. A 1:4 DrivAer study used 17.3 million cells with 721,000 surface cells; full-scale DrivAer datasets use 45 to 180 million. At a 3 mm surface size the course BMW half model has about 426,657 surface trias with this page's area split.

What target length should I use for a car surface mesh?

Pick it by curvature and feature size, not one number for the whole car. The BMW challenge uses 3 mm on the body, 1 mm on grills and logo, 2 mm on rims, mirror and windows and 4 mm on lights. A 3 mm edge on a 5 mm fillet leaves a 0.23 mm gap to the true surface.

What is surface wrapping in ANSA?

Surface wrapping lays a closed, watertight tria skin over a messy assembly, such as an engine with gearbox, instead of cleaning every surface. The challenge uses Wrap with a constant length of 3 mm on an octree. Any gap narrower than one cell cannot hold a whole cell and closes.

Why use a half model with a symmetry plane?

A car is close to symmetric at zero yaw, so meshing one half and putting a symmetry plane on the centre line halves the cells and the run time. Blockage ratio does not change, because the frontal area and the cross-section both halve. It cannot show side wind or flow that swaps sides.

What growth rate should a CFD mesh use?

Reports in this challenge grow wind tunnel elements by 1.1 per element from 20 mm to 100 mm. Published prism stacks use 1.1 near the wall (Qin et al.) to 1.2 to 1.4 (DrivAerML). At 1.1, 20 mm reaches 100 mm after 17 elements and 811 mm.

What are off elements in ANSA?

Off elements are mesh elements that fail the quality criteria you set, such as minimum or maximum length, skewness or angle limits. The BMW challenge asks for no off elements. Reports fix them by reconstructing the mesh, moving or pasting nodes, splitting elements, or remeshing the face with a different length.

Related on Skill-Lync

Sources

  • P. Qin, A. Ricci, B. Blocken, CFD simulation of aerodynamic forces on the DrivAer car model: Impact of computational parameters, J. Wind Eng. Ind. Aerodyn. 248 (2024) 105711 (open-road domain, upstream and downstream study, prism stack, surface and total cell counts, wind tunnel blockages).
  • C. Xia et al., DrivAerRim: A large-scale full-vehicle CFD dataset for wheel rim aerodynamics, arXiv 2611.08842 (2026) (DrivAer size, domain in vehicle lengths, prism layers, cell counts).
  • N. Ashton et al., DrivAerML: High-Fidelity CFD Dataset for Road-Car External Aerodynamics, arXiv 2408.11969 (frontal area 2.17 m², blockage about 0.25 %, ANSA mesh with 7 prism layers, about 160 million cells).
  • ERCOFTAC QNET-CFD Knowledge Base, Best Practice Advice AC1-05, Ahmed body (inlet, outlet, minimal cross-section, 4 % experimental blockage, cell counts).
  • COST Action 732 best practice guideline (Franke et al. 2007), as summarised by SimScale's computational wind engineering guide (5H, 15H, 5H, 3 % blockage) and FAIRMODE WG4 guidance v1.1 (top at least 5 Hmax). Lanfrit 2005 is cited only through Qin et al.
  • Skill-Lync public reports of the ANSA "CFD Meshing for BMW car", "CFD Meshing for Tesla Cyber Truck" and "Surface wrap on Automotive Assembly" challenges (task wording, presets), read 23 Nov 2026. scripts/verify/vehicle_cfd_mesh.py recomputes every number another way: tunnel walls as coordinates, a real closed triangulation for Euler, element-by-element spacing, Pythagoras for the chord, a sliding grid for the wrap gap, Newton for the prism growth and Simpson for the tet integral (164 cases, 3,760 build checks).
Free counselling

From a clean CFD mesh to a CFD job.

Knowing why the tunnel is that size, what blockage does, where the trias go and why a gap closes in a wrap is what CFD pre-processing roles ask about. A Skill-Lync counsellor can tell you whether the ANSA CFD meshing course or the CFD PG program fits your background.

Talk to a CFD course counsellor

Free. We call you back, usually the same day.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.