Create an X–Y Plot from History Data
-
Create an X–Y history plot for the drag force.
-
From the 2D Plots section of the action bar, click XY Plot from History
.
-
Enter Drag Force as the name of the plot.
-
From the Variable options, select Component 1
of force.
-
Click Region and subregion selection editor
next to the Support field.
-
Select Forces - Moments(RM_1_DOM_1) as the support, and
click OK.
-
Accept all the remaining default settings, and click
Apply.
-
Add an X–Y history plot for the lift force on the drag force plot.
-
Enter Lift Force as the name of the plot.
-
From the Variable options, select Component 3
of force.
-
Click Region and subregion selection editor
next to the Support field.
-
Select Forces - Moments(RM_1_DOM_1) as the support, and
click OK.
-
Clear Deactivate existing curves from the current chart,
and click OK.
-
Close the XY Plots Viewer.
Create an X–Y Plot from Expression Data
-
Create an X–Y plot for the drag coefficient.
-
From the 2D Plots section of the action bar, click XY Plot from Expression
.
-
Enter Drag Coefficient as the name of the plot.
-
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.
-
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
, and it also takes the drag force direction into account. For more
information, see the Problem Description.
-
Accept all the remaining default settings, and click
OK.
-
Create an X–Y plot for the lift coefficient.
-
From the Plots section of the action bar, click XY Plot from Expression
.
-
Enter Lift Coefficient as the name of the plot.
-
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.
-
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.
-
Accept all the remaining default settings, and click
OK.
- Optional:
Plot the lift and drag coefficients curves separately within the viewer.
-
Right-click anywhere on the X–Y plot, and select .
-
In the Physics
Manager, expand , right-click Drag Coefficient, and select
Activate.
Create Sensors for the Drag and Lift Coefficients
-
Create a sensor to display the drag coefficient value computed for the last
iteration.
-
From the Explore Results section of the Assistant, click Sensor
.
-
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.
-
Name the sensor CD.
-
From the Values section, select Drag
Coefficient.
-
From the Parameters section, select
Last, and clear all other parameters.
-
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.
-
Create a sensor to display the lift coefficient value computed for the last
iteration.
-
From the Explore Results section of the Assistant, click Sensor
.
-
From the Type options, select XY
Curves.
-
Name the sensor CL.
-
From the Values section, select Lift
Coefficient.
-
From the Parameters section, select
Last, and clear all other parameters.
-
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
-
From the Tools section of the action bar,
click Formula
.
-
Expand the Parameters section.
-
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.
-
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.
-
In the L/D ratio row, click the vertical ellipsis , and click Edit formula
.
The Formula Editor dialog box appears.
-
From the Dictionary options, select
Parameters; and from the Members of
Parameters options, select Real.
-
From the Members of Real options, double-click
`Result Of Steady State Analysis Case.1\CL\Last`.
-
Enter / using your keyboard.
-
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
.
-
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.
|