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

[cfMesh] Not meshing the entire geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2018, 09:15
Default Not meshing the entire geometry
  #1
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 7
yambanshee is on a distinguished road
Hi there,
I'm trying to make use of the great software that is Cfmesh in order to mesh an axial fan. However, I am getting an issue where the blade is not being meshed properly, and I'm unsure what's causing it or how to fix it. The best way to describe is through a picture, and so one is attached here. The .stl of the blade is shown along with it's mesh. As can be seen, the mesh size is small enough to describe the geometry of the blade. Below is also my meshDict, if it helps.

EDIT:
Sorted it out. It was the use of keepCellsIntersectingPatches was what was causing issues

Code:
surfaceFile "merged.stl";

maxCellSize 0.05;

boundaryCellSize 0.005;

minCellSize 0.0005;

keepCellsIntersectingBoundary 1;


localRefinement
{
    "blade.*"
    {
        cellSize 0.0006;
    } 
}

boundaryLayers
{

    patchBoundaryLayers
    {
        "blade.*"
        {
            nLayers           8;

            thicknessRatio    1.2;

            maxFirstLayerThickness 0.0015;

            allowDiscontinuity 1;
        }
    }
}

renameBoundary
{
    defaultName        fixedWalls;
    defaultType        wall;

    newPatchNames
    {
        "blade.*"
        {
            newName    blade;
        newType     wall;
        }
 
        "inlet.*"
        {
            newName     inlet;
            newType     patch;
        }

        "outlet.*"
        {
            newName     outlet;
            newType     patch;
        }

        "symm.*"
        {
            newName     symm;
            newType     symmetry;
        }

        "right.*"
        {
            newName     right;
            newType     symmetry;
        }

        "left.*"
        {
            newName     left;
            newType     symmetry;
        }
    }
}

keepCellsIntersectingPatches
{
    "blade.*"
    {
    keepCells 1;
    }

    "symm.*"
    {
    keepCells 1;
    }
}

Last edited by yambanshee; August 8, 2018 at 08:09.
yambanshee is offline   Reply With Quote

Old   August 2, 2018, 02:49
Default
  #2
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 7
yambanshee is on a distinguished road
forgot to upload the image! sorry
Attached Images
File Type: png trailing_edge.png (66.1 KB, 70 views)
yambanshee is offline   Reply With Quote

Old   October 25, 2018, 03:43
Default
  #3
Senior Member
 
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 118
Rep Power: 15
lava12005 is on a distinguished road
Does the issue remains when you use smaller cell near the edge?
lava12005 is offline   Reply With Quote

Old   October 29, 2018, 08:53
Default
  #4
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 7
yambanshee is on a distinguished road
Quote:
Originally Posted by lava12005 View Post
Does the issue remains when you use smaller cell near the edge?
I made use of keepCellsIntersectingPatches on the region above (the shroud) where this error occurred.
yambanshee 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
[ICEM] Meshing a fractal geometry in ICEM andrewmichael ANSYS Meshing & Geometry 0 May 22, 2018 20:17
Dynamic Meshing of Simple 2D Geometry harman79 FLUENT 2 January 17, 2018 06:07
[Gmsh] Vertex numbering is dense KateEisenhower OpenFOAM Meshing & Mesh Conversion 7 August 3, 2015 10:49
Gambit meshing problem to following geometry ahmadmln ANSYS Meshing & Geometry 2 October 21, 2014 01:49
[ANSYS Meshing] Using more than one meshing method on a single 2D geometry robbierich90 ANSYS Meshing & Geometry 0 October 30, 2011 13:12


All times are GMT -4. The time now is 01:25.