Skip to main content

pylot-bem

Write side of the hydrodynamic database: meshing, in-process Capytaine solving, assembly, a command line and a standalone application.

Pylot is a pylot_db.Library — it adds meshing and solving to the same object, so a file written here opens as a plain Library on a machine with no BEM solver installed. That split is the point, and a test enforces it.

Build a library

import numpy as np
from pylot_bem import Pylot, SolveSettings

d = Pylot.create_new("tanker.pylot", "tanker.stl", "stern, centerline, keel",
                     is_xz_symmetric=True)

condition = d.create_condition(z_origin=-12.0, condition_id="design")
mesh      = d.create_mesh(condition, pct=2.0)
result    = d.run_solve(mesh, SolveSettings(
    omegas=[2 * np.pi / T for T in (12.0, 16.0, 20.0)],
    wave_directions=[0.0, 45.0, 90.0, 135.0, 180.0],
))

print(d.validate() or "clean")
d.close()

Reading one back is pylot-db, which this package depends on and which needs no solver.

The application

uv run pylot-app

The pylot application

A window for building and inspecting libraries: the tree, a 3D view in diffraction space, property panes, and tabs for Results, Databases, Inspect, Match and Validation. docs/manual.md walks through it screen by screen and assumes you already know Capytaine.

What is where

docs/manual.md The application, screen by screen
docs/api.md The reference: every public name, with its units
examples/ Five runnable scripts, smallest first
docs/README.md Where the specification lives and why it is not here

Licence

MIT. Copyright 2026 Ruben de Bruin / DAVE Lab.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylot_bem-2026.7.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylot_bem-2026.7.0-py3-none-any.whl (138.7 kB view details)

Uploaded Python 3

File details

Details for the file pylot_bem-2026.7.0.tar.gz.

File metadata

  • Download URL: pylot_bem-2026.7.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pylot_bem-2026.7.0.tar.gz
Algorithm Hash digest
SHA256 255a06ec062e913b93e7c2b8e21fe1b81e7eb1d4be4205eb81a98f0019e24f0b
MD5 dfe9db9554fcb4d888d0fbd6d60d553e
BLAKE2b-256 de05f61468fa3e0e07af99aa6b383db36e74868e5948bdc48ee29386ba0e585f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylot_bem-2026.7.0.tar.gz:

Publisher: publish.yml on dave-open/pylot-bem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylot_bem-2026.7.0-py3-none-any.whl.

File metadata

  • Download URL: pylot_bem-2026.7.0-py3-none-any.whl
  • Upload date:
  • Size: 138.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pylot_bem-2026.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c63f6f2b59713f96d7609a3a65025d6424dfd9d4d1f2aa0fd049ac394276c60
MD5 fc168f0527ea9cbbd3ecffda3fe9aa28
BLAKE2b-256 6ae482ef2b0885488c09cee9b802d8b3b00749327567f2e0b3dc9a682efe906b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylot_bem-2026.7.0-py3-none-any.whl:

Publisher: publish.yml on dave-open/pylot-bem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page