|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 10 ![]() |
I want to create a baffle on an internal face using createBafflesDict. To do this, I need to set this internal face as a boundary using topoSet. In topoSet, I want to use labelToFace to define the internal face as follows:
actions ( { name baffleFace; type faceSet; action new; source labelToFace; value (???); } ); In value, I need to input the face ID. Does anyone know how to get the face ID of an internal face? |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Carlos Rubio Abujas
Join Date: Jan 2018
Location: Spain
Posts: 131
Rep Power: 12 ![]() |
You may use paraview for identify the faces. Just extract the patch where you want to identify some IDs and then select then, rather by manual selection or spreadsheet view.
Just be aware that the ID used by paraview starts by 0, where OpenFOAM have another starting point. You can check the starting point of the patch in constant/polyMesh/boundary. Now you just have to add the startFace to the ID obtained by Paraview and use them in topoSet. |
|
|
|
|
|
![]() |
| Tags |
| face id, labeltoface, openfoam |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Seakeeping Solver:Crashed | akbarbagusd | Fidelity CFD | 0 | November 5, 2021 13:42 |
| [snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
| [mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
| [Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |
| gmsh2ToFoam | sarajags_89 | OpenFOAM | 0 | November 24, 2009 23:50 |