UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
デザイン · SKILL.md

phi-flow

phi-flow

Routes PhiFlow simulation, geometry, optimization, and visualization workflows through focused sub-skills.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: phi-flow description: "Routes PhiFlow simulation, geometry, optimization, and visualization workflows through focused sub-skills." disable-model-invocation: true metadata: disco-role: operating license: MIT

PhiFlow

PhiFlow is a differentiable simulation toolkit for physics, geometry, fields, scene I/O, visualization, and gradient-based optimization.

Use this root skill as a router, not as a manual. Start with the sub-skill that matches the user's task, and only read deeper references when the task needs the verified API details, safe scripts, or troubleshooting notes.

Start here

Install and smoke check

For a local PhiFlow checkout, install the package in that environment with:

python -m pip install -e .

Then run the bundled smoke helper from this skill tree:

python scripts/check_install.py --show-backends

If you only need the published package, pip install phiflow is the distribution name and phi is the import name.

phi.verify() is the canonical package smoke check. It confirms the minimal runtime setup and reports the Dash/Plotly status used by the web interface.

What this root skill covers

PhiFlow's public surface is split across a few distinct workflows:

  • phi.field and phi.geom for grid, field, geometry, mesh, SDF, and scene handling.
  • phi.physics for advection, diffusion, incompressible projection, waves, FLIP/PIC coupling, and SPH helpers.
  • phi.math and the backend integrations for gradients, Jacobians, solves, and JIT-compiled differentiable workflows.
  • phi.vis for plotting, display, scalar log loading, and runtime controls.

Common entry points

  • from phi.flow import * for the common simulation/geometry names.
  • from phi.physics import advect, diffuse, fluid, wave, sph for direct PDE work.
  • import phi.vis as vis for plotting and UI workflows.
  • from phi.field import Scene for scene-backed data round-trips.

Read this before staleness checks

If the current checkout looks different from the version this skill was built from, read references/repo-provenance.md before reusing the skill or refreshing it.

Runtime files

保存したスキル