Git Product home page Git Product logo

ddwfttw_vehicle's Introduction

ddwfttw_vehicle

Dead downwind faster than the wind vehicle simulation

This simulation is loosely based on the world-record-holding Blackbird vehicle. Four forces act on the vehicle:

  • Rotor thrust
  • Drag due to transmission (the wheels power the rotor)
  • Frame drag due to air flow over the vehicle
  • Rolling resistance

I could not find detailed specifications for the vehicle, so I had to estimate most of the parameters. Available information included the rotor diameter and airfoil. The rotor is definitely not completely optimized, but I did spend some time tweaking it to try to get a positive net force over the largest speed range I could.

The main simulation script is sim.py. Python with matplotlib and numpy are required to run it. Note that the code is not at all optimized, so it takes a long time to run. All the parameters are in the main part of sim.py if you would like to experiment.

The rotor model is based on blade element theory combined with momentum theory to iteratively calculate the correct induced flow through the disk. A validation case comparing with a rotor test from an old NACA report is included (validation_test.py, validation_ct.png, and validation_cp.png). The blade element momentum model is strictly not valid when the vehicle is moving less than the wind speed, but the accuracy increases as it gets close to that state. Due to this limitation, the simulation starts off with the vehicle moving at half the wind speed instead of at rest.

With a tail wind of 10 mph the simulated vehicle eventually reaches 26.5 mph, which is pretty close to the record of 27.7 mph. Of course, this could be easily improved in the simulation by reducing the sources of drag or removing simulated inefficiencies, but I wanted it to be as realistic as possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.