|
[Sponsors] |
Selecting certain faces for rotating elements |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Daniel
Join Date: Sep 2023
Posts: 6
Rep Power: 3 ![]() |
Hi,
Currently trying to set up a simulation for a car with rotating wheels. I've made my mesh with cfMesh, with 7 distinct patches - those being the external boundaries and the car itself. I'd like to apply rotating velocity patches to just the wheels as a starting step, however I'm unsure how to specifically choose the wheels to apply this patch to as they're part of the entire car patch itself. Does anyone know how to extract the wheels only to apply the rotating velocity to them? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,290
Rep Power: 30 ![]() ![]() |
Hello Daniel,
The easiest way would be to separate the wheels from the car from scratch before meshing so you can separate patches for the wheels and car body. If you cannot, the other solution is to use topoSet + createPatch to select wheels and create new patches, but this is a bit tedious to setup. Yann |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Daniel
Join Date: Sep 2023
Posts: 6
Rep Power: 3 ![]() |
Hi Yann,
How would the first option work more specifically? Would I split the wheels from the car and mesh them separately and combine them somehow? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,290
Rep Power: 30 ![]() ![]() |
I'm not very familiar with cfMesh, but don't you provide a single STL file containing your object and domain boundaries?
If this is right, then you would just need to define additional patches for the wheels in your STL file rather than having it as one single patch with the car. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Daniel
Join Date: Sep 2023
Posts: 6
Rep Power: 3 ![]() |
Yeah pretty much so I've made my geometry in AutoCAD and exported it as an STL file (without the domain boundaries). I then generate the domain and convert the STL file into an FMS file which cfMesh needs. Finally I use cfMesh's catesianMesh command where it actually meshes and sets the patches.
This is where I am stuck because when the mesh is made it defines the boundaries like xMax, xMin, etc, which are then renamed after to inlet/outlet/etc. I'm just unsure how to name the wheels specifically. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionTwoPhaseEulerFoam thermo package not available | Roham..Seif | OpenFOAM Running, Solving & CFD | 9 | April 10, 2024 10:36 |
[snappyHexMesh] snappyHexMesh does not detect highly skewed faces? | ptpacheco | OpenFOAM Meshing & Mesh Conversion | 1 | January 4, 2022 12:37 |
[Other] Mesh Importing Problem | cuteapathy | ANSYS Meshing & Geometry | 2 | June 24, 2017 05:29 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 14:49 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |