Jukgei / CFD_Taichi

A Computational Fluid Dynamics (CFD) simulation project implemented with Taichi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPH in Taichi

The aim of this project is to learn and comprehend the Smoothed-particle hydrodynamics (SPH) method and its classical variants. Five classical SPH solvers and one classical rigid-fluid coupling method are implemented in Taichi Lang [1]. Due to the aforementioned motivation, our objective is to make the code as understandable as possible. Therefore, we strive to align the code formulas with those mentioned in the research papers. As a result, we have limited the optimization of the code, which means that the simulator may not be as efficient as it could be.

Prerequisites

  • taichi
  • numpy
  • trimesh
  • ffmpeg
  • vulkan

Feature

Solver Single-phase Flow Rigid-Fluid Coupling [7]
WCSPH [2]
PBF [3]
PCISPH [4]
IISPH [5]
DFSPH [6]
  • Neighbor Searching based on grid
  • Simple rigid simulator

Usage

To be completed.

Acknowledgement

The implementation is largely inspired by SPlisHSPlasH and erizmr's SPH_Taichi.

Reference

  1. Taichi Lang
  2. WCSPH
  3. PBF
  4. PCISPH
  5. IISPH
  6. DFSPH
  7. Rigid-Fluid Coupling

About

A Computational Fluid Dynamics (CFD) simulation project implemented with Taichi.

License:MIT License


Languages

Language:Python 100.0%