Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmanuelmess/firstcollisiontimesteprarefiedgassimulator
This simulator computes all possible intersections for a very small timestep for a particle model
https://github.com/emmanuelmess/firstcollisiontimesteprarefiedgassimulator
cpp20 cuda simulator
Last synced: 11 days ago
JSON representation
This simulator computes all possible intersections for a very small timestep for a particle model
- Host: GitHub
- URL: https://github.com/emmanuelmess/firstcollisiontimesteprarefiedgassimulator
- Owner: EmmanuelMess
- Created: 2022-08-05T01:01:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T04:44:58.000Z (about 2 years ago)
- Last Synced: 2024-11-15T10:55:14.289Z (2 months ago)
- Topics: cpp20, cuda, simulator
- Language: Cuda
- Homepage:
- Size: 1.02 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# First-collision timestep rarefied gas simulator
This simulator computes all possible intersections, then checks which of those possible intersections is soonest to
occur, and does some checks, the simulator then runs for time for enough time for the collision to occur. Once the
intersection occurs, the whole process runs again.The idea is that CUDA allows this to go very fast, by computing a lot of data in parallel (all segments and
intersections), this method of simulation is very presice as intesections are computed analitically, not
in steps.## Architecture
The general arch is in [architecture.md](https://github.com/EmmanuelMess/FirstCollisionTimestepRarefiedGasSimulator/blob/master/architecture.md).
# Image
# Some refrences and thanks
* [Colliding balls](https://garethrees.org/2009/02/17/physics/): An explanation for the basic idea, but without much implementation info.
* [EasyBMP](https://github.com/izanbf1803/EasyBMP): EasyBMP is an easy to use library to generate BMP images with a simple structure to prototype any project with image generation requirement.
* [cuda-api-wrappers](https://github.com/eyalroz/cuda-api-wrappers): Thin, unified, C++-flavored wrappers for the CUDA APIs