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

Click For Summary

Discussion Overview

The discussion revolves around calculating or estimating the drag coefficient for an airplane model in a Unity simulation. Participants explore various methods and considerations related to drag in the context of flight simulation, including the complexities of real-time calculations and the use of predefined models.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant seeks to understand how to calculate or estimate the drag coefficient for an airplane model in Unity, emphasizing the need for accurate physics in their simulation.
  • Another participant questions whether the inquiry is solely about drag and suggests a complex software solution that may fulfill the requirements.
  • A third participant notes the difficulty of computing drag in real time for arbitrary shapes and suggests using predefined aerodynamic characteristics stored in arrays and matrices, referencing a 6dof model as a potential approach.
  • Additional suggestions include using existing flight simulation software like Flightgear, which is open-source, and recommending that the original poster seek further assistance on its forum.

Areas of Agreement / Disagreement

Participants express differing views on the feasibility of calculating drag in real time and the methods to approach the problem. There is no consensus on a single method or solution, and the discussion remains unresolved regarding the best approach to estimating the drag coefficient.

Contextual Notes

Limitations include the complexity of real-time drag calculations for arbitrary shapes, the reliance on predefined models, and the varying levels of difficulty associated with the proposed methods for a high school project.

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   Reactions: 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   Reactions: Leo Liu and berkeman

Similar threads

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