Aero-Mapping Setup Tutorial
The benefits of aero-mapping
bramble’s aero-mapping lets you visualise and predict vehicle performance across varying test conditions. It does this by interpolating between data points from your initial simulation sweep, giving you fast insights. Firstly lets go through how to set one up in bramble!
You start the aero-mapping process by running a set of initial simulations, such as a sweep of front and rear ride heights, and then using the outputs from this simulation (such as drag and downforce) to generate the aero-mapping.
Once you’ve generated the aero-map, you can:
Predict design performance (such as downforce at a given ride height)
Visualise how performance varies with different parameters
Generate Pareto plots to show trade-offs between different performance measures (like drag and downforce).
Optimise for a maximum or minimum performance measure.
Identify new designs and add them to an aero-map for testing.
Generating aero-maps
Step 1
The first stage in running an aero-map is defining the initial test conditions, also know as the ‘Design of Experiments’ or DoE. You can define the DoE in several ways, however, the recommended approach is an Optimised Latin Hypercube. This attempts to distribute tests equally throughout the design space. It can use fewer initial experiments to cover the design space than other approaches such as a Full Factorial, which becomes expensive as the number of parameters increases.
Additionally, you can generate Optimised Latin Hypercube maps directly from the Maps view in bramble
Begin by creating a new map as normal, but before adding any attitudes, press ‘Optimised Latin Hypercube’ from the available options.
Once you’ve done that, fill in minimum and maximum values for the parameters that you wish to adjust in the map. Leave parameters that are not changing empty.
Next enter an integer value for the Map Level Detail. This is used to control the total number of experiments, where total = MLD x Number of Parameters. 5 is a typical value, 10 will produce a dense DoE.
Now press ‘Generate Map’. After a few seconds the attitudes will appear. Generating larger aero-maps will take longer.
Step 2
Although bramble lets you edit the generated attitudes, they are usually suitable as-is. If needed, manually add more attitudes.
If a column is left blank, bramble automatically applies default values from your kinematic setup, so no need to fill them in unless you want to override those defaults. Although they should be constant across the map.
Once the attitudes are set as desired, save the map and create a run using the map as you would normally.
Running the simulations
Next, in the ‘Runs’ view, create a new CFD simulation by either selecting ‘New Run’ or ‘Create Child’ from a baseline. However, please ensure the appropriate Kinematic Setup is selected along with your newly created Map.
In the detailed view for this new run, you should find lifecycles for all the attitudes in the map. Before launching, ensure you have the correct CFD Setup configured.
Additionally, we recommend setting either ‘Modification’ or ‘New Attitude’ Check Templates in the Run Checks tab.
You can launch all the attitudes at once using the ‘Group Transitions’ ‘Launch’ button.
Generating the aero-map
Once your DoE simulations finish, head to the Mappings section to generate the aero-map.
But first, ensure you’ve saved a force table in the Results view. bramble uses this data to build the aero-map.
Firstly, begin by ensuring you have the correct Programme and Project selected, then click on ‘Mappings’ and then ‘New Mapping’
Next, give the aero-mapping a name, select the run(s) that you have just completed.
Once you’ve done that, select the parameters that have been altered for the map. Note: the list of parameters will be filtered to remove ‘constants’ (those that weren’t adjusted).
Select the Force Table settings that you wish to use for this aero-map, and finally the parameters you wish to generate mappings for.
Note, the more parameters you select, the longer bramble takes to generate the data.
View the aero-map
When you first open the aero-map, bramble displays a ‘calculating’ message as it processes the data. bramble will take a few minutes to generate the mappings or longer depending on how many performances were selected and how busy bramble’s workers are.
Once all the mapping have been generated, bramble gives you the option to view or delete the data. Click on ‘view’ to load the outputs. Then you will be presented with a table showing the DoE results along with a number of options for interrogating the aero-map.
Predicting a single point
The simplest operation is to predict the performance of a single design. Select the ‘Predict One Point’ button, and then in the window that opens, fill in the design parameters you wish to know the results for. Press ‘Predict and Add To Table’.
bramble displays the predicted performances and inserts them into the Mapping Table automatically.
Predicting a linear sweep
Similar to predicting a single point, you can also predict the performance for sweep of designs. Press ‘Predict Linear Sweep’ and enter a range of min/max parameters that you wish to sweep between.
For example, for a rear ride height sweep, we would put values of 0.025 for front ride height (i.e. keeping constant) and then 0.05 to 0.1 in the rear ride height boxes.
Enter then number of points you would like to predict and finally press ‘Calculate’. The window will close and after a short wait, the data will appear in the Mapping Table.
Optimise a performance
The ‘Optimise a Performance’ can be used to determine a minimum or maximum value of a specific performance and the design parameters that give this results.
Begin by selecting which performance you wish to optimise and whether you want a minimum or maximum value.
Then select the bounds of the parameters you wish to search with. This will default to the whole design space, but you can adjust these settings to search within a localised area.
Lastly, press ‘Calculate’. After a short moment, the optimised variable will appear in the Mapping Table.
Plot interpolated points
Step 1
Use ‘Plot Interpolated Points’ to generate a 2D contour plot showing how a performance varies when two parameters are altered.
Select the parameters you wish to have on the x-axis and y-axis of the plot. Then select the performance measure you wish to view and then set bounds.
From the ‘set bounds’ window, specify the range over which you would like view the results. These will default to the whole design space, but you adjust these to view a localised area.
The ‘Number of Points’ options can be used to control the refinement of the contour plot. The greater the number of points selected, the longer it will take to generate the contour. 50 x 50 is a good value.
For aero-maps of more than two parameters, you will also need to specify constant values for the remaining parameters.
Finally, press ‘Plot’ to load the contour plot.
Step 2
The contour plot will take a short moment to load, taking longer if you selected a larger number of grid points.
The contour plot will have a the x-axis and y-axis labelled, and a scalar bar for the performance metric will be displayed to the right.
Hovering your mouse over the contour will show the parameters and performance at that particular location.
Selecting the ‘Show Normalised Uncertainties’ will alter the contour plot to show the uncertainty values for this data. Essentially, this is measure of confidence in the predicted result.
You can use uncertainty to pinpoint where to refine the DoE with additional simulations.
Extending the aero-map
Step 1
Clicking on a design in the contour map will add that point to the mapping table. This can be used to keep a record of the interesting results.
It can also be used to pick out the designs that have a high uncertainty. Once picked it is possible to add the designs to the original Map and run the simulation. This will help improve the quality of the Aero-Map as a whole.
To add the design to your Map, select the ‘Choose Map’ option. This can be done for any of the predict/optimised designs.
In the window that appears select your original Map and then press ‘Add’.
Step 2
Once you load your Map in the Maps view, the interpolated points appear automatically.
The easiest way to run these additional attitudes is to go into the run where the map was initially completed. Press the run edit button in the top-left of the view, and then press ‘Save’ on the window that opens (no other changes needed).
This action will cause bramble to compare the attitudes currently in the run with those in the map. Any missing ones in run (i.e. the newly added designs) will be added and their lifecycles will appear.
These attitudes can be launched as normal.
Viewing a pareto plot
More often than not, it is desirable to understand how one performance varies with another. For example, how drag changes and drag is increased. This is done using a Pareto plot. To do this, select the Generate/Choose Pareto Plot button.
If you have not viewed the Pareto plots before you need to first press the ‘Generate Pareto Plot’ button. The button enters a pending state while bramble processes the data. This may take a few minutes depending on the number of performances in the aero-map. Once completed, a ‘Choose Pareto Plot’ button appears. Select this and in the window that opens choose the performance measures you wish to look at.
The resultant graph will show a scatter of points showing the range of two performances that can be achieved by altering the design parameters.
When generating the Pareto, the limits of the design parameters will be extended beyond the original DoE. Design points within the original limits appear as blue, and those outside appear as orange.
Hovering over a point will show the design parameters and click on it will add the design to the Mapping Table. From here, the design can be added to the original Map as previously.
Viewing a cloud plot
A cloud plot works much like a Pareto plot and must be generated the first time you open it. The key differences are that the plot is more densely populated with points and there are ‘sliders’ for selecting ranges for the design parameters.
Use this to understand where certain designs appear in the performance space. For example, if we wanted to see where high rake ride heights appear, we would select a range of low front rides and high rears.
Press ‘Filter’ to update the plot once you have selected your ranges.
The points that fall within the selected range appear as blue dots and those that are outside appear as grey.
As with the Pareto plot, hover your mouse over the design to view the performances and design parameters. Click on a point to add it to the Mapping Table.
Download CSV
You can download the Mapping Table at any point as a comma separated variable (CSV) file. This file can be loaded into Microsoft Excel or similar software.
When you download the CSV, it will include the original DoE results and any interpolated points that have been added to the Mapping Table.