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

Boundary faces in topoSet

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 8 Post By clapointe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2019, 13:25
Default Boundary faces in topoSet
  #1
New Member
 
Anna
Join Date: Jun 2019
Posts: 2
Rep Power: 0
stempellek is on a distinguished road
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);
    }
  }

);
and now I want to convert this to patch usuing createPatch:
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.
stempellek is offline   Reply With Quote

Old   August 15, 2019, 19:33
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
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
    {
    }
}
clapointe 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
[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


All times are GMT -4. The time now is 23:00.