Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411490 Posts in 69371 Topics- by 58428 Members - Latest Member: shelton786

April 25, 2024, 02:30:24 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Aerodynamics simplified
Pages: [1]
Print
Author Topic: Aerodynamics simplified  (Read 814 times)
diegzumillo
Level 10
*****


This avatar is so old I still have a some hair


View Profile WWW
« on: January 19, 2019, 12:57:22 PM »

Hiall

I already made in the past a super simple flight sim but now I want to revisit that project with a new mindset.

Here's the thing. Aerodynamics is complicated and a believable implementation flexible enough to handle all kinds of flying vehicles is computationally demanding. BUT, what if I want a believable implementation of a single flying vehicle? all I would really need is a set of curves that determine lift and drag for all possible angles and velocities.

This sounds too good to be true. Can anyone spot the mistake in my logic? would all this data take much more space than I think it will?

If that is that good and true, well, that sounds like the kind of thing that already exists somewhere, but I can't find anything like it, just simple plots from flying courses and stuff like that. If not I guess I could code a tunnel wind kind of thing and just calculate all the parameters for all the cases I want. Since this is a game I can fill in the blanks with lazy interpolations and extrapolations, as long as it feels real.

Appreciate any thoughts and comments!
Logged

diegzumillo
Level 10
*****


This avatar is so old I still have a some hair


View Profile WWW
« Reply #1 on: January 19, 2019, 01:08:44 PM »

First thing I noticed after I posted. A set of values for a full aircraft can't be of just lift and drag, but also torques. I can simplify that by having a table for parts (lift and drag are still vectors though), then make the vehicle out of parts and let the physics handle the natural torques.

It does seem more complicated than I thought.
Logged

diegzumillo
Level 10
*****


This avatar is so old I still have a some hair


View Profile WWW
« Reply #2 on: January 19, 2019, 01:52:26 PM »

I did a little estimation here and things look bad. There are 9 parameters (3 angles, 3 components of flow velocity u, density rho, mass m) and for each set we want a force and torque (6 numbers). Now it's a matter of finding a good number of interpolations of these parameters that make this lookup table feasible.
size of table: (N angles)^3 x (N u)^3 x (N rho) x (N m) x 6
It makes sense to get more details for the angles so N angles =50, and let's make the rest 10. Size of table = 75 billion numbers.  Facepalm

I need a different method.
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic