Is it possible to simplify the drag equation for 3D programming purposes?

  • Thread starter Gibbon
  • Start date
  • Tags
    Drag
In summary, calculating drag for 3D objects is a complex process that involves knowing air density, object area, and the drag coefficient. However, some 3D engines, like Unity3D, allow for a simplified approach by allowing users to simply set the drag and angular drag properties without inputting these variables. This can be done by either calculating the correct numbers or through trial and error, depending on the desired level of realism in the simulation.
  • #1
Gibbon
23
0
Simplified drag equation??

Hi, I am a 3D programmer and I am trying to apply drag to some of my objects in my software.

After looking around and from previous research i know that calculating drag isn't such a simple thing to do and involves knowing air density, object area and the drag coefficient.

But, whilst research on the net i realized a well used 3D engine "unity3D" allows you to add a ridig body into the scene, give it some mass and then "simply" set its drag and angular drag properties without any inputs of air density, area or any coefficients?

So how could this be done?

Thanks
Andy
 
Physics news on Phys.org
  • #2


You just do it.
The drag coefficients are just numbers.
You can calculate the correct numbers from all the data you mentioned, or you can guess a figure, try it out, adjust it, and so on ... trial and error.
Most programmers are not as interested in making a realistic point-for-point physical simulation as they are in making a fun experience for the gamer.
 

FAQ: Is it possible to simplify the drag equation for 3D programming purposes?

What is the simplified drag equation?

The simplified drag equation is a mathematical formula that describes the relationship between an object's drag force, its velocity, its density, and its cross-sectional area. It is often used in fluid dynamics and aerodynamics to calculate the drag force on an object moving through a fluid.

How is the simplified drag equation derived?

The simplified drag equation is derived from the more complex Navier-Stokes equations, which describe the motion of fluids. By making certain assumptions, such as assuming the fluid is incompressible and the flow is steady, the equation can be simplified to its basic form.

What are the variables in the simplified drag equation?

The simplified drag equation has four variables: drag force (F), velocity (v), fluid density (ρ), and cross-sectional area (A). These variables are related by the formula F = ½ρv²A, where the ½ coefficient is included to account for the shape of the object.

How is the simplified drag equation used in real-world applications?

The simplified drag equation is used in a variety of real-world applications, such as designing aircraft and cars, predicting the motion of projectiles, and understanding the behavior of fluids in pipes and channels. It is also used in sports, such as cycling and skiing, to optimize performance.

What are the limitations of the simplified drag equation?

The simplified drag equation is based on several assumptions, which may not be accurate for all situations. For example, it assumes that the flow is steady and the object is moving at a constant velocity. It also does not take into account factors such as turbulence and surface roughness, which can affect drag. Additionally, it is only applicable to objects moving through a fluid, and cannot be used for objects moving through a gas or in a vacuum.

Similar threads

Back
Top