CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] How to get rid of defaultFaces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2020, 01:25
Default How to get rid of defaultFaces
  #1
New Member
 
felipe ortega
Join Date: Sep 2019
Posts: 15
Rep Power: 6
flowwwww is on a distinguished road
Hello everyone,


I am working in the creation of a domain with blockMesh to simulate a problem. This domain is quite simple, but i have not could reach a good result due to the defaultFaces.
The domain that i am trying to obtain is the following.
Dominio.png
This domain must fit in my geometry.
Geometria.png
However, when i create the blockMeshDict file and obtain the result that i am looking for, between the boundarys , appears four defaultFaces that are located into the geometry, and when i try to mesh the geometry with snappyHexMEsh, the geometry get cut by the defaultFaces and dont let it be meshed.
defautlFaces.png
Can i get rid of the defayltFaces or disable them.


Code:
convertToMeters 1;

vertices
(
    (0 0.39 0)
    (0.16 0.39 0)
    (0.16 3.31 0)
    (0 3.31 0)
    (0 0.39 0.54)
    (0.16 0.39 0.54)
    (0.16 3.31 0.54)
    (0 3.31 0.54)//7

    (1.11 0.39 0)
    (1.11 3.31 0)
    (0.16 0.39 0.3)
    (1.11 0.39 0.3)
    (1.11 3.31 0.3)
    (0.16 3.31 0.3)//13

    (1.11 3.7 0)
    (0.16 3.7 0)
    (1.11 3.7 0.3)
    (0.16 3.7 0.3)//17

    (1.11 0.39 0.54)
    (1.11 3.31 0.54)//19
  
    (19.34 0.39 0)
    (19.34 3.31 0)
    (19.34 0.39 0.54)
    (19.34 3.31 0.54)//23

    (20.29 0.39 0)
    (20.29 3.31 0)
    (19.34 0.39 0.3)
    (20.29 0.39 0.3)
    (20.29 3.31 0.3)
    (19.34 3.31 0.3)//29

    (20.29 3.7 0)
    (19.34 3.7 0)
    (20.29 3.7 0.3)
    (19.34 3.7 0.3)//33

    (20.29 0.39 0.54)
    (20.29 3.31 0.54)//35

    (21.74 0.39 0)
    (21.74 3.31 0)
    (21.74 0.39 0.54)
    (21.74 3.31 0.54)//39
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (2 29 5) simpleGrading (1 1 1)
    hex (1 8 9 2 10 11 12 13) (10 29 3) simpleGrading (1 1 1) 
    hex (2 9 14 15 13 12 16 17) (10 4 3) simpleGrading (1 1 1)
    hex (10 11 12 13 5 18 19 6) (10 29 2) simpleGrading (1 1 1)
    hex (8 20 21 9 18 22 23 19) (182 29 5) simpleGrading (1 1 1)
    hex (20 24 25 21 26 27 28 29) (10 29 3) simpleGrading (1 1 1)
    hex (21 25 30 31 29 28 32 33) (10 4 3) simpleGrading (1 1 1)
    hex (26 27 28 29 22 34 35 23) (10 29 2) simpleGrading (1 1 1)
    hex (24 36 37 25 34 38 39 35) (14 29 5) simpleGrading (1 1 1)

);

edges
(
);

boundary
(
    box
    {
        type wall;
        faces
        (
            (0 1 4 5)
            (1 8 10 11)
            (10 11 5 18)
            (8 20 22 18)
            (20 24 26 27)
            (26 27 22 34)
            (24 36 38 34)//floor

            (0 1 2 3)
            (1 8 9 2)
            (2 9 14 15)
            (8 20 21 9)
            (20 24 25 21)
            (21 25 30 31)
            (24 36 37 25)//back

            (3 2 7 6)
            (14 15 16 17)
            (13 12 6 19)
            (9 21 23 19)
            (30 31 32 33)
            (29 28 23 35)
            (25 37 35 39)//top

            (2 15 13 17)
            (13 12 16 17)
            (12 16 14 9)//inlet1

            (21 31 33 29)
            (29 28 32 33)
            (25 30 32 28)//inlet2

             
            
            
        );
    }
    symmetry
    {
        type symmetryPlane;
        faces
        (
            (4 5 6 7)
            (5 18 19 6)
            (18 22 23 19)
            (22 34 35 23)
            (34 38 39 35)
        );
    }

    doorin
    {
        type patch;
        faces
        (
      (0 3 4 7)

        );
    }
    doorout
    {
        type patch;
        faces
        (
          (36 37 38 39)  
        );
    }

);

mergePatchPairs
flowwwww 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
[Gmsh] unwanted defaultFaces after exporting to foam 5.0 deepbandivadekar OpenFOAM Meshing & Mesh Conversion 8 July 3, 2018 16:37
[Commercial meshers] How to get rid of internal walls (surfaces)? bmikuz OpenFOAM Meshing & Mesh Conversion 17 December 5, 2013 15:24
How can I get rid of defaultFaces in o folder? AbbasRahimi OpenFOAM Pre-Processing 0 February 7, 2013 14:03
How to get rid of the defaultFaces, Courant number diverge. liguifan OpenFOAM Running, Solving & CFD 1 April 30, 2011 23:13
[Gmsh] How to get rid of the defaultFaces liguifan OpenFOAM Meshing & Mesh Conversion 0 April 30, 2011 22:53


All times are GMT -4. The time now is 07:52.