Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erickim27/freefall_air_resistance
Code that simulates a free fall movement with air resistance.
https://github.com/erickim27/freefall_air_resistance
cpp11 freefall physics-simulation
Last synced: about 1 month ago
JSON representation
Code that simulates a free fall movement with air resistance.
- Host: GitHub
- URL: https://github.com/erickim27/freefall_air_resistance
- Owner: EricKim27
- Created: 2024-03-22T13:15:42.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T09:04:41.000Z (about 2 months ago)
- Last Synced: 2024-10-12T16:02:08.404Z (about 1 month ago)
- Topics: cpp11, freefall, physics-simulation
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Free fall with air resistance
This is the code that simulates a free fall movement with air resistance.
It takes in height of the falling object, its terminal velocity, and its weight. after all the calculation is done, the time, height, and velocity gets written to the csv file with the name: ```Fall_m.csv```
To use it, make a build directory, and type in this command:
```
$ cmake
$ make
```
Then you can use it with the following syntax:
```
$ ./
```You can use the output file(in a csv format) to make an animation with the code inside the Animation folder by:
```
$ python Animaton\animate.py
$ Input csv file:
```