AirSketcher Manual

Welcome to the AirSketcher user manual. This guide will walk you through every essential and advanced feature of the software for setting up and running CFD simulations with ease.

Introduction

AirSketcher is a lightweight 2D CFD simulation and visualization tool built for rapid design exploration and intuitive analysis. Unlike traditional CFD platforms that require extensive setup, meshing, and scripting, Air Sketcher simplifies the process — just draw your domain, press run, and see results.

Designed for speed and usability, it enables engineers, designers, educators, and students to test airflow concepts on the fly — whether across mechanical structures, ventilation layouts, or environmental enclosures.

With built-in modules, Air Sketcher delivers:

No CAD. No complex setup. No barriers. Just insight — fast.

Installation

To install AirSketcher, follow these simple steps:

  1. Download the installer

Locate and run the provided setup.exe file.

  1. Activate with your license key

During the first launch, you’ll be prompted to enter the license key you received after purchase.

  1. One-time online verification

The software will briefly connect to the server to verify your license. If the key is valid, a local license file will be generated and saved on your machine.

  1. Offline usage enabled

After activation, AirSketcher will no longer require an internet connection. You can run it offline anytime.

💡 *Make sure to keep your license key in a safe place for future reference

System Requirements

To ensure smooth operation, AirSketcher requires the following minimum system specifications:

🖥️ Operating System

⚙️ Hardware

🌐 Internet

✅ AirSketcher is optimized for lightweight 2D simulations and user-friendly visualization. It does not require a high-end workstation. ## Quick Start Guide

Follow these steps to run your first CFD simulation in AirSketcher:

Launch the Application

Double-click the AirSketcher icon. The main interface will open with a clean canvas and controls on the left.

Set the Wind Speed

Define Your Simulation

Domain

Expert Options

Click Expert Options to access advanced controls like:

Run the Simulation

Understanding the Solver Phases

AirSketcher uses a hybrid approach, automatically transitioning between two distinct simulation phases. Understanding these phases will help you know exactly when to record your data and when to stop the simulation.

Phase 1: Pseudo-Transient (Mean Flow & Force Stabilization) When you first click Run, the solver focuses on quickly establishing the basic, stable flow field around your obstacles. During this phase, it applies numerical techniques to force the mass flow to balance and the overall pressure field to settle.

Phase 2: Full Transient (Wake Phase & Vortex Shedding)

Once the mean flow achieves stability, the solver automatically disables its artificial stabilization controls—specifically the mass flow “outlet servo” and momentum correction. It turns these off because artificial constraints suppress natural fluid motion. Instead, it activates the “Wake Phase” and introduces slight physical perturbations into the flow. This allows natural, time-dependent fluid phenomena—like the von Kármán vortex street—to develop behind your objects.

Monitoring Convergence & UI Indicators

Watch the Residuals panel in the plot window. It shows how stable and balanced the numerical solution is while the simulation is running. The colored LED dots give a quick health check of the flow calculation.

What are residuals?
A residual is a measure of how much the solution is still changing from one solver iteration to the next.

In simple terms:
large residual = the flow field is still changing
small residual = the flow field is becoming stable

AirSketcher tracks residuals for the main solved fields: horizontal velocity, vertical velocity, and pressure.

Residuals do not directly mean “percent error compared with reality.” Instead, they show whether the CFD equations are settling into a consistent solution. A simulation can start with high residuals because the solver is still building the flow field from the initial condition. As the flow stabilizes, residuals should generally decrease.

Residuals: Vx, Vy, and Pressure

The residual indicators monitor three key fields:

Use the LED colors as a quick guide:

Practical interpretation
If the residuals are dropping and staying low, the solution is converging.
If the residuals stay high, grow continuously, or spike repeatedly, the simulation may be unstable or the flow may still be developing.

Mass Flow Balance

Mass Flow Balance checks whether the amount of air entering the domain is close to the amount leaving it.

Look for:

This means the inlet and outlet flow rates are reasonably balanced.

Why this matters
For a stable CFD solution, air should not artificially appear or disappear inside the domain. A high mass-flow balance indicates that the solver is conserving flow well.

Typical interpretation:

If mass balance remains poor, try:

ΔCd: Change in Drag Coefficient

ΔCd shows how much the drag coefficient is still changing as the simulation runs.

This is especially important when you are using AirSketcher to estimate aerodynamic forces such as drag and lift.

Practical interpretation
Low residuals tell you the flow equations are stable.
Good mass balance tells you air is conserved.
Low ΔCd tells you the aerodynamic force result has stopped changing significantly.

  1. Start the simulation and allow the residuals to drop from their initial high values.
  2. Watch for Vx, Vy, and Pressure residuals to turn green or remain consistently low.
  3. Confirm that Mass Flow Balance reaches at least 95.0%.
  4. If you need aerodynamic coefficients, wait until ΔCd turns green.
  5. Record final values only after the residuals, mass balance, and ΔCd are all stable.

Important note
A short red or orange period is normal at startup. The key is the trend. A healthy simulation should move toward lower residuals, better mass balance, and smaller force changes over time. Watch the Residuals panel on your plot window. The colored “LED” dots provide a quick health check of your simulation:

When to Record Aerodynamic Data (Cd & Cl)

If your primary goal is to find the Drag (Cd) and Lift (Cl) coefficients of your design, you should pay attention to Phase 1.

  1. Wait for the “Converged” Message: When residuals drop and mass balance is achieved, AirSketcher will notify you that the flow field has converged.
  2. Wait for the “ΔCd Stabilised” Pop-up: As the simulation continues, the solver continuously monitors the change in your drag coefficient. Once |ΔCd| stays below 0.05% for several consecutive checks, a message will pop up saying: “ΔCd has gradually reached ~0%. Aerodynamic forces appear stable.”
  3. Record Your Data: This is the optimal time to record your Cd and Cl values. Once the simulation enters the Wake Phase (Phase 2), these values will naturally begin to oscillate as vortices shed off the back of your object.

When to Stop the Simulation

View Results

Once the simulation is complete, explore the results using the top results panel:

Each result opens in a new window with zoom, colorbars, tooltips, and export options.

Save Case and Data

Export your processed simulation as a .pkl file using the Save button if needed for post-processing or external tools.

You’re now ready to explore more advanced configurations!

User Interface Overview

When you launch AirSketcher, you’ll see the interface divided into key functional areas:

The main graphic user interface (GUI)

Left Panel — Simulation Controls

This is where you control how the simulation runs:

Live Progress View

The preview includes:

It also calculates a Design Score using the following formula:

$$ \text{Design Score} = \frac{100 \cdot \overline{V}_{\text{ROI}}}{1 + 0.5 \cdot \sigma^2_{\text{ROI}}} $$ where:

The Design Score rewards airflow that is both strong and consistent within the target region. Higher scores indicate faster average velocity with lower variation — ideal for achieving stable, efficient ventilation performance.

This is based on the Courant–Friedrichs–Lewy (CFL) condition, which limits the time step for stability:

$$ \Delta t \leq \frac{Ly}{u} $$ Where:

If the flow is slow and the grid is very fine, the required time step Δt becomes extremely small. If the simulation does not reduce the time step accordingly, it may become unstable or diverge.

To prevent this, Refine Flow automatically activates when Ly is smaller than a safe threshold for the current velocity.

Users may still turn Refine Flow ON or OFF manually. However, if it is turned ON automatically, the system will not disable it without user input.

Right Panel — Sketch and Image Tools

Sketch & Tools

From top to bottom:

Image Tools

Bottom Three Icons:

Center Canvas — Drawing & Simulation View

This is your main workspace:

Bottom — Residuals and Log Console

Simulation Setup

Setting up your simulation involves defining the environment where air will flow. This includes specifying the domain size, placing obstacles, and applying boundary conditions. AirSketcher offers an intuitive interface to guide you through each step.

Setting Domain Size

To define the vertical size of your simulation area:

  1. Click on “Set Domain Height (Y)” in the Expert Options panel.
  2. Enter your desired height value in meters.
  3. The domain length (X) is automatically scaled based on the canvas width.

💡 Tip: Ensure all obstacles are placed within the domain and away from boundaries to minimize their impact on flow and avoid simulation errors.

Defining Obstacles

Obstacles represent solid objects like buildings, walls, or terrain features that influence airflow.

📝 Note: Ensure obstacles form closed loops to be treated as solids.

Expert Options

These expert settings give you deeper control over simulation physics and performance. To reveal them, click the Expert Options ▶ button under the Wind Speed setting.

Expert mode menu

Gravity Enabled

Applies downward gravity to the airflow. Useful for buoyancy-driven flows (e.g., warm air rising) or terrain-influenced drafts. When disabled, the simulation assumes horizontal-only flow without vertical buoyancy effects.

🌬️ Wind Tunnel Mode

This mode applies slip-wall (symmetry) boundary conditions to the top and bottom walls of the simulation domain, simulating a confined but frictionless tunnel.

Slip Wall / Symmetry Boundary means:

Use this for testing designs in confined, wind tunnel-like conditions where flow cannot expand vertically.

Wind Tunnel Mode (ON)
┌────────────────────────────┐
│       Slip Wall (Top)      │
│  → → → → → → → → → → →     │
│  → → → → → → → → → → →     │   Flow direction →
│  → → → → → → → → → → →     │
│     Slip Wall (Bottom)     │
└────────────────────────────┘

When Wind Tunnel Mode is OFF: Open Boundary

If Wind Tunnel Mode is disabled, the top and bottom boundaries apply freestream (open) conditions instead.

This is ideal for simulating open-air scenarios, like outdoor aerodynamics or buildings, where the air can freely displace around an object.

Open / Freestream Boundary (OFF)
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
     ↑↑↑ Flow can expand ↑↑↑
  → → → → → → → → → → → → → → →
  → → → → → → → → → → → → → → →
     ↓↓↓ Flow can expand ↓↓↓
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈

Ground Friction

When enabled, the bottom wall becomes no-slip, simulating ground drag. That means velocity at the bottom = 0, mimicking real-world friction from ground or terrain.

Top boundary remains a slip wall.

Slip Wall (Top)
┌────────────────────┐
│                    │
│  → → → → → → → →   │
│   → → → → → → →    │
│    → → → → →       │
│     → → →          │
│       →            │
│         U = 0      │  ← No-slip Ground (velocity = 0)
└────────────────────┘

ABL Inlet

The Atmospheric Boundary Layer (ABL) inlet applies a vertical velocity profile that grows with height, mimicking outdoor wind over terrain and buildings.

Velocity Profile Formula

The wind speed follows a power law:
$u(y) = U_{\text{ref}}\left(\dfrac{y}{H}\right)^{\alpha}$

Where - u(y): velocity at height y
- Uref: reference velocity at height H
- H: reference height (often the inlet top)
- α: shear exponent (controls profile steepness)

ABL Profile (ASCII-safe for Zettlr)

U(y)
|               o  <- U_ref
|               o
|              o
|             o
|           o
|          o
|        o
|      o
|   o
+-------------------------------------- y
0                                      H

Higher α values produce stronger shear near the ground (steeper gradient at small y).

Typical α by Terrain

Terrain type α range
Open land / water 0.14–0.16
Suburban areas 0.22–0.27
Urban / dense forest 0.30–0.40

When to Use an ABL Inlet

⚠️ This setup is intended exclusively for 2D side-view simulations!

AMR (Adaptive Mesh Refinement)

AMR rebuilds the grid so it is fine where accuracy matters and coarser elsewhere—boosting speed without sacrificing fidelity.

UI Controls (Expert Options ▶ Simulation Tools)

How it works

What gets remapped

When it runs / skips

Stability tips (pseudo-transient)

After enabling

Note: AMR is not turned off by porous/blower zones; instead, they are included in the ROI so refinement accurately captures their effects.

Draft Mode (Coarse) / Concept AMR

Draft Mode (labeled in the UI as ↳ Draft Mode (Coarse)) is a fast-pass, low-resolution sub-feature of Adaptive Mesh Refinement. When a quick “concept” or draft of the flow is needed without waiting for a highly accurate calculation, this mode is ideal for rapid prototyping.

Key Behaviors

Scale Input Wind Speed

This tool automatically adjusts the inlet wind speed to maintain Reynolds number similarity when you are working with scaled-down models.

Reynolds number (Re) is approximated by:

$$ Re = \frac{\rho \cdot U \cdot L}{\mu} $$ where: - ρ = air density
- U = wind speed
- L = characteristic length (e.g., building width, car length)
- μ = air viscosity

When Should You Use This?

Only use Scale Input Wind Speed when your geometry is a scaled-down physical model (wind-tunnel model, miniature, or blueprint at reduced scale).

Example:
You are simulating a 1:50 scale car from a wind-tunnel test. Draw the car length on screen, enter the real car’s length + real wind speed (or target Re), and the tool instantly sets the correct simulation inlet speed so the flow behaves exactly like the full-size vehicle.

This is essential because flow patterns (laminar vs turbulent, separation, drag) depend on the Reynolds number. Without scaling, a small model at full speed produces completely wrong results.

When You Don’t Need It

If your geometry is already modeled at true 1:1 real-world size, skip this tool completely.
Just type the actual wind speed directly into the inlet field.
Using scaling on a 1:1 model would give incorrect (too low) velocities.

How to Use (Interactive Tool)

  1. Click the Scale Input Wind Speed button.
  2. Click once on the canvas to start a measurement line, then click again to finish it (any direction — length is measured correctly).
  3. The tool automatically detects the drawn length in simulation units.
  4. A clean dialog appears — fill in:
    • Real Characteristic Length (m) — e.g., actual building height or car length in real life.
    • Choose one of two modes:
      • Target Wind Speed (m/s) → enter the real-world wind speed
      • Target Reynolds Number (Re) → enter the desired Re (recommended for wind-tunnel validation)
  5. Click OK — the inlet velocity is instantly calculated and filled into the speed field (automatically capped at 500 m/s for numerical stability).

The tool handles everything for you — no manual math required.

Summary

Now your scaled simulations will match real-world physics automatically! ### Set Domain Height

Changes the vertical height (Ly) of the simulation domain.

You can either:
- Enter the new height manually (minimum = 1.0 meters)
- Draw a vertical reference line and input the real-world height

The horizontal width (lx) updates automatically using:

lx = 2 * ly

After applying changes, the simulation reloads with the new dimensions. Save your work before using this feature.

Porous and Blower Zones

This feature allows you to define polygon regions that either resist airflow (porous or vegetation zones) or inject airflow (blower zones). These zones are fully integrated into the momentum solver.

Porous Zones — Flow Resistance

Porous zones are used to simulate vegetation, fences, or other semi-obstructive elements that reduce wind velocity.

Two ways to define resistance:

LAI to Porosity Mapping

When LAI is used, porosity is computed from an exponential decay model:

Porosity = 100 e−0.5 LAI

This captures how denser vegetation obstructs airflow more effectively.

LAI Porosity (%) Vegetation Type
0 100% No vegetation
1 ~60% Light foliage
3 ~22% Moderate vegetation
5 ~8% Dense canopy
7 ~3% Very dense vegetation

How the solver actually uses LAI

Plan (Top) View - Use species LAI directly (e.g., Apple 2–4, Banana 3–6).
- No height input is needed; the model is per-unit depth out of plane.

Side (Section) View - Enter the same LAI; do not calculate height by hand.
- The solver infers Hc from your drawn polygon’s vertical thickness and computes LAD = LAI/Hc per cell.

Notes - Published LAI values are already integrated over canopy height in field measurements.
- Longer polygons (x-direction) don’t change LAI interpretation; they just extend where the drag is applied.

Flow Damping Equation

Porous zones introduce resistance in the velocity update step based on porosity:

Drag Coefficient:

$$ C_d = \frac{(1 - \phi)^2}{\phi^3 + \varepsilon} $$

Where:

Velocity Damping Applied in Solver:

$$ u = u_{\text{adv}} - \Delta t \cdot C_d \cdot u_{\text{adv}} \\ v = v_{\text{adv}} - \Delta t \cdot C_d \cdot v_{\text{adv}} $$

This reduces the wind velocity inside porous zones during each time step.

Tree Species — Typical LAI Ranges

Use these values as guidance when modeling real-world vegetation:

🌳 Sample Tree LAI Values (Typical Ranges)

• Acacia (Acacia spp.)……………… 3.5–6.0
• Apple (Malus domestica)…………… 2.0–4.0
• Areca Palm (Dypsis lutescens)……… 1.5–2.5
• Avocado (Persea americana)………… 2.5–4.5
• Bald Cypress (Taxodium distichum)….. 3.0–5.0
• Banana (Musa spp.)………………… 3.0–6.0
• Bamboo (various species)………….. 2.0–5.0
• Beech (Fagus grandifolia)…………. 2.5–4.0
• Birch (Betula spp.)……………….. 2.0–4.0
• Camphor Tree (Cinnamomum camphora)…. 2.5–4.5
• Casuarina (Casuarina equisetifolia)… 3.0–4.0
• Cherry Blossom (Prunus serrulata)….. 3.0–4.5
• Chinese Elm (Ulmus parvifolia)…….. 2.5–4.0
• Coconut Palm (Cocos nucifera)……… 1.5–2.5
• Coffee (Coffea arabica)…………… 1.5–3.0
• Douglas Fir (Pseudotsuga menziesii)… 2.0–4.0
• Eucalyptus (Eucalyptus spp.)………. 2.0–4.0
• Fig (Ficus carica)………………… 2.0–3.5
• Ginkgo (Ginkgo biloba)……………. 1.5–2.5
• Guava (Psidium guajava)…………… 2.5–4.0
• Jackfruit (Artocarpus heterophyllus).. 3.0–5.5
• Japanese Maple (Acer palmatum)…….. 2.0–3.5
• Lemon (Citrus limon)………………. 2.0–3.5
• Litchi (Litchi chinensis)…………. 3.0–5.0
• Live Oak (Quercus virginiana)……… 3.0–5.0
• Mahogany (Swietenia spp.)…………. 2.5–4.5
• Mango (Mangifera indica)………….. 3.0–5.0
• Neem (Azadirachta indica)…………. 2.0–3.5
• Olive (Olea europaea)…………….. 1.5–3.0
• Papaya (Carica papaya)……………. 2.0–4.0
• Pine (Pinus spp.)…………………. 2.0–5.0
• Rain Tree (Albizia saman)…………. 4.0–7.0
• Red Cedar (Juniperus virginiana)…… 2.0–3.5
• Red Maple (Acer rubrum)…………… 2.5–4.5
• Rubber Tree (Hevea brasiliensis)…… 2.5–4.5
• Sugar Maple (Acer saccharum)………. 3.0–5.0
• Sycamore (Platanus occidentalis)…… 3.5–6.0
• Tamarind (Tamarindus indica)………. 3.0–5.0
• Teak (Tectona grandis)……………. 2.5–4.5
• Tulip Tree (Liriodendron tulipifera).. 3.5–5.5
• Walnut (Juglans regia)……………. 3.0–4.5
• White Oak (Quercus alba)………….. 2.5–4.5

Blower Zones — Air Injection

Blower zones are polygonal areas that inject momentum into the flow field, simulating fans or ducts.

Each blower has:

Injected Velocity Components:

u = V ⋅ cos (θ),  v = V ⋅ sin (θ)

Where:

The computed velocity is applied to grid cells in the blower zone. Neighboring cells receive a transition blend to prevent sharp discontinuities.

Volume Balance Aid

To ensure airflow consistency, the system automatically computes how much velocity is required at the inlet to match the total blower outflow:

$$ V_{\text{inlet}} = \frac{3 \cdot Q_{\text{total}}}{A_{\text{inlet}}} $$

Where:

This recommendation appears (in the log console) as a suggestion for the minimum inlet velocity.

Image Processor and Wind Locator

This tool helps you quickly prepare images for CFD simulation and align them with real-world wind conditions — ideal for architects, urban planners, and HVAC designers working with satellite imagery, blueprints, or scanned floorplans.

The GUI of Image Processor and Wind Locator
Prevailing wind direction control wheel

Image Setup and Wind Alignment

Users can load any image of interest — from a simple floorplan to an airfoil — into the simulation domain.

If needed, the system provides edge detection tools to help extract clear outlines from the image — especially useful when loading floorplans or sketches from the Internet.

Two sliders at the top of the interface control the edge detection threshold, allowing you to fine-tune what is considered an edge based on contrast. This ensures cleaner geometry recognition before simulation.

To simulate realistic wind exposure:

The tool offers two independent workflows:

a. Preparing and Exporting an Image

Open the Image Processor

The icon of image processor and wind locator

Load Your Image

Refine Image Outlines

Use the two sliders to control how clearly shapes and boundaries are extracted from your image.

The image preview updates in real time over a clean white background, giving you immediate feedback.

Export for Simulation

b. Adding Real Wind Data

Enter Coordinates

Latitude / Longitude Input

What Happens Behind the Scenes

Visual Map Overlay

Align with Wind

Reading a Wind Rose

A wind rose is a visual summary of how wind speed and direction are distributed at a specific location.

Below is an example from DUNEDIN AERODROME AWS, approximately 41.95 km from the reference point.

Wind Rose

How to Read the Wind Rose:

Setting Wind Inputs in a Simulation

Wind Direction

💡 Simulation Logic:
In the simulation environment, the wind always enters from the left side of the domain. This is because the software sets the inlet boundary on the left, with flow moving horizontally rightward.

What You Need to Do:
If wind in reality comes from NE (45°):

Example:

If real wind is from SW (225°):

📌 Always align wind direction relative to the left-side inlet, since that’s where airflow begins.

Wind Speed
Example Setup:
Wind direction: 45° (from NE) or 225° (from SW)
Wind speed (at a reference height 10m): 6 m/s

ℹ️ If using ABL (Atmospheric Boundary Layer), the 5 m/s typically applies at the domain top (e.g., 10 m or 100 m height).

Summary

Element Value (from rose)
Dominant Wind From NE and SW
Frequency Peak ~17.5% from SW
Typical Speed 4–8 m/s
Suggested Inlet 6 m/s from SW (225°)

When You’re Ready

  • Return to the main simulation screen
  • Use the Import image icon (right panel) to import your .pkl obstacle layout
  • Click Run to begin simulation

Running a Simulation

Once your geometry, wind zones, and simulation parameters are set, running a simulation in AirSketcher is straightforward — though behind the scenes, the solver performs several intelligent steps to ensure stability, accuracy, and physical realism.

How to Start

  1. Click the ▶ Run Simulation button.
  2. The solver begins processing your setup: geometry, wind, zones, and any porous or blower definitions.
  3. A live residual plot opens to monitor convergence.

What Happens During the Simulation

For each iteration, the solver performs:

Residual_u = |u - u_prev|
 Residual_v = |v - v_prev|
 Residual_p = |p - p_prev|

These residuals are shown live in the solver graph.

Live Monitoring

Every 200 iterations (default, configurable):

When the Simulation Stops

The solver now uses explicit, code-level criteria for stopping or notifying you:

Other Insights

After Completion

Notes

Solver behavior depends on: - Domain height (ly) - Inlet speed - CFL condition (automatically adjusted if Refine Flow is on)

💡 Pro Tip

Not sure if the simulation is stable?

Look at the residual plot:

Visualizing Results

After the simulation is complete, you can view the results using the panel of visualization tools. Each button provides a specific type of analysis to help interpret flow behavior, pressure distribution, or derived performance.

Velocity Contour

The Velocity Contour tool renders a filled color map of the fluid velocity magnitude across your simulation domain. It helps you spot high-speed regions, wake formations, and flow symmetry — all at a glance.

Velocity Contour

Features

Usage Tips

📌 Notes

Streamlines

Streamline Analysis opens a clean, professional results window that shows high-quality streamlines colored by velocity magnitude, obstacle rendering, and an interactive Line Probe tool for detailed flow profiling.

When to Use Streamlines

How to Open

Click the Streamlines button in the Results panel (or use the toolbar icon).
A new window appears with a large, publication-ready visualization.

Main Visual Features

streamlines.png #### Controls (bottom bar) - Density slider — controls how many streamlines are drawn (0.5 = sparse, 3.0 = very dense)
- Vector Length slider — scales arrow size when vectors are enabled
- Show/Hide Vectors — toggle velocity arrows on/off
- Switch Theme — Dark ↔︎ Light (journal quality)
- ⌖ Line Probe — activates the powerful profiling tool
- ✖ Clear All — removes probe lines and tooltips

Line Probe Tool (real time)

  1. Click ⌖ Line Probe (button turns yellow).
  2. Click and drag anywhere on the streamline map to draw a measurement line.
  3. Release the mouse — a graph instantly appears showing:
    • |V| (velocity magnitude) — thick black line
    • u (horizontal) — red dashed
    • v (vertical) — blue dashed

streamlineProbe.png Graph information displayed: - Total line length (m)
- Average velocity along the line
- Flux integral ∫|V|·ds (m²/s)

Fitted Equations (shown below the graph): - Automatic polynomial curve fitting with R² values
- Equations can be copied with right-click → Copy

Extra actions in probe window: - Export CSV — saves distance, u, v, |V| data
- Copy Graph — copies the plot image to clipboard (ready for reports)

Right-click anywhere on the main streamline map to clear all tooltips instantly.

Tip: Use the Line Probe on critical sections (e.g., above a roof, through a gap between buildings, or along a pedestrian path) to get exact numbers for your analysis or validation.

This tool turns raw simulation data into clear, presentation-ready flow insights in seconds.

Pressure Contours

The Static Pressure visualization shows how pressure is distributed throughout the simulation domain. It helps identify high-pressure stagnation zones, low-pressure suction regions, wake effects, and pressure loading around obstacles.

Pressure contour

At a glance
Use Pressure Contours when you want to understand where air is pushing against a surface, where suction is forming, and how pressure differences contribute to aerodynamic force.

Key Features

How to Open & Use

Click the Pressure Contours button in the Results panel.

A large, clean window opens with the full Matplotlib toolbar for zooming, panning, and exporting.

Bottom controls:

Line Probe Tool

  1. Click ⌖ Line Probe. The button turns yellow.
  2. Click and drag a line across the pressure field.
  3. Release the mouse button.
  4. A new window appears with:
    • pressure profile graph;
    • smoothed curve and filled area;
    • total line length;
    • integrated force F [N/m];
    • direction angle;
    • fitted polynomial equations;
    • Export CSV and Copy Graph buttons.

This is useful for checking pressure distribution along a roofline, through a narrow gap, across a wake, or over a selected structural face.

Aerodynamic Analysis

The software automatically detects the largest closed obstacle and estimates pressure-only aerodynamic force. This means the calculation uses pressure loading around the obstacle boundary, but does not include viscous shear stress.

Relative pressure field

p_rel(x, y) = p(x, y) − p∞ − bₓ(x − x₀) − bᵧ(y − y₀)

where: p_rel = corrected relative pressure p(x, y) = local static pressure p∞ = far-field or reference pressure bₓ and bᵧ = background pressure-gradient correction terms x₀ and y₀ = reference location

The background correction removes broad numerical pressure drift so the force calculation focuses on the pressure caused by the obstacle itself.

Force on each boundary segment

dF = −p_rel × n̂ × ds

where: dF = small force contribution from one boundary segment = outward unit normal vector ds = boundary segment length

Total force per unit span

F = ∮ over obstacle boundary [−p_rel × n̂ × ds]

The result is reported per unit depth out of the 2-D plane, so force units are N/m.

Advanced Features in the Calculation

Important note
This is a pressure-only aerodynamic estimate. For many 2-D bluff-body cases, pressure force dominates the total force, but viscous shear is not included.

Aerodynamic Coefficients

The software converts force into dimensionless aerodynamic coefficients using dynamic pressure.

Dynamic pressure

q∞ = 0.5 × ρ × U∞²

where: q∞ = dynamic pressure ρ = air density U∞ = reference freestream velocity

Using Projected Height [H]

Use this convention for bluff bodies, buildings, cylinders, and objects where the projected frontal height is the most meaningful reference length.

Height-based coefficients

CD[H] = Fx / (q∞ × H)
CL[H] = Fy / (q∞ × H)
L/D[H] = CL[H] / CD[H]

where: H = projected height Fx = streamwise force per unit span Fy = vertical force per unit span CD[H] = drag coefficient based on projected height CL[H] = lift coefficient based on projected height

Using Chord or Streamwise Length [c]

Use this convention for airfoils, streamlined bodies, and wind-tunnel-style analysis where chord length is the standard reference.

Chord-based coefficients

CD[c] = Fx / (q∞ × c)
CL[c] = Fy / (q∞ × c)
L/D[c] = CL[c] / CD[c]

where: c = chord or streamwise reference length CD[c] = drag coefficient based on chord CL[c] = lift coefficient based on chord

Both coefficient sets appear live in the Aero Data panel.

The panel includes:

Details of Aerodynamics Analysis

How to Interpret the Pressure Plot

Accuracy Tips

Particle Tracking & PM2.5 Pollution Analyzer

New launcher — Click the Particle Tracking button to open a clean mode selector:

Particle Tracking Launcher

Both modes use your current velocity field. Choose the one you need.

General Particle Tracking (original mode)

Visualises flow with animated tracer particles and an optional Smoke overlay (unitless normalised density map).

Particle tracking & smoke overlay

Features - Particles injected from the left inlet (or your custom polygon inlet) - Advected with velocity + tiny random walk for natural look - Red dots = stuck particles (speed < 0.001 × reference speed); live counter shown - Exclude Region polygons (counting only) — particles inside are ignored for trapping statistics but still move normally - Smoke overlay (when enabled) hides the dots for a clean plume view

Controls (bottom bar) - Particle Speed (×) – visual time scale - Color – dot brightness - Amount – number of particles - Smoke overlay toggles: Opacity, Thickness (m), Trail (decay), Theme (Blue Cloud / Smoke / Toxic Gas / Heatmap) - Buttons: Run/Reset, Stop, Exclude Region, Clear Exclusions, Set/Reset Particle Inlet, Show/Hide Porous Zones

Smoke Overlay mathematics (for advanced users) The overlay is built on the simulation grid:

  1. Bilinear deposit of particle footprints → fresh deposit D
  2. Compact Gaussian blur (controlled by Thickness)
  3. Trail memory: C(k+1) = α·C(k) + D̃ (α from Trail slider)
  4. Outlet sponge + solid masking
  5. Normalised display with running 98th-percentile EMA + gamma ≈ 0.72

Tooltip always shows Pollution: XX% (normalised intensity, no physical units).

Reading values - Left-click in fluid → “Pollution: XX%” - Right-click → clear all tooltips

When to use
Perfect for visualising recirculation, stagnation zones, or qualitative ventilation studies.

PM2.5 Pollution Analyzer (pro mode)

Full quantitative environmental modelling with real concentrations in µg/m³, source emissions, filters, Zone of Interest statistics, WHO compliance panel, and one-click ESG reporting.

PM2.5 Pollution Analyzer

Key Features

Live Dashboard (right sidebar)

Buttons (under the plot)

Accuracy & Scope - Qualitative-to-quantitative visualisation tool (not a certified regulatory model) - Concentrations are reconstructed via cloud-in-cell deposition + smoothing + division by reporting-layer volume - All mass bookkeeping is audited in real time for closure

Performance tips - Disable the heatmap temporarily while adding many sources/filters - Use moderate particle amounts (the simulator auto-culls excess for stability) - The line probe and dashboard update instantly — no extra waiting

When to use - ESG/sustainability reporting - “Before vs after” filter or source relocation studies - WHO compliance screening - Visualising PM2.5 hotspots and exposure zones

Why two separate modes?
General mode is fast and beautiful for flow insight. PM2.5 mode adds full emission → concentration physics, regulatory metrics, and professional reporting — all while sharing the same accurate velocity field.

Both tools are production-ready and export perfectly to HTML/PDF. Use the Description and Report buttons inside the PM2.5 Analyzer for complete technical documentation and formal outputs.

Line Probe

The Line Probe tool extracts precise values across any two points, or along a multi-point polyline, in the flow domain. It is useful for checking velocity variation, pressure change, mass-flow balance, and integrated velocity metrics along a user-defined path.

At a glance
The Line Probe samples flow variables along a drawn path and automatically reports distance-based plots, segment-wise mass flow, and integrated velocity metrics such as ∫ U ds, ∫ U² ds, and ∫ U³ ds.

Drawing a Line Probe
Line Probe Output

Steps

  1. Start Probe
    Click Line Probe, then draw a polyline along the path you want to sample.

  2. Reference Scaling (distance calibration)

    • If your domain axes are already 1:1 in meters, press OK in the dialog. No calibration is needed.
    • If your domain is scaled from pixels, CAD, or an image, draw a short reference line over a feature with a known real-world length, then enter that length in meters.
    • This sets the meters-per-unit scale so distances, mass flow rate, and integrated values are computed correctly.

Common integrated values
∫ U ds = integral of velocity
∫ U² ds = integral of velocity squared
∫ U³ ds = integral of velocity cubed

  1. Auto Plots
    The tool automatically generates:
    • Velocity Magnitude vs Distance
    • Static Pressure vs Distance
    • Vx and Vy Components vs Distance
    • Mass Flow per Segment
    Distance is shown in meters using the scale from Step 2.

Mass-flow relation
ṁ = ρ × Vₙ × A

where: - is mass flow rate - ρ is fluid density - Vₙ is velocity normal to the line segment - A is the segment area, or effective segment width in the 2-D model

  1. Interactive Table
    Shows sampled data:
    • X
    • Y
    • V
    • P
    • Vx
    • Vy
  2. Save
    Export the composite PNG plot.

Graph (Line Probe) Description

This section explains what each line-probe graph shows and how the summary numbers are computed.

You draw a polyline, and the tool resamples the field along its arc length from the start point to the end point.

Symbols used in this section

  • s = distance along the polyline
  • L = total polyline length
  • Δsᵢ = local segment length
  • uₓ = x-direction velocity component
  • uᵧ = y-direction velocity component
  • U = velocity magnitude

Velocity magnitude definition
U = sqrt(uₓ² + uᵧ²)

Raw vs Smoothed Curves

Each plot can show raw samples and a gently smoothed curve.

Important
Use the raw values for numerical checking and the smoothed curve for visual interpretation. Small differences between raw and smoothed integrals are normal.

Velocity Magnitude U [m/s]

Integrals shown in the lower-right badge

∫ U ds [m²/s]
∫ U² ds [m³/s²]
∫ U³ ds [m⁴/s³]

Optional mean velocity
U_mean = (1 / L) × ∫ U ds

Example: Using a Near-Surface Line Probe and ∫ U³ ds for Sand Transport

Goal: Estimate along-line aeolian sand transport over 2-D topography using Bagnold-style cubic velocity scaling and the line-probe metric ∫ U³ ds.

1) Bagnold Scaling

Bagnold form used here
q = C × (ρ / g) × sqrt(d / D) × u∗³

Where:

Coefficient C

A practical range is: - C ≈ 1.5 for uniform, well-sorted sand - C ≈ 2.8 for widely graded sand

Practical tip: Start with C = 2.0, then calibrate against measured fluxes if field data are available.

Assume a log-law profile at a fixed near-surface reference height.

Definitions

  • z_ref = reference height
  • z₀ = roughness length
  • κ = von Kármán constant, approximately 0.40

Log-law relation
U(z_ref) = (u∗ / κ) × ln(z_ref / z₀)

Solving for friction velocity
u∗ = κ × U(z_ref) / ln(z_ref / z₀)

3) Combine Bagnold Scaling with the Log Law

Combined form
q = K × U³

where

K = C × (ρ / g) × sqrt(d / D) × [κ / ln(z_ref / z₀)]³

If z_ref and z₀ are uniform along the probe, then K is constant.
If roughness changes strongly along the line, use a local value:

Kᵢ = local K for segment i

4) Draw a Polyline Line Probe Along the Near-Surface Path

Let the sampled vertices be (xᵢ, yᵢ) and the local arc-length spacing be Δsᵢ.

Tool metric

∫ U³(s) ds ≈ Σ(Uᵢ³ × Δsᵢ)

This means the line probe adds the cubic velocity contribution from each segment along the drawn path.

5) Convert the Metric to Transport

Total along-line transport

Q_line ≈ K × ∫ U³ ds

With SI inputs in K, the result Q_line is in kg/s.

6) Optional Threshold for Motion

If a threshold friction velocity applies, segments below the threshold should be set to zero.

Threshold definitions

  • u∗t = threshold friction velocity
  • U_t = equivalent threshold wind speed at the reference height

Threshold wind speed

U_t = (u∗t / κ) × ln(z_ref / z₀)

Thresholded transport estimate

Q_line ≈ K × Σ[max(Uᵢ³ − U_t³, 0) × Δsᵢ]

Assumptions / Tips

Assumptions and practical tips

  • Use one consistent z_ref along the polyline when possible.
  • Keep the probe above the roughness sublayer.
  • If z₀ varies strongly, treat K locally as Kᵢ.
  • Choose d and C for the expected sand type.
  • The method is most appropriate for dry, non-cohesive sand.
  • The ∫ U³ ds metric is a proxy for the Bagnold driver. Larger values indicate stronger transport potential along the drawn path.
Static Pressure p [Pa]

Pressure summary

∫ p ds [Pa·m]

Optional mean pressure
p_mean = (1 / L) × ∫ p ds

Velocity Components uₓ and uᵧ [m/s]

Component note
The components can be positive or negative. The velocity magnitude U is always non-negative.

These component plots are useful for identifying flow reversal, recirculation, jet direction, and cross-flow behavior.

Mass Flow Across the Polyline [kg/s]

Let:

Normal velocity

Vₙ(s) = uₓ(s) × nₓ(s) + uᵧ(s) × nᵧ(s)

Mass-flow density per unit length

ṁ′(s) = ρ × Vₙ(s)
Units: kg/s/m

Per-segment mass flow

ṁᵢ = ρ × Vₙᵢ × Δsᵢ
Units: kg/s

What Is Plotted

The mass-flow graph can show either:

Recommended display
ṁ′(s) versus s

This makes it easier to see where flow crosses the line most strongly.

Totals Shown in the Badge

Raw sum, discrete

Σ = Σ(ρ × Vₙᵢ × Δsᵢ)
Units: kg/s

This is the conservation check and matches the data table.

Continuous integral

Integral mass flow = ∫ ṁ′(s) ds
Units: kg/s

This is computed over the displayed curve, either raw or smoothed depending on the label. Small differences from the discrete sum are normal when smoothing or resampling is applied.

Units Sanity Check

Quick unit check

ρ [kg/m³] × Vₙ [m/s] × Δs [m] = kg/s
ṁ′ = ρ × Vₙkg/s/m
∫ ṁ′ ds = kg/s

U [m/s] × length [m] = m²/s
U² [m²/s²] × length [m] = m³/s²
U³ [m³/s³] × length [m] = m⁴/s³

Report & Analysis

The Report tool builds a polished, ESG-ready PDF and a Word-friendly bundle from your current simulation. It combines the selected Region of Interest (ROI), named Points of Interest (POIs), cross-design .pkl comparisons, and an integrated energy calculator to generate flow statistics, efficiency charts, carbon metrics, and AI-assisted engineering narratives.

The purpose of this report is to help users move from CFD visualization to practical engineering decisions: identifying whether a design improves airflow delivery, reduces resistance, supports fan speed reduction, improves outdoor-air effectiveness, or reveals hidden energy penalties.

Workflow

  1. Run a simulation: Ensure velocity and pressure fields are fully established.
  2. Open AI Analysis: Click Report / AI Analysis. A new window opens showing the current velocity map.
  3. Draw the ROI: Drag a rectangle over the core area you want analyzed. Click Confirm ROI.
  4. Pick POIs (points to sample): Click on the plot to drop one or more POIs. They will be numbered automatically. Click Confirm Points of Interest.
  5. Name the POIs: A Name Zones window appears. Rename them using clear engineering labels such as Inlet Corner, Work Zone, Return Exhaust, or Filter Face. Click Submit.
  6. Enter ESG & Comparison Data: An Energy & Carbon Inputs window appears.
    • Enter baseline operating data such as Fan Power (kW), Operating Hours, Baseline CFM, Electricity Tariff, and Grid Emission Factor.
    • Use After CFM only when a measured or known post-improvement airflow value is available.
    • Leave After CFM blank when comparing design-stage simulations and allowing AirSketcher to estimate performance from the r trends.
    • Cross-Design Comparison: Load up to two saved .pkl state files to directly compare alternative designs against the current baseline.
    • Click Use Values, or click Skip to leave ESG values as N/A.
  7. Save the PDF: Choose a filename. AirSketcher generates the PDF in a high-contrast Soft Grid theme, creates a bundle folder, and automatically opens the folder.

What the Report Includes

Section 4 Extension: Energy ROI Interpretation Guide

The Energy & Carbon section should be interpreted using one central rule:

AirSketcher does not save energy automatically. It identifies the aerodynamic opportunity. Energy is saved only when the design is improved and the controls are adjusted to use that improvement.

This distinction is important because low airflow can mean two very different things.

Scenario Meaning Energy Result
Intentional Control The fan is intentionally slowed down using a VFD, or the duct/layout has been optimized. Real savings are possible because fan effort drops.
Resistance or Blockage The fan is fighting a dirty filter, poor inlet, restrictive duct, or blocked path. Energy use may increase because the fan must work harder to maintain flow.
4.4.1 Downstream Performance Ratio

For supply, cooling, and occupied-zone POIs, AirSketcher uses the downstream performance ratio:

r = V(new) / V(baseline)

Use this interpretation:

Result Meaning Engineering Interpretation
r > 1 The new design delivers more air to the target zone. The design is aerodynamically better. The fan can potentially be slowed down to match the original target performance.
r = 1 The new design performs similarly to the baseline. No major delivery improvement is detected.
r < 1 The new design delivers less air to the target zone. The design may underperform unless reduced airflow was intentional.

When r > 1 downstream, the report estimates fan savings using the Fan Cube Law:

P ∝ N³

This means a small reduction in fan speed can create a much larger reduction in fan power. If a design delivers the same target airflow at a lower fan speed, annual energy and carbon savings can become significant.

4.4.2 Upstream / Exhaust Performance Ratio

For upstream, return, exhaust, hood, filter, or suction-side POIs, velocity alone is not enough. A blocked filter may show lower airflow, but that does not mean energy is being saved. It may mean the fan is working harder against resistance.

For this reason, AirSketcher uses a fan power proxy:

Power Proxy ≈ rQ × rDP

Where:

Use this interpretation:

Result Meaning Engineering Interpretation
Lower proxy score The fan is moving air with less resistance. Better efficiency and possible savings.
Higher proxy score The fan is fighting more pressure drop. Energy penalty, often caused by blockage, dirty filters, or restrictive geometry.
rQ ≈ 1 and rDP > 1 Flow is maintained, but pressure rises. The VFD or fan is masking a resistance problem. Energy cost increases even though airflow appears acceptable.

This is especially useful for diagnosing dirty filters, clogged return paths, restrictive exhaust hoods, and poor inlet conditions.

4.4.3 The Four Energy-Saving Recipes

AirSketcher organizes energy savings into four practical recipes. Select the one that matches the engineering goal of the project.

Recipe Best Used For Logic ROI Output
Recipe A: Fan Supply Optimization General ventilation, cooling workers, supply ducts, occupied zones If the new design delivers air more effectively, the fan may not need to run at full speed. Fan kWh/yr, cost, and carbon savings from VFD speed reduction.
Recipe B: Exhaust & Resistance Audit Fume hoods, return inlets, filters, suction paths Separates efficient low-flow conditions from bad low-flow caused by resistance or blockage. Identifies wasted fan energy caused by high pressure drop.
Recipe C: Outdoor-Air Reduction HVAC systems where outside air is expensive to cool or heat If CFD shows good mixing with fewer dead zones, outdoor-air volume may be safely reduced. Cooling/heating energy savings from reduced outdoor-air treatment.
Recipe D: Setpoint Increase Warehouses, factories, climate-controlled rooms If the space is uniform with fewer hot spots, the thermostat can be raised without sacrificing comfort or process stability. Cooling savings from thermostat setpoint adjustment.
4.4.4 Required Inputs for Valid Financial Outputs

The ESG section requires complete input data. If required values are missing, the report will still generate, but cost and carbon fields may show --.

Universal inputs:

Input Purpose
Fan Baseline Power (kW) Rated or measured baseline fan motor power.
Operating Hours (h/yr) Annual runtime used for yearly energy calculations.
Electricity Tariff Required for cost savings.
Grid Emission Factor Required for tCO2e/yr carbon savings.
Comparison File (.pkl) Required for cross-design performance comparison.

Airflow input options:

Option Required Input Best Used When
Known Airflow Change Baseline CFM and After CFM Physical site measurements are available.
Measured from CFD Flow captured using the Line Probe tool The solver is used to calculate flow directly.
Design-Stage Proxy Baseline CFM only; leave After CFM blank Comparing theoretical design options using the r trends.
4.4.5 Dirty Filter / Resistance Example

A common mistake is assuming that constant airflow means constant energy. For example, a fan system with a dirty filter may maintain the same target velocity because the VFD increases fan effort.

In the simulation, the airflow may look acceptable, but the pressure drop can rise sharply. In this case:

This is not a saving. It is a hidden energy penalty.

For filter banks, return inlets, and exhaust systems, the Upstream Table is therefore more important than the Standard Table because it captures the combined effect of flow and pressure drop.

4.4.6 Outdoor-Air Reduction Logic

Outdoor air is expensive to condition because it must be cooled, heated, or dehumidified before entering the occupied space.

If the ROI statistics show better mixing, lower variance, and improved low-percentile velocity behavior, the report may estimate a conservative outdoor-air reduction. This is especially useful when the Outdoor-air after field is left blank but a comparison .pkl file is provided.

The automatic estimate is intentionally conservative and capped at 20% for safety. This prevents the report from overstating savings where ventilation compliance, process requirements, or local codes still control the minimum outside-air requirement.

4.4.7 Thermostat Setpoint Shift Logic

If the simulation shows fewer stagnant zones, fewer hot spots, and a more uniform air distribution pattern, the building may not need to be over-cooled to fix one poor-performing area.

In this case, the report can estimate savings from a thermostat setpoint shift. For example, raising the cooling setpoint by 1°C can reduce cooling demand while maintaining more consistent comfort or process conditions.

This calculation is most useful for:

4.4.8 How to Use Section 4 in Client Discussions

Use Section 4 to separate visualization from action.

A velocity plot shows where air moves.

The ESG section explains what the movement means financially.

The key client message is:

The simulation identifies where the airflow system is inefficient. The savings are realized when the improved design is combined with the correct operational action, such as reducing fan speed, lowering outdoor-air load, cleaning resistance points, or adjusting the thermostat setpoint.

This makes the report useful for engineering review, financial justification, ESG documentation, and before/after design comparison.

Outputs

Notes & Tips

Qi-Flow (QFI) blends CFD with Feng Shui to assess air harmony, clarity, and comfort.

Visualization of Qi Flow Index

How QFI Works

Formulas:

Room Classification

Room Type Velocity Range QFI Score Color Use
Sha Chi |V| > Vopt + σ Red Too fast, aggressive flow
Stagnant Zone |V| < Vopt − σ < 0.55 Gray Too slow or blocked
Calm Room 0.6–1.8 m/s > 0.80 Blue Sleep, study
Active Room 0.8–2.1 m/s 0.60–0.80 Green Balanced, energized
QFI Map Example

Tips for Qi-Aligned Flow

👥 Credits

Core Development

🔖 Licensing & Acknowledgements

AirSketcher may incorporate open-source components under compatible licenses.
All third-party libraries retain their original licensing terms.

📨 Contact

For questions, feedback, or collaboration inquiries:

📧 support@polar-dynamix.com
🌐 www.polar-dynamix.com