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

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 \(\Delta 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\)
- \(U_{\text{ref}}\): reference velocity at height \(H\)
- \(H\): reference height (often the inlet top)
- \(\alpha\): 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 \(\alpha\) values produce stronger shear near the ground (steeper gradient at small \(y\)).

Typical \(\alpha\) by Terrain

Terrain type \(\alpha\) 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 Enabled

AMR (Adaptive Mesh Refinement) rebuilds the grid so it is fine where accuracy matters and coarser elsewhereβ€”boosting speed without sacrificing fidelity.

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 captures their effects.

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: - \(\rho\) = air density
- \(U\) = wind speed
- \(L\) = characteristic length (e.g., building width, car length)
- \(\mu\) = 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:

\[ \text{Porosity} = 100\, e^{-0.5\,\text{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 \(H_c\) from your drawn polygon’s vertical thickness and computes \(\text{LAD}=\text{LAI}/H_c\) 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 \cdot \cos(\theta), \quad v = V \cdot \sin(\theta) \]

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 domain, clearly highlighting high-pressure stagnation zones and low-pressure suction areas around obstacles.

Pressure contour

Key Features

How to Open & Use

Click the Pressure Contours button in the Results panel.
A large, clean window opens with full Matplotlib toolbar (zoom, pan, export).

Bottom controls: - Contour Levels slider - Checkboxes: Show Geometry | Show Isolines - βŒ– Line Probe button - Live Aero Data panel (right side)

Line Probe Tool (New!)

  1. Click βŒ– Line Probe (turns yellow).
  2. Click + drag any line across the domain.
  3. Release β†’ a new window appears with:
    • Pressure profile graph (smoothed curve + filled area)
    • Total line length, integrated force F (N/m), direction angle
    • Fitted polynomial equations (copyable)
    • Export CSV and Copy Graph buttons

Perfect for checking pressure distribution along a roofline, through a gap, or across a wake.

Aerodynamic Analysis (Automatic)

The software automatically detects the largest closed obstacle and computes pressure-only forces (no viscous shear) using the relative pressure field:

\[ p_{\text{rel}}(x,y)=p(x,y)-p_\infty-b_x(x-x_0)-b_y(y-y_0) \]

Force on each boundary segment: \[ d\mathbf F=-\,p_{\text{rel}}\,\hat{\mathbf n}\,ds \]

Total force per unit span: \[ \mathbf F=\oint_{\partial\Omega}-\,p_{\text{rel}}\,\hat{\mathbf n}\,ds \]

Advanced features in the calculation: - Voting raycast for correct outward normals (handles concave/bluff bodies) - Automatic chord-line & AoA detection - Blockage correction (wind-tunnel mode) - Time-averaging filter for stable results during vortex shedding - Calibration multiplier (you can manually adjust Cd to match experiments)

Note: This is pressure-only. For many 2D bluff-body cases the pressure term dominates (>90 % of total force).

Aerodynamic Coefficients

Dynamic pressure: \(q_\infty=\tfrac12\rho U_\infty^2\).

Using projected height [H] (bluff bodies, buildings, cylinders): \[ C_D^{[H]}=\frac{F_x}{q_\infty\,H},\qquad C_L^{[H]}=\frac{F_y}{q_\infty\,H},\qquad \left(\frac{L}{D}\right)^{[H]}=\frac{C_L^{[H]}}{C_D^{[H]}} \]

Using chord/streamwise length [c] (airfoils, wind-tunnel convention): \[ C_D^{[c]}=\frac{F_x}{q_\infty\,c},\qquad C_L^{[c]}=\frac{F_y}{q_\infty\,c},\qquad \left(\frac{L}{D}\right)^{[c]}=\frac{C_L^{[c]}}{C_D^{[c]}} \]

Both sets appear live in the Aero Data panel on the right, together with: - Fx / Fy (N/m) - Angle of attack (AoA) - Reynolds number (auto-selected based on body thickness) - Optional manual calibration (Set [H] or [c])

Details of Aerodynamics Analysis

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 in your flow domain.

Drawing a Line Probe
Line Probe Output

Steps

  1. Start Probe Click Line Probe β†’ 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, just press OK in the dialog (no calibration needed).
    • If your domain is scaled (pixels/CAD/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 integrals (e.g., int(U ds), int(U^2 ds), int(U^3 ds)) are computed correctly.
  3. Auto Plots

    • Velocity Magnitude vs Distance
    • Static Pressure vs Distance
    • Vx, Vy Components vs Distance

(β€œDistance” is shown in meters using the scale from Step 2.)

\(\dot{m} = \rho \cdot V_n \cdot A\)

  1. Interactive Table
    Shows sampled data: X, Y, V, P, Vx, Vy, \(\dot{m}\)

  2. Save
    Export 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; we resample the field along its arc-length \(s \in [0,L]\) with local segment lengths \(\Delta s_i\).
Velocity components are \(u_x, u_y\); the speed (velocity magnitude) is \(U = \sqrt{u_x^2 + u_y^2}\).

Raw vs smoothed curves. Each plot can show raw samples (markers) and a gently smoothed curve (solid line).
Integrals labeled β€œraw” are taken from the unsmoothed samples; those labeled β€œsmoothed” are taken from the displayed curve.
The data table always exports the raw samples.

Velocity Magnitude \(U\) [m/s]

Example: Using a near-surface line probe and \(\int U^3\,ds\) for sand transport

Goal. Estimate along-line aeolian sand transport over 2-D topography using Bagnold’s cubic law and the line-probe metric \(\int U^3\,ds\).

1) Bagnold scaling (form used here).
\[ q \;=\; C\,\frac{\rho}{g}\,\sqrt{\frac{d}{D}}\;u_*^{3} \] - \(q\): sand mass flux per unit width (kg·s⁻¹·m⁻¹)
- \(\rho\): air density, \(g\): gravity
- \(d\): grain size, \(D\): reference size
- \(u_*\): friction (shear) velocity
- \(C\): empirical constant Coefficient \(C\) (how to choose)
A commonly cited range is: \(C \approx 1.5\) (uniform, well-sorted sand) up to \(C \approx 2.8\) (widely graded sand)

Practical tip: start with \(C = 2.0\) and calibrate against any measured fluxes if available.

2) Link \(u_*\) to measured wind speed \(U\) at a fixed near-surface height.
Assume a log law at uniform \(z_{\text{ref}}\) and roughness \(z_0\): \[ U(z_{\text{ref}})=\frac{u_*}{\kappa}\,\ln\!\Big(\frac{z_{\text{ref}}}{z_0}\Big), \qquad u_*=\frac{\kappa\,U(z_{\text{ref}})}{\ln\!\Big(\frac{z_{\text{ref}}}{z_0}\Big)}, \] with \(\kappa\simeq0.40\).

3) Combine 1) and 2).
\[ q \;=\; K\,U^{3}, \qquad K \;=\; C\,\frac{\rho}{g}\,\sqrt{\frac{d}{D}}\, \left[\frac{\kappa}{\ln\!\Big(\frac{z_{\text{ref}}}{z_0}\Big)}\right]^3 . \] If \(z_{\text{ref}}\) and \(z_0\) are uniform along the probe, \(K\) is constant.

4) Draw a polyline line probe along the near-surface path.
Let vertices be \(\{(x_i,y_i)\}\) with arc-length spacings \(\Delta s_i\).
The tool’s metric is \[ \int_{\text{polyline}} U^{3}(s)\,ds \;\approx\; \sum_i U_i^{3}\,\Delta s_i . \]

5) Convert the metric to transport.
Total along-line flux (per unit span out of plane): \[ Q_{\text{line}} \;\approx\; K \int U^{3}\,ds . \] With SI inputs in \(K\), \(Q_{\text{line}}\) is in kg·s⁻¹.

6) Optional threshold for motion.
If a threshold friction velocity \(u_{*t}\) applies, set segments with \(u_*\le u_{*t}\) to zero. Using the log-law link, define \[ U_t=\frac{u_{*t}}{\kappa}\,\ln\!\Big(\frac{z_{\text{ref}}}{z_0}\Big), \qquad Q_{\text{line}} \;\approx\; K \sum_i \max\!\big(U_i^{3}-U_t^{3},\,0\big)\,\Delta s_i . \]

Assumptions / tips - Use one \(z_{\text{ref}}\) along the polyline (above the roughness sublayer).
- If \(z_0\) varies strongly, treat \(K\) locally as \(K_i\).
- Choose \(d\) and \(C\) for the expected sand (dry, non-cohesive).
- Your \(\int U^3 ds\) metric is a proxy for the Bagnold driver: larger values indicate stronger transport potential along the drawn path.

Static Pressure \(p\) [Pa]
Velocity Components \(u_x, u_y\) [m/s]
Mass Flow Across the Polyline [kg/s]

Let \(\rho\) be density and \(\mathbf{n}(s)\) the unit normal of the polyline (pointing to the measured side).
The normal velocity is \(V_n(s) = u_x(s)\,n_x(s) + u_y(s)\,n_y(s)\).

Units sanity check

Report

The Report tool builds a polished PDF and a Word-friendly bundle from your current simulation. It uses an ROI (rectangular Region of Interest) plus user-picked POIs (Points of Interest) to drive stats, charts, and AI-assisted narrative.

πŸ› οΈ Workflow

  1. Run a simulation
    Ensure velocity/pressure fields are available.

  2. Open AI Analysis
    Click Report / AI Analysis. A new window opens showing the velocity map.

  3. Draw the ROI

    • Drag a rectangle over the area you want analyzed.
    • Click Confirm ROI.
  4. Pick POIs (points to sample)

    • Click on the plot to drop one or more POIs (they’re numbered).
    • Use Delete Last POI or Reset All POIs if needed.
    • Click Confirm Points of Interest.
  5. Name the POIs

    • A Name Zones window appears listing β€œPoint 1”, β€œPoint 2”, …
    • Rename them (e.g., Inlet Corner, Mixing Chamber, Outlet).
    • Click Submit.
  6. Save the PDF
    You’ll be prompted for a PDF filename. After saving, a bundle folder and an AI pack (.json) are created beside the PDF, and the folder is opened for you.

πŸ“‹ What the Report Includes

πŸ“¦ Outputs

Notes & Tips

Qi-Flow

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| > V_{\text{opt}} + \sigma\) β€” Red Too fast, aggressive flow
Stagnant Zone \(|V| < V_{\text{opt}} - \sigma\) < 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

Troubleshooting & FAQ

(To be filled)

πŸ‘₯ 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