Aerodynamic Coherence Analyzer · v3.1

THPFlow

Harmonic Pressure Coherence

The world's only aerodynamic analyzer based on Harmonic Coherence theory — a discovery formalized in the HSpace 3 framework (2025). Diagnose flow regimes, map THP collapse curves, and receive precision geometry prescriptions for any aerodynamic surface.

φ Golden Ratio Core
11 Industrial Presets
4 Flow Regimes
macOS + iOS Universal App
History changes when the tools change.
THP-Flow is built on the HSpace 3 framework — a theoretical discovery establishing that aerodynamic stability can be quantified through harmonic pressure coherence, indexed by the golden ratio φ = 1.6180339887.
HSpace 3 · 2025

Everything you need to
analyze and optimize flow.

01 · POINT ANALYSIS
Single-Point Flow Diagnosis
Enter Cₚ, velocity, air density and temperature. Instantly compute THP index, dynamic pressure, static pressure, flow condition and harmonic stability status. Smart Paste auto-fills all fields from clipboard text.
02 · Cₚ SWEEP
THP Collapse Curve
Run a full parametric sweep across any Cₚ range. Maps the complete THP decay curve, identifies the Rollover point (coherence onset) and Death Line (THP < 0.50) for any surface at any speed and altitude.
03 · GEOMETRY ADVISOR
Precision Prescriptions
Given any flow state, the engine prescribes up to 4 ranked geometry interventions — each with predicted THP gain, Cd delta, physical mechanism explanation, and step-by-step implementation guide.
04 · SMART PASTE
Universal Parameter Parser
Paste raw text from any source — CFD reports, research papers, lab notes, even natural language — and THP-Flow automatically extracts Cₚ, U, ρ, T and sweep parameters.
05 · DATA IMPORT
CSV / TSV Series Analysis
Import time-series data from wind tunnel loggers, CFD post-processors and DAQ systems. Auto-detects separators, headers, column mapping and density. Supports European comma-decimal format.
06 · EXPORT
Reports & Data Export
Copy full Geometry Advisor reports as formatted text. Export Cₚ sweep data as CSV with all computed columns. Share analysis results as structured Markdown — ready for email, Notion or CFD notes.

Four Flow Regimes

THP ≥ 0.85
Resonant-Laminar
Stable aerodynamic coherence. Pressure–velocity field harmonically aligned. No intervention required.
0.70 – 0.85
Transitional Drift
High-speed coherence present but early coherence loss detected. Monitor and consider preventive geometry tuning.
0.50 – 0.70
Turbulent Early
Coherence reduced. Early instability likely. Strong suction peaks accelerate harmonic decay. Intervention recommended.
THP < 0.50
Chaotic Flow
Harmonic collapse. Vortex burst imminent. Boundary layer separation onset. Immediate geometry redesign required.

How to use THP-Flow

01

Point Analysis — Single Surface

Navigate to the Analysis tab. Enter the pressure coefficient Cₚ of the surface (negative values indicate suction; e.g. -1.8 for a diffuser under load). Enter freestream velocity U in m/s, air density ρ in kg/m³, and temperature T in Kelvin. Tap Analyze Point.

// Example: F1 rear diffuser at race speed Cₚ = -2.35 U = 78 // m/s ρ = 1.190 // kg/m³ (hot track) T = 308.0 // K (35°C)
iOS + macOS
02

Smart Paste — Auto-fill from any text

Copy any text containing aerodynamic parameters to your clipboard, then tap Smart Paste. The parser recognizes dozens of formats and natural language. Works in both the Analysis and Cₚ Sweep tabs.

// Any of these formats work:
Cp = -1.8, U = 65 m/s, T = 308K, rho = 1.19
velocity: 65.0 m/s  |  pressure coefficient: -1.80
Cp Start = -2.0 / Cp End = -4.4 / Step = 0.1
Label: Starship Flap — Boostback Transonic
Smart Parser
03

Cₚ Sweep — Map the collapse curve

Go to the Cₚ Sweep tab. Define Cₚ Start, Cₚ End and Step to sweep through a range of pressure coefficients. The chart shows THP as a function of Cₚ, with colored regime bands, dashed threshold lines at 0.70 and 0.50, and vertical markers for the Rollover Cₚ and Death Line Cₚ. Use the Quick Presets for instant industry-standard configurations.

Collapse Curve
04

Geometry Advisor — Get prescriptions

Go to the Advisor tab. Enter the current Cₚ of the surface you want to improve. Optionally add surface context (e.g. "F1 floor edge", "Cybertruck rear diffuser"). Tap Analyze & Prescribe. The engine returns up to 4 ranked interventions with predicted THP gain, Cd delta, mechanism and implementation guide. Tap Preview target to send the target state to the Results panel.

AI Prescriptions
05

Import CSV / TSV time-series data

In the Analysis tab, tap the paste area or use drag & drop on macOS. THP-Flow accepts CSV, TSV, semicolon-separated and space-separated files. The parser auto-detects headers, separators and column mapping. Files with 2 columns are treated as pressure, velocity; files with 3+ columns assume time, pressure, velocity.

// Accepted CSV formats: pressure,velocity 101325,45.2 101280,46.1 // Also: time,pressure,velocity | semicolon | TAB
Data Import
06

Export results and reports

In the Results tab, tap Copy All to export all analyses as formatted Markdown. In the Geometry Advisor, tap Copy Report for a complete intervention report. In Cₚ Sweep, tap Export CSV to save the full sweep data with THP, dynamic pressure, flow condition and regime columns.

Export

11 Industrial Presets

Preset Category Cₚ Range U (m/s) Description
F1 Floor Cliff F1 −2.0 → −4.4 78 F1 floor-edge vortex — cliff collapse map
Front Wing F1 +0.5 → −3.0 65 F1 front wing — full Cₚ range including stagnation
Diffuser Exit F1 −1.0 → −4.0 55 F1 diffuser exit tunnel — low-speed coherence
Starship Flap Space −1.8 → −3.8 78 Starship flap — boostback transonic regime
Heat Shield Space −0.7 → −2.4 65 Starship heat shield — post-reentry thermal load
Cybertruck Rear EV −0.05 → −2.5 65 Tesla Cybertruck — rear diffuser at highway speed
NASA X-59 Wing Aviation −0.9 → −2.8 55 NASA X-59 quiet supersonic wing section
eVTOL Rotor Aviation −1.2 → −3.5 48 NASA eVTOL — rotor downwash interaction with wing
Starlink Dish Wind −0.5 → −2.2 42 Starlink V4 dish — 150 km/h storm loading
Adverse Gradient Wind +0.8 → −0.5 38 Adverse pressure gradient survey — separation onset
Transonic Survey Wind −0.5 → −2.5 105 Transonic diffuser exit — high-speed coherence window
New Release · Professional Tier
THPFlow PRO
For the pit wall. For the wind tunnel. For the track.

THP-Flow Pro brings real-time aerodynamic telemetry, CFD data import, and Race Engineer assistance to the most demanding professional environments — from Formula racing pit walls to academic wind tunnel facilities.

UDP
Live Telemetry
10Hz
Stream Rate
4-in-1
CFD · Wind Tunnel · Race · RE
iOS + macOS
Universal

Four new professional modules

01 · CFD IMPORT
Full CFD Data Pipeline
Import pressure distribution files directly from the most common CFD post-processors and export formats. THP-Flow Pro parses surface Cₚ arrays and computes THP across every point simultaneously.
  • OpenFOAM surface field export (.dat, .csv)
  • ANSYS Fluent wall data (ASCII)
  • Tecplot block format (.dat)
  • MATLAB aerodata export (.dat, .txt)
  • Auto-detects column format and separator
02 · Cₚ DISTRIBUTION
Spanwise Pressure Map
Visualize the full pressure distribution along any aerodynamic surface. Automatic detection of shock location, separation onset, and suction peak. Compare ideal vs measured Cₚ profiles.
  • Full x/c vs Cₚ chart with colored THP zones
  • Shock detection — automatic Cₚ gradient analysis
  • Separation point marker
  • Suction peak annotation
  • Side-by-side comparison of two profiles
03 · SPAN DISTRIBUTION
Wing Span THP Analysis
Map THP coherence across the full wingspan. Identify which spanwise stations are operating in each flow regime. Critical for detecting asymmetric separation, tip stall onset, and flap gap effects.
  • η (spanwise position) vs THP chart
  • Regime color banding per station
  • Root-to-tip THP gradient visualization
  • Compatible with NASA CRM, NACA datasets
  • Export chart as CSV per span station
04 · REALTIME UDP
Live Aerodynamic Telemetry
Receive real-time aerodynamic data from any DAQ system, ECU, wind tunnel controller or Python bridge via UDP. THP-Flow Pro computes and displays THP continuously at up to 100 Hz with session timecodes and lap markers.
  • UDP listener on configurable port (default 55155)
  • Auto-detects JSON and CSV packet formats
  • Animated gauge + sparkline + regime table
  • Session timecode T+ and source DAQ timecode
  • Lap / run counter from ECU field
  • Compatible with MoTeC, AiM, Pi, LabVIEW, Python
  • Works on iPad, iPhone, and Mac simultaneously
  • 300-sample rolling buffer (configurable)
05 · RACE ENGINEER MODE
AI-Assisted Pit Wall Assistant
The Race Engineer overlay monitors the live telemetry stream and automatically detects aerodynamic anomalies — then generates precise, ready-to-use radio messages for the engineer to relay to the driver. Fully compliant with FIA regulations (receive-only, no commands sent to car).
  • Auto-detects Regime Drop, Separation Risk, THP Degrading, Stable Flow
  • Generates radio message with lap, timecode, Cₚ and recommended action
  • One-tap Copy — engineer reads, decides, transmits
  • Severity levels: INFO · CAUTION · WARNING · CRITICAL
  • Full event log with expandable radio messages
  • Overlay on live monitor — data and RE visible simultaneously
  • Configurable thresholds and detection sensitivity
06 · CONNECTION GUIDE
One-Click Integration Setup
Built-in connection guide with ready-to-run code snippets for every common DAQ environment. IP address auto-detected from device network. Copy and run — no configuration needed.
  • Python snippet (socket UDP, JSON format)
  • MATLAB snippet (udpport, jsonencode)
  • CSV format (raw line, no dependencies)
  • ECU/Datalogger config guide (MoTeC, AiM, Pi)
  • IP:port auto-filled, one-tap copy
Technical Advantage
Computed in real time.
Zero latency. No model. No iteration.

THP is a closed-form equation — a single deterministic expression evaluated once per packet. There is no machine learning model, no lookup table, no iterative solver. The latency between a UDP packet arriving and the THP value appearing on the gauge is effectively zero — bounded only by the 60 Hz display refresh rate.

This means Race Engineer Mode detects aerodynamic events in the same data cycle they occur. If a car enters dirty air and Cp shifts from -0.83 to -1.40 in 200 ms, the "Regime Drop" event and its radio message appear on screen before a human engineer can read the raw number. Traditional telemetry systems deliver data — THP-Flow Pro delivers the interpretation.

~0 ms
THP Compute Latency
Closed-form equation — no iteration, no model inference
60 Hz
Display Refresh
Gauge, sparkline and event log updated every frame
100 Hz
Max Stream Rate
Accepts UDP streams up to 100 packets/second per source
200 ms
Event Detection Window
Regime drop detectable within 2 samples at 10 Hz
Real-world detection scenarios
-> Safety car restart — monitors THP recovery lap by lap as clean air is reestablished
-> Dirty air — detects coherence loss within 200 ms of entering another car wake
-> Tyre degradation — Cp shifts with ride height; aero degradation appears in THP before sector times
-> Wind tunnel sweeps — continuous THP readout across full AoA sweep with zero post-processing
-> CFD validation — compare simulation Cp profile THP against wind tunnel measurement in real time

THP-Flow vs THP-Flow Pro

Feature THP-Flow · $9.99 THP-Flow Pro
Single-point THP analysis
Cₚ Sweep — collapse curve
Smart Paste universal parser
CSV / TSV time-series import
Geometry Advisor (basic) ✓ Full
11 industrial presets
iOS + macOS universal
CFD file import (OpenFOAM, Fluent, Tecplot, MATLAB) ✓ NEW
Cₚ Distribution chart with shock detection ✓ NEW
Span Distribution — η vs THP across wingspan ✓ NEW
Realtime UDP telemetry (up to 100 Hz) ✓ NEW
Live THP gauge + sparkline + regime table ✓ NEW
Session timecode + DAQ timecode + lap counter ✓ NEW
Race Engineer Mode — auto event detection ✓ NEW
AI radio message generation (FIA compliant) ✓ NEW
Connection Guide with Python / MATLAB / CSV snippets ✓ NEW
ECU/Datalogger integration (MoTeC, AiM, Pi) ✓ NEW
iPad pit wall optimized layout ✓ NEW
New Platform
THP-Flow Pro is now included
inside THP-EV
The full aerodynamic coherence engine — every feature of THP-Flow Pro — runs inside THP-EV alongside the new battery coherence system. One app. Two domains. One pit wall.
AERO · PORT 55155
+
BATTERY · PORT 55156
LIVE · APP STORE

THP—EV

Harmonic Coherence · Formula E Edition

The world's only racing tool that measures aerodynamic and battery coherence simultaneously — in real time, on the same screen, from the same data stream.

Built for Formula E Gen3, F1 2026, and any electric racing series where the battery is the powertrain. THP-EV treats the battery not as a fuel tank to be emptied — but as a system with its own harmonic coherence, its own Grace State, its own way of degrading.

↓ Live on App Store What is THP?
AERO
0.83
Transitional Drift
BATTERY
0.91
Harmonically Optimal
HARVEST
0.95
Coherent
GRACE STATE
0.924 · Session #3
COHERENCE LOSS
–1.5%

What THP-EV does

DUAL LIVE MONITOR
Aero + Battery — Simultaneously
Three live gauges: Aero THP (port 55155), Battery THP (port 55156), and Harvest Coherence Index. All three computed in real time from separate UDP streams. One iPad on the pit wall covers everything.
GRACE STATE
The Battery's Personal Best
THP-EV learns the battery's highest stable coherence state — its Grace State — and tracks every session against it. Coherence Loss tells you not how much charge remains, but how much the battery has drifted from its own moment of excellence. Persisted per VIN across sessions.
ATTACK MODE ANALYZER
Elastic vs Erosive Events
Every Attack Mode activation is analyzed across a pre/nadir/post window. Recovery Ratio classifies each event: Elastic (battery fully recovers), Marginal (partial), or Erosive (permanent coherence loss). Attack History logs every event across the session.
HARVEST COHERENCE
Front/Rear MGU Balance Index
Formula E Gen3 has independent front and rear MGUs. THP-EV exposes harvest asymmetry as a first-class visible index — not buried as an internal calculation. Imbalanced regeneration appears as a dedicated gauge and triggers its own advisory channel.
F1 2026 READY
MGU-K · Boost Button · Energy MJ
F1 2026 tripled the MGU-K to 350 kW — making battery coherence a primary engineering concern for the first time. THP-EV speaks F1 2026 natively: ES_MJ, MGUK_PWR, BOOST_BTN. Connect via ATLAS ECU Bridge in under 2 minutes.
ROAD EV · OBD2
Any Electric Vehicle via Bluetooth
Connect an ELM327 Bluetooth OBD2 adapter to any electric vehicle — Ioniq 5/6, BMW i4/iX, Nissan Leaf, Renault Zoe, VW ID series. THP-EV reads live battery data and computes harmonic coherence without any computer or DAQ system.
SMART PASTE
ATLAS · MoTeC · Pi Toolbox
Copy any telemetry block from ATLAS ASCII export, MoTeC CSV, Pi Toolbox, or free text. THP-EV auto-detects the format and fills all fields instantly — zero integration required for point analysis.
SESSION HISTORY
Cross-Session Degradation Tracking
Every session is saved automatically. Compare Attack Mode recovery ratios across races. Export Markdown reports or CSV to share with engineering staff. Track coherence degradation across a full season — the data that tells you when to replace the pack.
INTEGRATION
2-Minute Setup for Any DAQ
Built-in Integration Guide with the thpev_bridge.py script — edit 3 lines, run. Works with ATLAS WebSocket, MoTeC UDP export, any DAQ that writes CSV, or direct UDP JSON. Optional session token for secure pit wall use.

Five electrochemical regimes

THP ≥ 0.90
Harmonically Optimal
Battery operating near its Grace State. Electrochemical and thermal behavior fully synchronized. Ideal window for high-demand events.
0.75 – 0.89
Stable Aging
Normal degradation trajectory. Coherence preserved. Attack Mode events likely elastic. Standard operation window.
0.60 – 0.74
Coherence Erosion
Early structural weakening. Attack Mode not recommended. Recovery from events may be incomplete. Monitor closely.
0.45 – 0.59
Pre-Failure Regime
Significant integrity loss. Predictive intervention required. High-current events will be erosive. Strategy review needed.
THP < 0.45
Critical Degradation
Harmonic collapse. Battery integrity at risk. Immediate power reduction required.
Pit Wall Mode
Full-screen race dashboard.
Three gauges. Live coherence map. Attack log.

One tap activates Pit Wall Mode — a full-screen dark layout optimized for the iPad on the pit wall table. Aero gauge, Battery gauge, and Harvest Coherence Index fill the top third. The Race Coherence Map shows the last 200 samples with Attack Mode zones highlighted in orange. Attack Mode log and Battery Advisor stack on the right.

What is Total Harmonic Power?

A single number that tells you how faithfully a physical system is still behaving like itself — compared to its own moment of excellence.

WHAT IT MEASURES
Coherence — not magnitude

Traditional telemetry asks: how much? — How much downforce. How much charge. How much pressure.

THP asks: how coherent? — Are the system's components still working in harmonic synchrony? Is the relationship between inputs and outputs still the same as when the system was at its best?

The answer is always a number between 0 and 1 — normalized by φ (the golden ratio), the same proportion that appears in optimal natural structures from fluid dynamics to crystallography.

WHY φ = 1.618
The Golden Ratio as normalizer

THP_raw is divided by φ before being clipped to [0,1]. This is not decorative — it means a THP of 1.0 represents a system that exceeds the "golden" coherence threshold, not merely maximum possible coherence.

Systems with THP ≥ 0.90 are operating above the φ-normalized ideal — their components are not just synchronized, they are synchronized in the proportions that nature selects for efficient, stable, self-reinforcing structures.

AERODYNAMIC THP
Field × Flow ÷ φ

For aerodynamics, coherence is the relationship between the pressure field (Cₚ, captured by the static structure of the flow) and the velocity field (dynamic pressure, momentum flux).

When these two fields are in phase — pressure gradients driving flow exactly as the geometry intends — THP is high. When turbulence, separation, or shock waves disrupt this synchrony, THP drops. The regime classification tells you precisely where on that spectrum the system sits.

BATTERY THP
Field × Flow × Harvest ÷ φ

For electrochemical systems, coherence is the relationship between the voltage field (structural integrity — thermal uniformity, voltage stability), the current flow (dynamic behavior — charge continuity, SOC trajectory), and harvest coherence (regeneration balance).

A battery degrading non-uniformly — hot cells, voltage sag, asymmetric regen — will show low THP before capacity measurements detect anything. Coherence degrades before capacity does.

Core Concept
Grace State — the system's
memory of its own excellence

Every system has a personal best — a moment early in its life when its components were new, synchronized, and operating at their most coherent. THP calls this the Grace State.

Grace State is not calculated from specifications. It is learned — observed from the first stable high-THP readings of the system's operational life, weighted toward early sessions when the system is closest to its designed state.

Coherence Loss measures the drift from that peak: not compared to a theoretical ideal, but compared to what this specific battery has already demonstrated it can achieve.

Healthy systems reconfigure and settle. Fragile systems reconfigure and never fully recover. This is the distinction THP-EV is designed to make visible — lap by lap, session by session, across a full season.

Same scale. Different physics.

THP VALUE
AERODYNAMIC MEANING
BATTERY MEANING
≥ 0.90
Resonant-Laminar flow. Attached boundary layer. Full downforce efficiency.
Harmonically Optimal. Near Grace State. Attack Mode safe.
0.75–0.89
Transitional Drift. Small pressure-velocity lag. Monitor separation risk.
Stable Aging. Normal degradation. Events likely elastic.
0.60–0.74
Turbulent Early. Vortex structures forming. Downforce loss measurable.
Coherence Erosion. Early structural weakening. Attack not recommended.
0.45–0.59
Chaotic Flow. Significant separation. Surface pressure field destabilized.
Pre-Failure Regime. Significant integrity loss. Intervention required.
< 0.45
Critical Fault. Harmonic collapse. Vortex burst imminent.
Critical Degradation. Electrochemical coherence collapse. High failure risk.
DIRECTION OVER STATE
Trajectory matters more than value

A THP of 0.72 that is improving tells a completely different story from a THP of 0.72 that has been falling for 15 laps. THP tracks both the state and the direction — Improving, Stable, or Erosive.

EARLY WARNING
Coherence fails before capacity

In both aerodynamics and batteries, harmonic coherence degrades before traditional measurements detect any problem. THP-EV sees the drift while the car is still performing — giving the engineer time to act.

ONE NUMBER
Complexity distilled

A race engineer on the pit wall has seconds to make decisions. THP compresses the entire state of a complex physical system — 20+ sensor channels, thermal maps, voltage curves — into a single coherence number that can be read at a glance.

"Capacity fades.
Coherence tells the deeper story."
THP-BATTERY MANUAL · v1.0

THP Platform Support

THP-Flow · THP-Flow Pro · THP-EV are developed and maintained by Musicamania Tecnologia. For questions, integration help, or bug reports, reach us directly.

CONTACT
Get in touch

Response within 24 hours on business days. Include your device, iOS version, and a brief description.

web@musicamania.com.br
REQUIREMENTS
System
iOS 17.0 or later
macOS 14.0 Sonoma or later
iPhone, iPad, Mac (Apple Silicon or Intel)
UDP integration: Wi-Fi network, same subnet
OBD2 (THP-EV): ELM327 Bluetooth 4.0+
Bridge script: Python 3.8+
VERSIONS
App Store
THP-Flow $9.99
THP-Flow Pro $49.99
THP-EV $69.99
All apps are universal (iOS + macOS).
One purchase covers all your devices.
Frequently Asked Questions
Do I need hardware to use THP-EV?

No. The built-in Demo mode simulates a full Formula E session including Attack Mode events. For real data, use the included thpev_bridge.py script with any DAQ system, or an ELM327 Bluetooth adapter for road EVs.

Does THP-EV include THP-Flow Pro?

Yes — the full aerodynamic coherence engine (THP-Flow Pro) is included inside THP-EV at no extra cost. CFD import, Cp Distribution, Span Distribution, Realtime aero UDP, and Race Engineer Mode are all available in the Aero Analysis tab.

Which DAQ systems are supported?

ATLAS (via WebSocket RTA stream), MoTeC i2 (UDP channel export), Pi Toolbox, any system that writes CSV, and direct UDP JSON. The bridge script handles format detection automatically. Setup time: under 2 minutes.

Which electric vehicles work with OBD2?

Hyundai Ioniq 5/6, Kia EV6/EV9, BMW i4/iX/i5, Nissan Leaf/Ariya, Renault Zoe/Megane E-Tech, VW ID.3/ID.4, and any OBD2-compliant EV. Requires an ELM327 Bluetooth 4.0 adapter (not included).

What is Grace State?

Grace State is the highest stable THP coherence your battery has demonstrated, learned from its earliest sessions. Coherence Loss tracks how much this specific pack has drifted from its own peak — not from a factory specification. It is stored per VIN and persists across sessions.

Is my telemetry data sent to any server?

No. All computation runs entirely on-device. No telemetry data, VIN, or session history is transmitted to any external server. THP-Flow and THP-EV have no analytics, no accounts, and no cloud dependency.

PRIVACY
No account required. No data collected. No network requests except the UDP stream you configure. All session history is stored locally on your device and can be deleted at any time from within the app.