Is there a way to calculate the Drag coefficient from any given object?

Click For Summary
To calculate the drag coefficient for an airplane model in Unity, it's noted that computing drag in real-time for arbitrary shapes is highly complex. Instead, using predefined airplane models with stored aerodynamic characteristics can simplify the process, allowing focus on equations of motion rather than detailed aerodynamics. Resources like MATLAB examples from Stengel may provide useful insights, though the task is considered challenging for a high school project. Alternatives like the X-Plane simulator and Flightgear are suggested for more advanced simulations. Overall, estimating drag accurately requires a balance of predefined data and simplified modeling techniques.
BasNijhof
Messages
1
Reaction score
0
Hi guys, for my final high school project I want to create a simulation in Unity (A game engine) in which you should be able to make an airplane fly with extremely accurate physics. In the regular formula for Drag is: Fd = 1/2 * ρ * v^2 * Cd * A. I can get all these things except the Drag coefficient. How could I possibly calculate or at least estimate the Drag coefficient with just an airplane model in Unity?
 
Physics news on Phys.org
BasNijhof said:
Hi guys, for my final high school project I want to create a simulation in Unity (A game engine) in which you should be able to make an airplane fly with extremely accurate physics.
And you are only asking about drag, not lift?

This is a software that does what you want, but it's rather complex:
https://en.wikipedia.org/wiki/X-Plane_(simulator)#Flight_model
 
  • Like
Likes berkeman
Just to be clear, with high school you mean the dutch 'vwo' (secondary education) and not the dutch 'hogeschool' (university of applied sciences)?

Computing the drag in real time is practically impossible for arbitrary shapes and flying conditions... It is even very difficult to compute it in the first place. However, if you are working with predefined airplane models, you can store the known aerodynamic characteristics of such an airplane in arrays and matrices and work with only the equations of motion of the plane to determine its flight path and response, without solving the aerodynamics around the plane. For instance a 6dof model, which is the basis of many flight simulators. Is this what you are after? This is already very challenging for a high school student in my opinion.
Some examples in MATLAB are given by Stengel, who also happens to have written a book about it. Here is some free information from one of his lectures:
http://www.stengel.mycpanel.princeton.edu/MAE331.html
http://www.stengel.mycpanel.princeton.edu/MAE331Lectures.html

Hope this helps...
 
  • Like
Likes Leo Liu and berkeman
For simple comparison, I think the same thought process can be followed as a block slides down a hill, - for block down hill, simple starting PE of mgh to final max KE 0.5mv^2 - comparing PE1 to max KE2 would result in finding the work friction did through the process. efficiency is just 100*KE2/PE1. If a mousetrap car travels along a flat surface, a starting PE of 0.5 k th^2 can be measured and maximum velocity of the car can also be measured. If energy efficiency is defined by...

Similar threads

Replies
3
Views
8K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
7K
  • · Replies 8 ·
Replies
8
Views
5K
Replies
14
Views
8K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K