CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Selecting certain faces for rotating elements

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2023, 05:17
Default Selecting certain faces for rotating elements
  #1
New Member
 
Daniel
Join Date: Sep 2023
Posts: 5
Rep Power: 2
Danmeal is on a distinguished road
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?
Danmeal is offline   Reply With Quote

Old   November 3, 2023, 05:49
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,068
Rep Power: 26
Yann will become famous soon enough
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
Yann is offline   Reply With Quote

Old   November 3, 2023, 05:57
Default
  #3
New Member
 
Daniel
Join Date: Sep 2023
Posts: 5
Rep Power: 2
Danmeal is on a distinguished road
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?
Danmeal is offline   Reply With Quote

Old   November 3, 2023, 06:18
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,068
Rep Power: 26
Yann will become famous soon enough
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.
Yann is offline   Reply With Quote

Old   November 3, 2023, 09:35
Default
  #5
New Member
 
Daniel
Join Date: Sep 2023
Posts: 5
Rep Power: 2
Danmeal is on a distinguished road
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.
Danmeal is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 14:51.