Compute the Lift to Drag Ratio

Create X–Y plots and sensors to display and calculate the lift and drag coefficients.

In this section, you first create the X–Y plots for the lift and drag forces, and then you create X–Y plots for the lift and drag coefficients. In addition, you create sensors to display the lift and drag coefficient values (at the last iteration of the simulation) to estimate the lift-to-drag ratio.

This task shows you how to:

Create an X–Y Plot from History Data

  1. Create an X–Y history plot for the drag force.
    1. From the 2D Plots section of the action bar, click XY Plot from History .
    2. Enter Drag Force as the name of the plot.
    3. From the Variable options, select Component 1 of force.
    4. Click Region and subregion selection editor next to the Support field.
    5. Select Forces - Moments(RM_1_DOM_1) as the support, and click OK.
    6. Accept all the remaining default settings, and click Apply.


  2. Add an X–Y history plot for the lift force on the drag force plot.    
    1. Enter Lift Force as the name of the plot.
    2. From the Variable options, select Component 3 of force.
    3. Click Region and subregion selection editor next to the Support field.
    4. Select Forces - Moments(RM_1_DOM_1) as the support, and click OK.
    5. Clear Deactivate existing curves from the current chart, and click OK.


  3. Close the XY Plots Viewer.

Create an X–Y Plot from Expression Data

  1. Create an X–Y plot for the drag coefficient.
    1. From the 2D Plots section of the action bar, click XY Plot from Expression .
    2. Enter Drag Coefficient as the name of the plot.
    3. From the XY Curves section, click Drag Force.
      This selection adds a string $xy1 in the Expression field. This string accounts for all the points on the Drag Force curve, and it allows you to compute and plot the drag coefficient for every iteration.
    4. In the Expression field, modify the string by entering -$xy1 *2 / (1.205kg/m**3 * (22.352m/s)**2 * 0.843m**2).

      The expression above replicates the calculation of the drag coefficient using the formula C ⁢ =   2 F A ρ v 2 , and it also takes the drag force direction into account. For more information, see the Problem Description.

    5. Accept all the remaining default settings, and click OK.


  2. Create an X–Y plot for the lift coefficient.    
    1. From the Plots section of the action bar, click XY Plot from Expression .
    2. Enter Lift Coefficient as the name of the plot.
    3. From the XY Curves section, click Lift Force.
      This selection adds a string $xy1 in the Expression field. This string accounts for all the points on the Lift Force curve, and it allows you to compute and plot the lift coefficient for every iteration.
    4. In the Expression field, modify the string by entering $xy1 *2 / (1.205kg/m**3 * (22.352m/s)**2 * 0.843m**2).

      The expression above replicates the calculation of the lift coefficient.

    5. Accept all the remaining default settings, and click OK.


  3. Optional: Plot the lift and drag coefficients curves separately within the viewer.    
    1. Right-click anywhere on the X–Y plot, and select Edit > Add Empty Chart.
    2. In the Physics Manager, expand Result > XY Plots, right-click Drag Coefficient, and select Activate.


Create Sensors for the Drag and Lift Coefficients

  1. Create a sensor to display the drag coefficient value computed for the last iteration.
    1. From the Explore Results section of the Assistant, click Sensor .
    2. From the Type options, select XY Curves.

      An X–Y curve-based sensor allows you to display data plotted in an existing X–Y plot.

    3. Name the sensor CD.
    4. From the Values section, select Drag Coefficient.
    5. From the Parameters section, select Last, and clear all other parameters.
    6. Click OK.
      A sensor is created in the Physics Manager. The sensor displays the drag coefficient value computed for the last iteration only. The drag coefficient computed for the drone is approximately 0.035.
  2. Create a sensor to display the lift coefficient value computed for the last iteration.    
    1. From the Explore Results section of the Assistant, click Sensor .
    2. From the Type options, select XY Curves.
    3. Name the sensor CL.
    4. From the Values section, select Lift Coefficient.
    5. From the Parameters section, select Last, and clear all other parameters.
    6. Click OK.
      A sensor is created in the Physics Manager. The sensor displays the lift coefficient value computed for the last iteration only. The lift coefficient computed for the drone is approximately 0.389.

Create a Parameter for the Lift-to-Drag Ratio

  1. From the Tools section of the action bar, click Formula .
  2. Expand the Parameters section.
  3. Beneath the parameters table, select Real from the options, and click to add it as a new parameter.

    Note: If the parameter is not visible in the options, you can enter Real in the field and click to add it as a new parameter.

  4. Click the Real.1 parameter, enter L/D ratio as the local name, and then click anywhere in the parameters table to close the window.
  5. In the L/D ratio row, click the vertical ellipsis , and click Edit formula .
    The Formula Editor dialog box appears.
  6. From the Dictionary options, select Parameters; and from the Members of Parameters options, select Real.
  7. From the Members of Real options, double-click `Result Of Steady State Analysis Case.1\CL\Last`.
  8. Enter / using your keyboard.
  9. From the Members of Real options, double-click `Result Of Steady State Analysis Case.1\CD\Last`.
    The formula reads as follows: `Result Of Steady State Analysis Case.1\CL\Last`/ `Result Of Steady State Analysis Case.1\CD\Last` . This is equivalent to the equation C L C D .
  10. Click OK.
    The lift-to-drag ratio of the drone is approximately 11.09. You can use this value to estimate the performance of your design at different flow conditions by plotting an aircraft performance curve.

Result: Congratulations! You successfully completed this example.