|
[Sponsors] |
|
March 5, 2024, 17:15 |
Car With Wheels Meshing
|
#1 |
New Member
Pugachev
Join Date: Oct 2021
Posts: 2
Rep Power: 0 |
I am trying to use snappy to mesh a car geometry with three bodies: the main body, front wheel, and back wheel. I am suppressing the unwanted bodies, saving as stl, and then copying each stl into constant/triSurface in the case directory. Snappy executes without errors, but the wheels are misplaced, even though they are correctly placed in solidworks in relation to the body of the car.
aligned.JPG misaligned.jpg |
|
March 6, 2024, 04:47 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,189
Rep Power: 27 |
Hello,
This is a matter of reference frame. STL files are just a list of point coordinates. In order to keep the correct positions, all objects must be exported in the same reference frame. When exporting your STL in Solidworks you should have an option to choose if you create the STL in the local or global reference frame. Not sure how it is named though as I don't have Solidworks, but you should probably find it in the documentation. Cheers, Yann |
|
March 7, 2024, 02:45 |
|
#3 |
Senior Member
M
Join Date: Dec 2017
Posts: 698
Rep Power: 12 |
When you click "Save As" in the dialog there is a button "Options..." which lets you adjust tolerance etc as well as the mentioned Output coordinate system as mentioned by Yann.
You can readily check the produced stls by loading them into Paraview and verify the correct placement. |
|
March 8, 2024, 17:54 |
|
#4 |
New Member
Pugachev
Join Date: Oct 2021
Posts: 2
Rep Power: 0 |
Thanks AtoHM, Yann
I created a new coordinate system and made sure to export as stl with that system. Another important note is to ensure that solidworks does not automatically translate the stl to a positive space. There is an option in the export options that should be checked. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Learning meshing for Car Park Ventilation | Mohaned Omar | FLUENT | 0 | December 22, 2021 05:38 |
[ANSYS Meshing] Structured Meshing for F1 car. | Shray24 | ANSYS Meshing & Geometry | 0 | May 3, 2020 14:28 |
Windtunnel Size Car Simulation | jhs | Main CFD Forum | 1 | April 5, 2020 07:41 |
[ANSYS Meshing] Meshing for Car Passenger Cabin | mjkey | ANSYS Meshing & Geometry | 5 | July 2, 2014 18:13 |
Boundary Conditions | Thomas P. Abraham | Main CFD Forum | 20 | July 7, 2013 06:05 |