|
[Sponsors] |
August 1, 2019, 13:25 |
Boundary faces in topoSet
|
#1 |
New Member
Anna
Join Date: Jun 2019
Posts: 2
Rep Power: 0 |
Dear Foamers,
I'm new to this topic and I have big problem with define boundary in my model. I generated my mesh in Ansys and then I loaded it to OpenFoam using fluent3DMeshToFoam. Now I would like to define boundary faces using topoSet but I have problem with that. In photo I checked inlet in box wchich I wants to get. Could someone here help me ? https://imgur.com/a/dMTrSWZ Link to files https://drive.google.com/drive/folde...DA?usp=sharing I created a faceSet: Code:
actions ( { name inlet1; type faceSet; action new; source boxToFace; sourceInfo { box (0.015 0.005 0.02)(0.05 0.02 0.021); } } ); Code:
patches ( { name inlet; patchInfo { type patch; } constructFrom set; set inlet1; } ); But I get this error: Code:
--> FOAM FATAL ERROR: Face 21655 specified in set inlet1 is not an external face of the mesh. This application can only repatch existing boundary faces. Last edited by stempellek; August 2, 2019 at 14:02. |
|
August 15, 2019, 19:33 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 14 |
You get the error because a patch must be on the boundary of the mesh. Evidently the face set includes an internal face. You have a few options : you can tweak your bounds to make sure that only external/boundary faces are selected, or you can take a subset of the first set with boundaryFaces, like this :
Code:
{ name inlet1; type faceSet; action subset; source boundaryToFace; sourceInfo { } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Help with Snappy: no layers growing | GianF | OpenFOAM Meshing & Mesh Conversion | 2 | September 23, 2020 08:26 |
Wind turbine simulation | Saturn | CFX | 58 | July 3, 2020 01:13 |
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) | AndreP | STAR-CCM+ | 10 | August 2, 2018 07:48 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 03:21 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 14:49 |