Go Back  PPRuNe Forums > Non-Airline Forums > Private Flying
Reload this Page >

Computer simulation - flight physics

Private Flying LAA/BMAA/BGA/BPA The sheer pleasure of flight.

Computer simulation - flight physics

Old 24th Feb 2013, 17:44
  #1 (permalink)  
Pompey till I die
Thread Starter
 
Join Date: Nov 2006
Location: Guildford
Age: 51
Posts: 779
Likes: 0
Received 0 Likes on 0 Posts
Computer simulation - flight physics

Hello,

I'm working on some new software to simulate aircraft - light C172 types.

I've found this website that describes the lift equation:

Modern Lift Equation

I'm wondering about simulating stall though. This is when the air separates along the wing. How does this work? I'm presuming as the angle of attack starts to get to steep we modulate lift.

Anybody got any equations to share?

Also how does the nose drop work? A low air speed, means lift of wings is reduced which leads to nose drop. I am presuming that the COM is behind the wings so that when the lift is removed the rotation brings the nose down? Or am I way off here?
PompeyPaul is offline  
Old 24th Feb 2013, 17:52
  #2 (permalink)  
 
Join Date: Apr 2001
Location: Yorkshire
Posts: 1,040
Likes: 0
Received 0 Likes on 0 Posts
Is Genghis still contactable? He would be the best person to speak to.

J.
Julian is offline  
Old 24th Feb 2013, 17:53
  #3 (permalink)  
 
Join Date: Sep 2011
Location: Mare Imbrium
Posts: 638
Likes: 0
Received 0 Likes on 0 Posts
'Modern' Lift Equation? Has it changed then?
Heston is offline  
Old 24th Feb 2013, 18:00
  #4 (permalink)  
 
Join Date: Mar 2011
Location: Liverpool / Bristol
Age: 32
Posts: 16
Likes: 0
Received 0 Likes on 0 Posts
Most simulators fit into 2 categories. They are either a 'virtual wind tunnel' sim like Xplane that constantly calculates lift, drag etc. based on the geometry of a model, or they use look up tables, like MSFS.

The former is basically using a simple form of computational flow dynamics to calculate all the parameters. The latter relies on a big data file that tells the simulator what happens at different conditions.

For example, if modelling the lift from a wing, you'd need a file with angle of attack arguments from -180 to 180 degrees, mach number arguments from 0 to however high it needs to be, and finally a list of Cl values corresponding to all of those angle of attack and mach numbers.

Using this, the sim can, for example, realise the wing is at an angle of attack of 21 degrees and a mach number of 0.3 and look up the Cl. Unfortunately this only gives a 2 dimensional idea of how the wing is performing, so the sim will also need a way of numerically solving the 3D effect of a wing (using something like lifting line theory and horseshoe vortices).

These tables need to be present for everything from Cl, Cd, Cm etc. to the planform and geometry of lifting surfaces and fuselage.

To answer the stall question, as the angle of attack in the sim is increased, the data table Cl value increases until the point of separation, at which point it rapidly decreases. The subsequent loss of lift means the aircraft is heavier than the lift that it's producing and falls.

Ideally, the centre of mass would be above the wing, reducing the weight/lift moment couple as much as possible. behind the wing is a very bad idea as both the lift and the mass will combine as a couple and cause the nose to pitch up, and depending on elevator authority, may be uncontrollable. This is why aircraft have published CoG limits.

Hope that kind of makes sense/answers some questions

.mic

Last edited by Mictheslik; 24th Feb 2013 at 18:01.
Mictheslik is offline  
Old 24th Feb 2013, 18:05
  #5 (permalink)  
 
Join Date: Feb 2007
Location: Amsterdam
Posts: 4,598
Likes: 0
Received 0 Likes on 0 Posts
What I think is missing is that Cl is not a constant, but a complex curve depending on AoA. When the AoA becomes too large, Cl will reduce quickly and that means lift is lost.

The article already hints at Cl not being a constant, or at least not a constant across the whole possible range of AoAs:

For thin airfoils, at small angles of attack, the lift coefficient is approximately two times pi (3.14159) times the angle of attack expressed in radians.
BackPacker is offline  
Old 24th Feb 2013, 18:29
  #6 (permalink)  
 
Join Date: Jan 2008
Location: London UK
Posts: 517
Likes: 0
Received 0 Likes on 0 Posts
Buy (or borrow):
Theory of Wing Sections
by Abbot and von Doenhoff.

It has CL and CD vs AoA graphs for many aerofoils, including the NACA 2412 used in the C172 (IIRC). You could fit curves to the data.

It also includes some simple corrections, eg:
For the 2D-3D correction, CL_finite_wing = A/(A+2) x CL_wind_tunnel
where A is the aspect ratio.

It also has some "challenging" maths, if you are up to it.

Happy reading!
24Carrot is offline  
Old 24th Feb 2013, 20:52
  #7 (permalink)  
 
Join Date: Oct 2007
Location: Moray,Scotland,U.K.
Posts: 1,775
Received 5 Likes on 5 Posts
Also how does the nose drop work?
So far nobody's mentioned the tailplane. C of G forward of wing C of L, and tailplane producing a downforce.
Maoraigh1 is offline  
Old 24th Feb 2013, 21:27
  #8 (permalink)  
 
Join Date: Jan 2008
Location: London UK
Posts: 517
Likes: 0
Received 0 Likes on 0 Posts
So far nobody's mentioned the tailplane.
Good point.

The book I mentioned also has pitch-coefficients vs AoA. The (typically nose down) pitching moment of the wing needs to be balanced by a tail-plane downforce, or some "standard" CoG position, in addition to any movable CoG issues.

But this down-force has to be balanced by extra lift at the wing, at high AoAs this leads to a lot of extra induced drag, and so it all goes on....

An aeroplane is a lot more than a wing.
24Carrot is offline  
Old 24th Feb 2013, 21:44
  #9 (permalink)  
 
Join Date: Sep 2011
Location: The Wild West (UK)
Age: 45
Posts: 1,151
Received 6 Likes on 3 Posts
'Modern' Lift Equation? Has it changed then?

The website does discuss the difference between old and new equations of lift.

Seriously [Pompeypaul], is your software project part of a student project, flight simulator, or project such as a video game involving aircraft where fidelity isn't particularly important?

Lots of clever people have worked very hard on computational fluid dynamics for simulating new aircraft designs, or on flight simulators for fun or serious training. It's a field where it's hard to contribute anything new, and meaning no disrespect it sounds as if you're starting from the beginning.

Look up 'blade element analysis' if you haven't already.
abgd is offline  
Old 25th Feb 2013, 09:23
  #10 (permalink)  
 
Join Date: Dec 2012
Location: London
Posts: 7
Likes: 0
Received 0 Likes on 0 Posts
Look up the Navier-Stokes equations...
Navier

not for the faint hearted!
geekyflyer is offline  
Old 25th Feb 2013, 13:28
  #11 (permalink)  
 
Join Date: Jan 2008
Location: lancs.UK
Age: 77
Posts: 1,191
Likes: 0
Received 0 Likes on 0 Posts
[QUOTE][So far nobody's mentioned the tailplane. C of G forward of wing C of L, and tailplane producing a downforce./QUOTE]

Nor Dihedral, washout. change of aerofoil along length..........
cockney steve is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.