This wing design was developed by the French Office National d'Etudes et de Recherches Aérospatiales, and this flow situation is a widely used validation for computational fluid dynamics because it combines a simple geometry with more challenging flow phenomena such as shocks and turbulent boundary layer separation.
In this project, you'll use Lumi Mesh Adaptation to generate an optimal mesh and run an external fluid flow simulation.
Let's Get Started
In Luminary open your Projects tab and click New Project. Browse to the Tutorial tab and click the "Onera M6: Mesh Generation" Sample Project to create a new Project where you will run this Tutorial.
This Project will already have the geometry loaded, and it has been migrated to the Setup environment. Simulation settings have already been applied as well, however mesh parameters have not.
Generate the Base Mesh
Lumi Mesh Adaptation needs a base mesh that it can adapt to your solution. Use the Minimal Count sizing strategy to quickly generate a coarse base mesh.
Select the Mesh section in the control panel.
In the properties panel, click on Lumi Mesh Adaptation.
Click Generate Minimal Mesh.
The base mesh should generate quickly. In the Geometry panel, expand the Surfaces section and hide surfaces BC_0 and BC_1. Then click Zoom to Fit at the bottom of the 3D Viewer. Now you can see the wing and inspect the mesh. This mesh will be very coarse, with mesh spacing inferred from the surface curvature.
Start Lumi Mesh Adaptation
Click on the Mesh section in the control panel. In the properties panel below, you'll notice your Minimal Mesh under Base Mesh Selection.
Set Max Mesh Size to 10 million CVs.
In the Mesh section of the control panel, click on Adaptation Boundary Layer and set the following:
Number of Layers: 30
Initial Size: 5e-6
Growth Rate: 1.2
Surfaces: Click in the box and select surfaces 3-12
Click Run Adaptive Simulation at the top of the control panel.
You'll be taken to the simulation tab for this run. In the Run Status window at the top-left of the 3D Viewer, you can monitor progress and see when remeshing operations are happening.
When the simulation is complete, the wing will be colored by absolute pressure and viewed as a solid surface by default. At the top of the 3D Viewer, switch the view to Surface with Edges to see the mesh. You’ll notice this mesh is much finer and the lambda shock structure is resolved on the upper wing surface.
Create an Isosurface
Create an isosurface to get a better view of shock surfaces on the wing:
Click the Zoom to Fit button at the bottom of the 3D Viewer to view the wing, then unhide surface BC_0 in the Geometry panel.
Click the Isosurface icon in the visualization toolbar.
In the properties panel, set the parameters as shown below, then click the check button:
Adjust your view to see the shock surfaces along the upper side of the wing.