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

[blockMesh] --> foam fatal error:

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2014, 11:27
Default --> foam fatal error:
  #1
New Member
 
Valerio Cedrone
Join Date: Mar 2014
Posts: 2
Rep Power: 0
lillo763 is on a distinguished road
Hi all

I'm trying to create my first mesh but i found this error:

--> FOAM FATAL ERROR:
Face 25343 reduced to less than 3 points. Topological/cutting error A.
Old face: 2(2707 2964) new face: 2(2707 2964)

I suppose the problem is in the use of mergePatchPairs.

This is my blockMeshDict file

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

vertices
(
    (0 0 -0.5)			// vertex number   0  hex A
    (90 0 -0.5)			// vertex number   1
    (90 1.1 -0.5)		// vertex number   2
    (0 1.1 -0.5)		// vertex number   3
    (0 0 0.5)			// vertex number   4
    (90 0 0.5)			// vertex number   5
    (90 1.1 0.5)		// vertex number   6
    (0 1.1 0.5)			// vertex number   7
    (90 0 -0.5)			// vertex number   8  hex B
    (270 0 -0.5)		// vertex number   9
    (270 1.1 -0.5)		// vertex number  10
    (90 1.1 -0.5)		// vertex number  11
    (90 0 0.5)			// vertex number  12
    (270 0 0.5)			// vertex number  13
    (270 1.1 0.5)		// vertex number  14
    (90 1.1 0.5)		// vertex number  15
    (90 1.1 -0.5)		// vertex number  16  hex C
    (270 1.1 -0.5)		// vertex number  17
    (270 2.2 -0.5)		// vertex number  18
    (90 2.2 -0.5)		// vertex number  19
    (90 1.1 0.5)		// vertex number  20
    (270 1.1 0.5)		// vertex number  21
    (270 2.2 0.5)		// vertex number  22
    (90 2.2 0.5)		// vertex number  23
    (90 2.2 -0.5)		// vertex number  24  hex D
    (270 2.2 -0.5)		// vertex number  25
    (270 61 -0.5)		// vertex number  26
    (90 61 -0.5)		// vertex number  27
    (90 2.2 0.5)		// vertex number  28
    (270 2.2 0.5)		// vertex number  29
    (270 61 0.5)		// vertex number  30
    (90 61 0.5)			// vertex number  31
    (270 0 -0.5)		// vertex number  32  hex E
    (1090 0 -0.5)		// vertex number  33
    (1090 1.1 -0.5)		// vertex number  34
    (270 1.1 -0.5)		// vertex number  35
    (270 0 0.5)			// vertex number  36
    (1090 0 0.5)		// vertex number  37
    (1090 1.1 0.5)		// vertex number  38
    (270 1.1 0.5)		// vertex number  39
    (270 1.1 -0.5)		// vertex number  40  hex F
    (1090 1.1 -0.5)		// vertex number  41
    (1090 2.2 -0.5)		// vertex number  42
    (270 2.2 -0.5)		// vertex number  43
    (270 1.1 0.5)		// vertex number  44
    (1090 1.1 0.5)		// vertex number  45
    (1090 2.2 0.5)		// vertex number  46
    (270 2.2 0.5)		// vertex number  47
    (270 2.2 -0.5)		// vertex number  48  hex G
    (1090 2.2 -0.5)		// vertex number  49
    (1090 61 -0.5)		// vertex number  50
    (270 61 -0.5)		// vertex number  51
    (270 2.2 0.5)		// vertex number  52
    (1090 2.2 0.5)		// vertex number  53
    (1090 61 0.5)		// vertex number  54
    (270 61 0.5)		// vertex number  55
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (64 4 1) simpleGrading (1 1 1)		// hex A
    hex (8 9 10 11 12 13 14 15) (256 4 1) simpleGrading (1 1 1)		// hex B
    hex (16 17 18 19 20 21 22 23) (256 4 1) simpleGrading (1 1 1)	// hex C
    hex (24 25 26 27 28 29 30 31) (128 64 1) simpleGrading (1 1 1)	// hex D
    hex (32 33 34 35 36 37 38 39) (64 4 1) simpleGrading (1 1 1)	// hex E
    hex (40 41 42 43 44 45 46 47) (64 4 1) simpleGrading (1 1 1)	// hex F
    hex (48 49 50 51 52 53 54 55) (32 32 1) simpleGrading (1 1 1)	// hex G
);

edges
(
);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 3 7 4)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (33 34 38 37)
            (41 42 46 45)
            (49 50 54 53)
        );
    }
    leftWall
    {
        type wall;
        faces
        (
            (16 19 23 20)
            (24 27 31 28)
        );
    }
    upperWall
    {
        type wall;
        faces
        (
            (3 2 6 7)
            (27 26 30 31)
            (51 50 54 55)
        );
    }
    lowerWall
    {
        type wall;
        faces
        (
            (0 1 5 4)
            (8 9 13 12)
            (32 33 37 36)
        );
    }
    frontAndBack
    {
        type empty;
        faces
        (
            (0 1 2 3)
            (4 5 6 7)
            (8 9 10 11)
            (12 13 14 15)
            (16 17 18 19)
            (20 21 22 23)
            (24 25 26 27)
            (28 29 30 31)
            (32 33 34 35)
            (36 37 38 39)
            (40 41 42 43)
            (44 45 46 47)
            (48 49 50 51)
            (52 53 54 55)
        );
    }
    interAB
    {
        type patch;
        faces
        (
            (1 2 6 5)
        );
    }
    interBA
    {
        type patch;
        faces
        (
            (8 11 15 12)
        );
    }
    interBC
    {
        type patch;
        faces
        (
            (11 10 14 15)
        );
    }
    interCB
    {
        type patch;
        faces
        (
            (16 17 21 20)
        );
    }
    interCD
    {
        type patch;
        faces
        (
            (19 18 22 23)
        );
    }
    interDC
    {
        type patch;
        faces
        (
            (24 25 29 28)
        );
    }
    interEF
    {
        type patch;
        faces
        (
            (35 34 38 39)
        );
    }
    interFE
    {
        type patch;
        faces
        (
            (40 41 45 44)
        );
    }
    interFG
    {
        type patch;
        faces
        (
            (43 42 46 47)
        );
    }
    interGF
    {
        type patch;
        faces
        (
            (48 49 53 52)
        );
    }
    interBE
    {
        type patch;
        faces
        (
            (9 10 14 13)
        );
    }
    interEB
    {
        type patch;
        faces
        (
            (32 35 39 36)
        );
    }
    interCF
    {
        type patch;
        faces
        (
            (17 18 22 21)
        );
    }
    interFC
    {
        type patch;
        faces
        (
            (40 43 47 44)
        );
    }
    interDG
    {
        type patch;
        faces
        (
            (25 26 30 29)
        );
    }
    interGD
    {
        type patch;
        faces
        (
            (48 51 55 52)
        );
    }
);

mergePatchPairs
(
(interAB interBA)
(interBC interCB)
(interCD interDC)
(interEF interFE)
(interFG interGF)
(interBE interEB)
(interCF interFC)
(interDG interGD)
);
// ************************************************************************* //
Help me please, Thanks
lillo763 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
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 10:40
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 06:34
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 13:34
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


All times are GMT -4. The time now is 06:46.