How Do I Compute Li and Drag?: Comsol Blog Comsol Blog
How Do I Compute Li and Drag?: Comsol Blog Comsol Blog
How Do I Compute Li and Drag?: Comsol Blog Comsol Blog
In fluid flow simulations, it is often important to evaluate the forces that the fluid exerts onto the body — for example, lift
and drag forces on an airfoil or a car. Engineers can use these body forces to quantify the efficiency and aerodynamic
performance of designs. Today, we will discuss different ways to compute lift and drag in COMSOL Multiphysics.
converted by Web2PDFConvert.com
Schematic of lift and drag components when fluid flow passes a body.
There are two distinct contributors to lift and drag forces — pressure force and viscous force. The pressure force, often
referred to as pressure-gradient force, is the force due to the pressure difference across the surface. The viscous force is
the force due to friction that acts in the opposite direction of the flow. The magnitudes of pressure force and viscous
force can vary significantly, depending on the type of flow. The flow around a moving car, for instance, is often
dominated by the pressure force.
Simulation of airflow over an Ahmed body. The surface plot shows the pressure distribution, and the streamlines are
colored by the velocity magnitude. The arrow surface behind the Ahmed body shows the circulation in the wake zone.
There are several ways to compute drag depending on the physics. The most straightforward way is to integrate the total
stress — which includes contributions from the pressure force and the viscous force — in each direction. To do so, we
first need to define a surface integration operator under the Derived Values node, as illustrated below.
TIP: Alternatively, you can also use a boundary probe or integration operator in the component coupling to define
such integration. The difference is that the operations defined in the physics setting can be used during the
simulation — for example, drag force computed with a boundary probe as an objective or a constraint in an
converted by Web2PDFConvert.com
simulation — for example, drag force computed with a boundary probe as an objective or a constraint in an
optimization study.
Next, we can select the boundaries to perform the integration. In this example, we chose all of the boundaries on the
body. Drag in this model is in the y-direction. We can type in the expression: spf.T_stressy , which represents the total
stress in the y-direction.
To learn more about turbulence models in COMSOL Multiphysics, read our blog post “Which Turbulence Model
Should I Choose for My CFD Application?“.
converted by Web2PDFConvert.com
where is the tangential velocity at the wall. We can further rewrite as , where is the tangential
dimensionless velocity.
Without going into too many details on derivation, we can translate the previous equations into COMSOL variables. We
can integrate the local wall shear stress in the direction of drag (the y-direction) with the following expression:
spf.rho*spf.u_tau*spf.u_tangy/spf.uPlus . In this expression, spf.rho is the density of the fluid, spf.u_tangy is the velocity in
the y-direction at the wall, and spf.uPlus is the tangential dimensionless velocity.
The table below summarizes the expressions used to compute each force.
Fluid Flow Without Wall Function Turbulent Flow with Wall Function
Pressure Force spf.nymesh*p spf.nymesh*p
Viscous Force -spf.K_stressy spf.rho*spf.u_tau*spf.u_tangy/spf.uPlus
Total Force -spf.T_stressy spf.nymesh*p +
spf.rho*spf.u_tau*spf.u_tangy/spf.uPlus
Note: In this example, the drag force is in the y-direction. You may need to change the projection direction based
on the orientation of your model.
Simulation of flow passing a NACA 0012 airfoil at a 14-degree angle of attack. The surface plot shows the velocity
magnitude along with the streamlines (shown in black).
This example uses the SST turbulence model, which does not use the wall function. Therefore, we will use total stress to
compute lift. At a zero angle of attack, the lift is simply -spf.T_stressy . If the angle of attack is nonzero, we can project
the force onto the direction of the lift using the following expression:
spf.T_stressx*sin(alpha*pi/180)-spf.T_stressy*cos(alpha*pi/180) . Here, alpha represents the angle of attack in degrees.
Since we have already calculated the dimensional lift, we can simply normalize the lift by the dynamic pressure and the
chord length. With the dimensionless lift coefficient, we can compare our simulation results with experimental data (Ref.
1).
converted by Web2PDFConvert.com
Graph comparing simulation results and experimental data of the lift coefficient on a NACA 0012 airfoil at various angles
of attack.
As illustrated in the above graph, no discernible discrepancy between the computational and experimental results occurs
within the range of the angle of attack values used in this simulation. The experimental results continue toward a high
angle of attack regime where the airfoil stalls.
Concluding Remarks
In this blog post, we have explored ways to compute lift and drag on an Ahmed body and an NACA 0012 airfoil. We have
demonstrated how to compute pressure force and viscous force, while also examining the special case where a wall
function is used in the turbulence model.
Each of the approaches we have presented here are certainly not limited to these specific simulations. You can compute
the body forces on any boundaries or surfaces, thereby gaining insight into designs through multiphysics simulations.
With the Optimization Module, you can take this analysis one step further and optimize lift or drag.
References
1. C.L. Ladson, “Effects of Independent Variation of Mach and Reynolds Numbers on the Low-Speed Aerodynamic
Characteristics of the NACA 0012 Airfoil Section,” NASA TM 4074, 1988.
Categories
CFD Fluid
Post Tags
Technical Content
Newer Post
App: Evaluating the Design of an Ion Implanter
converted by Web2PDFConvert.com
Older Post
Sweet Dreams with Diffusion Acoustics
Comments
Abimbola Ashaju June 23, 2015 3:09 am
when integrating your total stress, what factor do you consider in choosing either of volume, surface or line integral
mohamed fahmi arfaoui mohamed fahmi arfaoui January 26, 2017 4:45 am
Comment fait une simulation du profil aérodynamique NACA 0012 avec angle d’attaque variable pour comsol 4.2
Password
Remember me LOG IN
Forgot password?
Don't have an account? Sign up now
Contact Sales
Attend a Webinar
Product Information
Products
Specification Chart
CAD Specification Chart
COMSOL Server FAQ (PDF)
License Options
System Requirements
converted by Web2PDFConvert.com
System Requirements
License Options
Release Highlights 5.3
Release History
Events
Web Workshops
Webinars
Training Courses
COMSOL Conference
COMSOL Days
Events Calendar
Community
COMSOL Blog
Discussion Forum
Application Exchange
COMSOL Access
Company
converted by Web2PDFConvert.com
Company
Contact Us
About
Press
Careers
Partners
Certified Consultants
North America
Login
Privacy Policy Trademarks
© 2017 by COMSOL Inc. All rights reserved
converted by Web2PDFConvert.com