...
Expand | ||
---|---|---|
| ||
Figure 4.1: SimScale’s force plot. In this simulation, the Pressure force z was -6.7637 N and the Viscous force z was -11.0686 N. This means the full car would have a pressure drag of 13.5274 N and a viscous drag of 22.1372 N, for a total drag of 35.6646 N. |
Legacy Interface
To visualize the results, go to the navigation panel, go to the simulation run, and select Solution field. You might be asked if you would like to use the Legacy Interface or the new Beta Interface. In the Legacy interface, there will be a list of tools in the upper left and a geometry viewer on the right. These tools are called filters in ParaView and SimScale’s beta version is switching to that terminology so I’ll call them filters. There are also some other settings at the top of the geometry viewer, most notably the time frame settings (Black rewind, play, and fast-forward symbols). Most of the time, make sure you are analyzing the most recent time point in the simulation as this is likely the most accurate data available. Add a filter by finding the desired filter in the list and clicking the plus symbol on the right side of the label. This will bring up a panel, with settings specific to that filter. The 3 that I use most often are Cutting Planes, Isovolumes, and Particle Traces. After adding a filter, it can be found as a sub-item under the label. A filter’s visibility can be toggled by clicking the eye symbol to the left of it and can be removed by clicking the minus symbol to the right of it.
...
Learning all of these filters is beyond the scope of this guide and unnecessary for our team, so I will explain how to find the drag value and leave you to research or experiment with whatever else interests you. Since we only simulated half of the car, let’s add a Reflect filter. In the Properties panel, select X Min as the plane and click Apply. In the geometry viewer, you should see the full car now, not just half.
Next, add an Extract Surface filter, click Apply.
Add a Generate Surface Normals Filter, click Apply.
Now add a Calculator filter. In the Properties panel, you should see Result Array Name, a text bar with “Result” written by default, another text bar below that, and then a bunch of buttons with mathematical operations. You can change the Result Array Name to whatever you want to call your calculated quantity, I usually leave it as the default unless I’m using multiple calculations. In the empty text bar, this is where you enter the formula that you want calculated. Type “-p * Normals_Z” and click Apply. This multiplies the pressure value at each point on the car’s surface with the z component the normal vector at each point along the surface.
Now add an Integrate Variables filter and click Apply. This should bring up a panel with a table in it. Scroll until you find Result (or whatever you called the calculated value), record the value beneath it, keep scrolling until you find wallShearStress, and record the third value beneath that (the z component). The values in this table are values that have been integrated across the surface we that was extracted earlier. Integrating our the calculated result gives the pressure drag of the car, while integrating the wall shear stress gives the viscous drag. Add the magnitude of each together drag component to get the total drag.
Expand | ||
---|---|---|
| ||
Figure 4.10: After The results after adding all of the filters for the drag calculation, as can be seen in the Pipeline Browser. It should be noted that in the table on the right, I hid the The columns between Result and wallShearStress were hidden so that they were both visible in the image. By default they are separated by several other columns. Also don’t pay too much attention to these drag numbers, this simulation is likely not that accurateParaView is reporting a pressure drag of 14.1503 N and a viscous drag of 22.1323 N, for a total drag of 36.2826 N. This is about 1.73% higher than the drag calculated by SimScale. |
Once again, the same process could be used in the y direction to calculate the lift or downforce. I’ll end here and let you experiment with other visualizations, ParaView has filters for everything that SimScale has and more. Some of them require the internalMesh mesh region though.
...
Midnight Sun PDF Library: Always a useful place to go. There’s There are resources for many different aspects of vehicle engineering, with some that are specific to solar cars.
The Leading Edge: There’s a paper copy in the bay. Very helpful for understanding solar car aerodynamics, although it is focused on challenger class vehicles.
The Efficient Engineer: A YouTube channel focusing on explaining general engineering concepts with excellent animations. This is a good place to learn some fundamental fluid concepts.
braintruffle: An odd name but this is a newer YouTube channel that is creating a series of videos on the continuum approximation for fluids. They conceptually explain the assumptions and statistics used to simplify fluids from quantum mechanical entities to a continuum of field values. Future videos will look at discretizing the continuum for simulations.
Fluid Mechanics 101: A YouTube channel with detailed videos on specific topics in computational fluid dynamics. This is a great resource if you want to learn more about a specific topic, like a certain algorithm or turbulence model.
SimScale: There’s also several resources provided by SimScale. They have a wiki section and webinars for simulation theory, forums where people discuss issues they encountered during simulations, pretty good documentation to explain how to use their product, and you can also look at example projects to learn how other people handled certain simulation problems directly in SimScale.
LEAP Australia: A blog that has some useful articles. I mostly looked at their boundary layer articles.
CFD-Online: I haven’t looked through this site very thoroughly, but I did use it to learn about estimating initial conditions.