Smoothed particle hydrodynamics

버전 1.0 (6.94 MB) 작성자: Auralius Manurung
An implementation of the smoothed particle hydrodynamics based on the Philip Mocz's paper
다운로드 수: 317
업데이트 날짜: 2021/7/23

View Smoothed particle hydrodynamics on File Exchange

smoothed-particle-hydrodynamics

A MATLAB implementation of the smoothed particle hydrodynamics based on the Philip Mocz's paper, in both CPU and GPU.

By using a GPU, we can speed up the computation to about 10 times. Here, I am using the NVidia Tesla K20m. It is probably the cheapest Tesla card in second-hand markets. ;-) A normal GPU also works.

Please read Philip Mocz's paper here:
https://pmocz.github.io/manuscripts/pmocz_sph.pdf

Although the paper stated MATLAB implementation, I can only find the Python implementation in his Github repository:
https://github.com/pmocz/sph-python

These are some examples in this repository:

Example 1:
Free-falling Universitas Pertamina's logo
alt text

Example 2:
Free-falling particles arranged in a grid formation
alt text

Example 3:
More free-falling particles also arranged in a grid formation ;-)
alt text

Example 4:
Waaayy more free-falling particles also arranged in a grid formation ;-) ;-)
alt text

Additional notes:

SPHDemo2D_Ex2_NeighbourSearch_CPU.m uses a very simple neighbour search mechanism to reduce the execution time. We first sort all nodes based on their distances to the origin. Hence, the adjacent nodes are neighbours.

Contact:
manurunga@yadex.com

인용 양식

Auralius Manurung (2024). Smoothed particle hydrodynamics (https://github.com/auralius/smoothed-particle-hydrodynamics/releases/tag/1.0), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.