Loading...
Particleworks Europe
Python Tools

Particleworks Python Tools

Browser-based utilities for Particleworks CFD simulation workflows

Scene Converter

Downgrade scene JSON files from v8.2.x to v8.1.0 format. Removes deprecated keys, restores 8.1 defaults, cleans per-object properties.

Airflow Explorer

Upload velocity field data and visualize 25+ interactive plots: spatial structure, density, distributions, direction analysis, and uniform grid regridding.

Probe Regions

Drag-and-drop probe_regions.csv files, auto-detect regions, plot flowrate/volume/velocity/temperature with per-region direction controls and multi-group support.

Scene Compare

Upload up to 5 scene JSONs, compute a structured diff client-side, then get a detailed LLM-powered analysis of all differences via Llama 3.3 70B.

Scene Downgrade 8.2 → 8.1

Upload a Particleworks scene JSON (v8.2.x) and the backend worker will convert it to v8.1.0 format using the original Python script.

Drop .json scene file here or browse

What this converter does

  • Sets version string from 8.2.x to 8.1.0
  • Removes 25 keys introduced in 8.2 (deposition, LBM, FVM, MPFI, etc.)
  • Restores 3 keys with 8.1 defaults (air drag, restart interval, Smagorinsky)
  • Per-object and per-physicalProperty property cleanup
  • Trims animations2 list to simulation.initialDt only
  • Supports batch conversion and in-place overwrite
Airflow Velocity Explorer

Upload a velocity field file with columns: idx x y z vx vy vz
Tab, space, or comma separated. First column (index) is skipped.

Drop velocity file here or browse

Airflow Velocity Explorer
Spatial structure & velocity field
Point density analysis
Velocity distributions
Direction & angular analysis
Phase space & correlations
Regrid & export to uniform grid
or
Files
Drop probe_regions.csv here or browse
    Plot mode
    Observable
    Regions
    RegionDirlp
    Group IDs (rename inline)
    Parameters
    Font
    Ready — add probe_regions.csv files to begin

    Flowrate Computation via Probe Region

    = (nparticles / lprobe) × u × Vfluid

    where Vfluid = lparticle³  (particle size cubed)
    nparticlesnumber of particles in probe region
    lprobe [m]length/thickness of probe = thickness_dp × PS (at least 3-5 particle diameters)
    u [m/s]perpendicular average velocity of particles (in flow direction)
    Vfluid [m³]fluid volume per particle = PS³
    [m³/s]volumetric flow rate

    The region name suffix encodes direction and thickness: e.g. inner_flow-x-2 = velocity.x component, 2 particle diameters thick. Override via the Direction and l_probe fields.

    Flowrate formula — Particleworks Training slide

    Scene Comparator

    Upload 2-5 Particleworks scene JSONs — client-side diff + Llama 3.3 70B analysis of all differences.

    Drop 1-5 JSON scene files here or click to browse