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

SnappyHexMesh not creating cellzones

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2016, 06:24
Default SnappyHexMesh not creating cellzones
  #1
Member
 
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17
Carno is on a distinguished road
Dear All,

I am trying hard and checking different options to create a cellzone in the mesh. It is not at all creating the cellzone. Below is the dict.

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

#includeEtc "caseDicts/mesh/generation/snappyHexMeshDict.cfg"

castellatedMesh on;
snap            off;
addLayers       off;

geometry
{
    fixed.stl
    {
        type triSurfaceMesh;
        name fixed;
        regions
        {
           /* <inletPatch>  { name inlet; }
            <outletPatch> { name outlet; }
           */
        }
    }
/*    rotatingZone.stl
    {
        type triSurfaceMesh;
        name rotatingZone;
    }*/
    rotating.stl
    {
        type triSurfaceMesh;
        name rotating;
    }
    rad.stl
    {
        type triSurfaceMesh;
        name rad;
    }
};

castellatedMeshControls
{
    features
    (
        /*{ file "fixed.eMesh";        level 1; }
        { file "rotating.eMesh";     level 1; }
        { file "rotatingZone.eMesh"; level 1; }
        */
    );

    refinementSurfaces
    {
        fixed
        {
            level       (1 1);
            patchInfo   { type wall; }
            inGroups    (fixed);

            regions
            {/*
                <inletPatch>
                {
                    level (2 2);
                    patchInfo
                    {
                        type patch;
                        inGroups (inlet);
                    }
                }

                <outletPatch>
                {
                    level (2 2);
                    patchInfo
                    {
                        type patch;
                        inGroups (outlet);
                    }
                }
            */}
        }
/*       rotatingZone
        {
            level       (1 1);
            patchInfo   { type wall; }
        }*/
        rotating
        {
            level       (1 1);
            faceZone    arotating;
            cellZone    arotating;
            cellZoneInside  inside;
            boundary    internal;
        }
        rad
        {
            level       (1 1);
            patchInfo   { type wall; }
        }

    }

    refinementRegions
    {
        
        rotating
        {
            mode inside;
            levels ((1E15 2));
        }
        
    }

    locationInMesh (10 10 10); // Offset from (0 0 0) to avoid
                                     // coinciding with face or edge
}

snapControls
{
    explicitFeatureSnap    true;
}

addLayersControls
{
    layers
    {
        "(rotating|fixed)"
        {
            nSurfaceLayers 2;
        }
    }

    relativeSizes       true; // false, usually with firstLayerThickness
    expansionRatio      1.2;
    finalLayerThickness 0.5;
    minThickness        1e-3;
//  firstLayerThickness 0.01;

//  maxThicknessToMedialRatio 0.6;
}

meshQualityControls
{
//    minTetQuality -1e+30;
}

writeFlags
(
    scalarLevels
    layerSets
    layerFields
);

mergeTolerance 1e-6;

// ************************************************************************* //
PLease help!
Attached Files
File Type: zip triSurface.zip (5.6 KB, 3 views)
Carno 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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
[snappyHexMesh] proble of creating layers with snappyHexMesh comingdaytime OpenFOAM Meshing & Mesh Conversion 3 May 24, 2018 07:18
[snappyHexMesh] SnappyHexMesh .stl Jochem OpenFOAM Meshing & Mesh Conversion 10 September 23, 2016 05:26
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28
[snappyHexMesh] snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh pythag0ra5 OpenFOAM Meshing & Mesh Conversion 3 September 11, 2013 10:10


All times are GMT -4. The time now is 16:55.