This article provides a step-by-step tutorial for the flow simulation around a drone using rotating zones (the propeller) using the moving reference frame (MRF) modelling technique.
This tutorial teaches how to:
The typical SimScale workflow will be followed:
First of all, click the button below. It will copy the tutorial project containing the geometry into your Workbench.
The following picture demonstrates what should be visible after importing the tutorial project:
You can see that there are two geometries in the imported project. The first one is called Drone and the second one is called Volume Region. The drone model shows the body with its four propellers and a cylinder surrounding the region that will rotate:
An important optimization in the simulation is achieved by noticing that this model has two planes of symmetry. This means that we can get away with modelling only one-quarter of the geometry. This is performed in the creation of the bounding box, which covers the desired quarter as shown in the following picture:
A crucial aspect of the modelling is the creation of the cylinder for the rotating region. This cylinder should cover (with some margin) the faces that will be included in the rotation model. The one used in our case covers the drone propeller, and can be found by having a closer look at the Drone Parts geometry:
You can better visualize the internal faces by changing the render mode to translucent surfaces. Do this by using the top bar at the viewer.
In case you want to model your drone or any external rotating geometry for that matter, you should always follow the modelling convention outlined in this section: a flow region volume with the removed bodies and a cylinder around the rotating region.
You can also create the flow region using CAD mode, or in your CAD following the instructions on this page.
Topological entity sets are groups of faces so boundary conditions or other assignments can be done faster. Such entity sets are listed at the panel on the right side of the Workbench.
For example, the Volume Region geometry has a couple of pre-saved topological entity sets:
For the Volume Region geometry, please create a new topological entity set for the symmetry planes, following the steps below:
Now we can start with the simulation setup. Follow the steps presented in the picture below to create a new simulation for our geometry:
At this point, the analysis type selection widget appears:
Choose ‘Incompressible’ and click on ‘Create Simulation’. A new simulation tree will appear at the left panel and a pop-up with the global simulation settings, which we will leave at the default values.
To define and assign a material, click the ‘+’ button next to Materials. Doing so, the SimScale material library will pop up. Select Air from the materials library and click Apply:
The material properties window will appear. Assign the Flow Region volume and accept the selection with the check-mark button.
Please note that only the flow region receives a material definition -the Rotating Zone volume remains without an assignment.
Now we will define the boundary conditions. To create a boundary condition, follow the steps shown in the picture below:
Now apply this process for the following boundary conditions:
For the drone faces, a no-slip wall condition is used.
Create a new boundary condition by following the instructions in figure 12 and selecting ‘Wall’. Now select the Drone topological entity set to assign it to the boundary condition. You can also rename the boundary condition to ‘Drone’.
Leave all parameters as default, as shown in the picture:
For the symmetry planes, a ‘Symmetry’ boundary condition is used.
Create it according to the steps presented in figure 12. Once the setup panel pops up, select the Symmetry entity set that was created before for the assignment.
The setup should look as shown in the picture:
For the faces open to the atmosphere, a custom boundary condition will be used. Follow the same procedure as before to create a custom boundary condition.
To specify the rotating propeller in our model, a moving reference frame (MRF) rotating zone is employed. The following picture shows how to create it:
In the pop-up window, assign the Rotating Zone volume and set up the parameters as shown in the picture:
You can read more on the topic of MRF rotating zones at the corresponding documentation page:
For the numeric solver parameters, one parameter will be changed: The Number of non-orthogonal correctors. This will allow the solver to achieve a better solution for the tetrahedral mesh created by the SimScale standard mesher algorithm:
The Simulation control parameters are left as default.
For the mesh setup, all settings are left as default, as we will make use of the SimScale standard mesh algorithm. You do not need to click Generate either, as the mesh will be computed as part of the simulation run:
Did you know?
It’s necessary to define cell zones in the mesh whenever we want to apply a specific property, such as a rotating motion, to a subset of cells. The standard mesher algorithm automatically creates the necessary cell zones whenever Physics-based meshing is enabled. Since we are using physics-based meshing in this tutorial, the algorithm will take care of the cell zone definition. If you are using a different mesher, you can learn alternative ways to define a cell zone on the rotating zones documentation page.
Now that the simulation setup is complete, a new simulation run can be created to perform the computation. To do so, click the ‘+’ button next to Simulation Runs at the left panel. In the pop-up window, give a proper name to the run and click ‘Start’:
This computation takes around 30-40 minutes to be completed. If you can’t wait to see the results, at the end of the article you will find a link to the completed version of the project.
After the simulation is finished, access the post-processor by clicking the ‘Post-process results’ button or ‘Solution Fields’ under your run.
One of the most important things to observe in the drone is the pressure distribution on the surfaces of the drone. Follow the steps below to show pressure on the surfaces of the drone:
As you can see from Figure 25, the highest pressures are on the bottom of the blades, which is due to the air pushed down by the propellers. Since the upper part of the blades experiences low-pressure levels, this generates a lift force, countering gravity.
We will continue showing the airflow through the propellers of the drone by using streamlines. See the steps below to create them:
Next, configure the streamlines so that they are more representative. Change the #Seeds horizontally and #Seeds vertically to ’40’, so that there are 40 origin points vertically and horizontally. Change the Spacing and Sizing to ‘1e-3’ and ‘2.5e-4’, respectively.
To observe only the streamlines downstream from the drone, you can disable Trace both directions. Furthermore, adjust the upper bound of Velocity Magnitude to ’25’ \(m/s\) to make the visualization more representative.
After creating the traces, it is possible to animate them with an ‘Animation’ filter:
The resulting animation looks like the video below:
From the animation above, it can be seen that the flow velocity accelerates when going through the drone and creates a swirl due to the rotating movement of the propellers.
To better comprehend the velocity contours around the blades, create a cutting plane by following the steps below:
From Figure 29, we can see that the velocity is higher within the propeller rotating zone. Air being pushed towards the propeller center can also be observed as a result of pressure difference and it moves in rotation according to the movement of the propellers.
You can analyze your results further with the SimScale post-processor. Have a look at our post-processing guide to learn how to use the post-processor.
Congratulations! You finished the drone with a rotating zone tutorial!
Last updated: January 10th, 2022
We appreciate and value your feedback.