Skip to main content

OrcaSPH - SPH Fluid Simulator with OrcaLink Integration

Project description

OrcaSPH - SPH Fluid Simulator with OrcaLink Integration

OrcaSPH 是一个 Python 包,提供 SPHSimulator 可执行程序和相关的库文件,支持通过 pip install orca-sph 安装,使用 orcasph 命令运行。

OrcaSPH 基于 SPlisHSPlasH 流体仿真引擎,集成了 Orca 系统的两个核心功能模块:

  • OrcaLink:支持 SPH 仿真器与 OrcaLink 服务器的 gRPC 通信,实现流体对刚体的作用力传输和刚体位置/速度接收
  • ParticleRender:支持粒子数据通过 gRPC 实时传输到渲染服务

Orca 集成允许在分布式系统中运行 SPlisHSPlasH 模拟器,并与其他计算节点进行实时数据交换。

系统要求

  • Python:3.10+ (不再支持 3.8 和 3.9)
  • 操作系统:Linux (x86_64)
  • 系统库:已安装必要的系统库(libGL, libX11 等)

安装

从 PyPI 安装(推荐)

pip install orca-sph

安装后可以使用:

  • 命令行工具orcasph --help
  • Python 模块import orcasph_client

基本用法

启动仿真

orcasph --scene path/to/scene.json

常用选项

使用 orcasph --help 查看完整的命令行选项,包括:

  • --scene FILE:场景文件路径(必需)
  • --cpu RANGE:指定 CPU 核心范围
  • --threads N:指定 OpenMP 线程数
  • --config FILE:gRPC 配置文件路径
  • --gui:启用 GUI 模式运行

许可证

本包采用双许可证:

  • SPlisHSPlasH 核心代码:MIT License (Copyright © 2016 Jan Bender)
  • Orca 扩展:Proprietary License (Copyright © 2026 Songying Technology Inc.)

详细信息请参考 LICENSE 文件。

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

orca_sph-26.6.4-cp313-cp313-manylinux_2_35_x86_64.whl (53.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.35+ x86-64

orca_sph-26.6.4-cp312-cp312-manylinux_2_35_x86_64.whl (53.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.35+ x86-64

orca_sph-26.6.4-cp311-cp311-manylinux_2_35_x86_64.whl (53.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64

orca_sph-26.6.4-cp310-cp310-manylinux_2_35_x86_64.whl (53.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.35+ x86-64

File details

Details for the file orca_sph-26.6.4-cp313-cp313-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for orca_sph-26.6.4-cp313-cp313-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 d4db31124fabcd69d55f11ae9f827f5f08c8a3c5eaaf3322826df5d1f5c6ee0b
MD5 2a4074448583b413feba203a163c8162
BLAKE2b-256 c530105aad02bd3077b8682bdc6f66c55ceb9f2dcd5f22690eb6371c489e7def

See more details on using hashes here.

File details

Details for the file orca_sph-26.6.4-cp312-cp312-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for orca_sph-26.6.4-cp312-cp312-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 750d182d186630990a5b018fa0360407b92c3ac4f6851efc1a5ce96da27b5153
MD5 ddafa41903aad08a90619df8419ed2ba
BLAKE2b-256 88f765b5f990c1d015d6217ee283931f06fe74343b93860679c050d0cf239e15

See more details on using hashes here.

File details

Details for the file orca_sph-26.6.4-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for orca_sph-26.6.4-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 a3972e44671cdf25778ced9f9c175e3e68af8e71ffa7c91f6b0fe500b20dbc81
MD5 2f04047593a435caf6ee08a12e4aa6f9
BLAKE2b-256 009ba19f7ba1a39851582656ef8dfccdec9f2e8b4efb6c7818554e1a5b9c2a9f

See more details on using hashes here.

File details

Details for the file orca_sph-26.6.4-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for orca_sph-26.6.4-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 ff5ae61bd940fd5e65b788d2d0949a2c3f019da9eef40924bb8093887e312bc9
MD5 5e603d785aa4cf476389f9abe295d164
BLAKE2b-256 5d02bffe11008ddc0f2a4f77ccce1bdb4b00b6d0f43b2714a9ee8397091f3426

See more details on using hashes here.

Supported by

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