CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: blockMesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/)
-   -   Sig11 on using 'tet' in blockMesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/124817-sig11-using-tet-blockmesh.html)

devlaam October 14, 2013 05:58

Sig11 on using 'tet' in blockMesh
 
Hi folks,

When trying a 'tet' in blockmesh I get a Sig11. Below is my file (slightly condensed), and underneath the console result. Is it forbidden to use 'tet' in
blockMesh? And if not, what am i doing wrong? It looks that everything goes well until the merge list.

Code:

FoamFile
{  version    2.0;
    format      ascii;
    class      dictionary;
    object      blockMeshDict; }

convertToMeters 1;

vertices
(  (0 0 0)
    (1 0 0)
    (0 1 0)
    (0 0 1) );

blocks
( tet (0 1 2 3) (20 20 20) simpleGrading (1 1 1) );

boundary
(  xy
    { type patch;
      faces ( (0 2 1) ); }
    yz
    { type patch;
      faces ( (0 3 2) ); }
    zx
    { type patch;
      faces ( (0 1 3) ); }
    r
    { type patch;
      faces ( (1 2 3) ); } );

This is the console result:

Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.2.x                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.2.x-da11a20a3bfb
Exec  : blockMesh
Date  : Oct 14 2013
Time  : 11:43:13
Host  : "raaf"
PID    : 7621
Case  : [SNIP]/OpenFOAM/OpenFOAM-2.2.x/tutorials/electromagnetics/electrostaticFoam/test_01
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
    "[SNIP]/OpenFOAM/OpenFOAM-2.2.x/tutorials/electromagnetics/electrostaticFoam/test_01/constant/polyMesh/blockMeshDict"
No non-linear edges defined
Creating topology blocks
Creating topology patches

Creating block mesh topology

Check topology

        Basic statistics
                Number of internal faces : 0
                Number of boundary faces : 4
                Number of defined boundary faces : 4
                Number of undefined boundary faces : 0
        Checking patch -> block consistency

Creating block offsets
Creating merge list Segmentation fault: 11


wyldckat October 17, 2013 15:50

Greetings devlaam and welcome to the forum!AFAIK, in the official OpenFOAM version, blockMesh can only handle "hex" blocks.
For getting tet-like blocks, you need to collapse edges, as explained near the end of this page: http://www.openfoam.org/docs/user/blockMesh.php

Best regards,
Bruno

devlaam October 17, 2013 16:29

Thank you wyldckat, for taking the time to answer my question.

Yes, i found that out in the mean time. I was put in the wrong direction because blockMesh does not reject the input but starts processing. I assumed, like happens when you put invalid keywords in dictionaries in general it would report that, and not generate a segmentation fault. Pretty drastic response to my taste!


All times are GMT -4. The time now is 19:45.