Week 4 Challenge : CFD Meshing for BMW car
Aim:
For the given model, check and solve all geometrical errors on half portion and assign appropriate PIDs. Perform meshing with the given Target length and element Quality criteria. After meshing the half model, Do symmetry to the other side.
Objective:
- Target lengths for the different parts of a model are as follow:
- Body - 3 mm
- Lights - 4 mm
- Grills - 1 mm
- Rims and Tyres - 2 mm
- Optical Rear view mirror - 2 mm
- Window - 2 mm
- Silencer - 3 mm
- Logo - 1 mm
Model: BMW M6

Procedure:
Topo/geometry clean-up:
- Upload the ANSA file onto screen to perform topo/clean and meshing on the later stages.
- Go to mesh and choose length and enter 1 mm under perimeters to smoothen the sharp curves of the car and give it a fine look.

- Since the car is symmetric from the middle to any end, we can delete one-side of the car and perform the necessary operations on the car and use symmetry option to produce the complete car.


- We can now start with the topo clean-up by removing the single and unnecessary triple cons. First click on topo and box select the entire to identify or join any unjointed single cons or triple cons so that we can identify the required clean-up accordingly.
Front grill area:
- Begin with the front grill area and the headlights, delete all the extra parts to have a single volume throughout the car.
- Now to remove the single and triple cons and to maintain single volume, we need to have double cons everywhere, to do this we need to performs few cuts and re-surfacing of parts to maintain a single volume.

- After performing the cuts and removing the extra triple cons surfaces by using delete option and other tools, we can now create surfaces and maintain a single volume.



Windows, rear lights, roof region and logo:
- Delete the triple cons or extra surfaces to remove the triple cons, these double surfaces are not necessary since we need to have a single volume.
- Do the same for windows, rear lights and roof area where extra internal parts are present which is of no use to create surface or volumetric mesh.
- The logo of the car is under a sinlge surface, therefore using project cons, create a separate surface and delete the extra surfaces to maintain a single volume.



Design feature and mirror:
- Perform topo and identify the triple and single cons, and delete the extra unwanted surface to maintain a common volume.

- Use the intersect option to identify the triple cons at the intersection area and delete the smaller surfaces individually.
- Extend the single cons on the adjacent surface to create triple cons and delete the unwanted surfaces by doing that.
- Delete and re-create surfaces accordingly to have a smooth and perfect shape at tight corners. Also, uncut the lines which are necessary which might cause trouble during meshing.

- Isolate the mirror and perform topo clean-up, hide the surfaces blocking the triple

- Delete the extra surfaces and create a single volume, also at the car and mirror connection region perform extend on the car surface and create a single volume by deleting the extra surfaces.

Wheel and Base region:
- Isolate the wheels to perform geometry clean-up, to rectify the triple cons, hide the surface blocking the view and delete the overlapping surfaces causing triple cons.

- Create larger surfaces after deleting smaller surfaces which are parallel to each other.

- The base of the car is intersecting with the tire, therefore we need to delete the excess surface and also delete the extra design surfaces which cause smaller edges, this causes problems while creating mesh. Therefore we need to clean the entire base and create new surfaces accordingly having smooth edges.

- After making the surface changes, we need to check if the base surfaces have no intersection with the tire region.

-
After checking and performing topo-cleanup for the entire half car model. We need to perform geometry checks to find small cracks are unchecked faces extra which is not good for the geometry, therefore we need to perform checks and clean the geometry accordingly.



-
Once the geometry is checked and has no errors, we can now assign names to different components using PID.

- After assigning the names, we now to choose the quality criteria method. Choose openFOAM solver next to volumetric mesh and choose the given quality criteria below.

- Using the measure tool we can calculate the smallest distance between to cons or hot points and depending on that, we can assign our minimum and maximum length accordingly in the mesh parameters, if we do not do this we can get failed mesh.

2. Surface Meshing
- We need to mesh the components individually since the given mesh targets are different for each PID regions.
- Assign the mesh parameters and quality parameters for each PID accordingly, assigning the correct min and max length will reduce mesh failure and off elements.
Logo and grill surface mesh:


Rims and tires, window and rear-view mirror surface mesh:





Lights:



Silencer:



Body:

Since body PID region is in contact with various other PID, the mesh length variation at the boundary region of 2 different PID cause the mesh to erase or cause mesh failure. Therefore, While entering the perimeters under length in mesh drop down. Select the regions which are not in contact with the other meshed PID regions. This helps in avoiding the mesh to be erased and can later be edited to erase the off elements.
Final mesh of the Car

Performing symmetry on the car model:
- Perform symmetry under transform option to create an exact same opposite body of the car to create a full body car.
- Use the copy option and select the half body car and deselect the logo since we don't need a copy of the logo.
- After choosing the model, middle click mouse, we get a window, choose symmetry and choose mirror 3 points plane and choose 3 points on the edge to be performed symmetry.
- After choosing 3 points, middle click twice and the symmetry is performed, click middle click again to confirm the geometry and complete the process.
- There will be few single cons present near the middle section, use paste or other tools to solve the problem.



Creating wind tunnel:
- First, we need to create reference points to create wind tunnel surfaces.
- Select relative under points in topo mode, create a point below the car taking one reference point and entering the correct values.

- And calculating the wind tunnel dimensions appropriately, we can create the wind tunnel accurately.
- The wind tunnel dimensions are: (standard distance of the tunnel w.r.t to car model)
- car model: 1306mm .................. (x)
- Front surface distance (from reference points): 5875mm .................. (4x)
- Back surface distance (from reference points): 8480mm .................. (6x)
- Top surface distance (from reference points): 4323mm .................. (3x)
- After creating the bottom surface use the curves for having the reference of cons, we can delete all the hot points and curves.
- Create all the other wind tunnel surface using the new surface option.

Surface meshing of wind tunnel:
- We need to apply surface meshing depending the mesh length near the car and regions far away from it.
- Therefore we need to apply different mesh lengths at the bottom and top wind tunnel surfaces.
- We need to use spacing option to have a mesh length varying from the small mesh length size to larger mesh length.
- Surface meshing can be achieved by doing this accordingly.

Volumetric mesh of wind tunnel-car volume:
- Since we are interested only the volume between the car model and wind tunnel, we can delete other volumes of the car model which is not necessary.
- Since performing the volumetric mesh takes 2-3 days, volumetric mesh is not performed as given by the challenge question.


Conclusions:
- BMW car model is topo-cleaned and surface meshed appropriately.
- Wind tunnel is created and surface meshed with reference to the car model size.
- Different volumes of the car model are created since the silencer and tires are not connected to the car body.
- Single volume is created of the car body so that it can be avoided at one go when creating a volumetric mesh.
- Required physics tests can be performed on the wind tunnel volume model after volumetric meshing successfully.
Link to the ANSA model.
https://drive.google.com/file/d/1mOA5XmwBHfJDh0u5NRKc6BbjbC8m_y_H/view?usp=sharing