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

[cfMesh] Mesh not "snapped" correctly at thin trailing edge and symmetry plane

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2021, 23:44
Question Mesh not "snapped" correctly at thin trailing edge and symmetry plane
  #1
New Member
 
Supakorn Suttiruang
Join Date: Mar 2020
Posts: 8
Rep Power: 6
cosmictrex is on a distinguished road
Hi,


I'm having issues with cfMesh and the region near the thin trailing edge which is adjacent to the symmetry plane. I'm meshing a flying wing with very thin root trailing edge and even thinner tip trailing edge. The geometry was defined by the FMS surface mesh file.


The tip trailing edge "snaps" and define the feature correctly; however, the root trailing edge adjacent to the symmetry plane does not (even with refined surface mesh). The picture of the resulting mesh and the surface mesh (FMS) file at the problematic region is in the attachments. The tip trailing edge mesh and surface are attached as well.



The content of my meshDict file is as follows:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                |
| \\      /  F ield         | cfMesh: A library for mesh generation          |
|  \\    /   O peration     |                                                |
|   \\  /    A nd           | Author: Franjo Juretic                         |
|    \\/     M anipulation  | E-mail: franjo.juretic@c-fields.com            |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version   2.0;
    format    ascii;
    class     dictionary;
    location  "system";
    object    meshDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

surfaceFile "Vetal.fms";

maxCellSize 2; //[m]
// minCellSize 2; //[m]
boundaryCellSize 0.5; //[m]

// objectRefinements
// {
//     mainBox
//     {
//         type box;
//         cellSize    3e-2;   //[m]
//         centre   (2.95 0 0);   //[m]
//         lengthX         6;   //[m]
//         lengthY         2;     //[m]
//         lengthZ         0.4;     //[m]
//     }
// }

localRefinement
{
    wing.main
    {
        additionalRefinementLevels 11;
        refinementThickness  1e-2; //[m]
    }
    wing.wingtip
    {
        additionalRefinementLevels 11;
        refinementThickness  1e-2; //[m]
    }
    wing.te
    {
        additionalRefinementLevels 12;
        refinementThickness  5e-4; //[m]
    }
}

// edgeMeshRefinement
// {
//     wing
//     {
//         edgeFile "Vetal_FlatTE_Half.vtk";
//         additionalRefinementLevels 14;
//         // refinementThickness 1e-3;
//     }
// }

// boundaryLayers
// {

//     patchBoundaryLayers
//     {
//         wing.*
//         {
//              nLayers    15;
//              thicknessRatio     1.05;
//              allowDiscontinuity 1;
//              // maxFirstLayerThickness 2e-5;
//         }
//     }

//     optimiseLayer 1;

//     optimisationParameters
//     {
//         nSmoothNormals             5;
//         relThicknessTol         0.4;
//         featureSizeFactor         0.8;
//         reCalculateNormals         1; 
//         maxNumIterations         5;
//     }

// }

renameBoundary
{
    defaultType     wall;

    newPatchNames
    {
        "farfield"
        {
            newName farfield;
            type    patch;
        }

    }
}

// ************************************************************************* //
My meshDict file only defines localRefinement patches, as you can see above.
Attached Images
File Type: jpg root_te_mesh.jpg (116.1 KB, 72 views)
File Type: jpg root_te_surface.jpg (180.6 KB, 69 views)
File Type: jpg tip_te_mesh.jpg (53.6 KB, 67 views)
File Type: jpg tip_te_surface.jpg (72.6 KB, 61 views)
cosmictrex 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
[snappyHexMesh] How too improve y+ number at trailing edge and Wing tip AlbatrossR OpenFOAM Meshing & Mesh Conversion 3 October 18, 2021 03:33
[snappyHexMesh] non uniform mesh near the stl object vava10 OpenFOAM Meshing & Mesh Conversion 0 January 31, 2021 14:41
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03
Poor Residuals at Intersection Between Symmetry Plane and Airfoil Leading Edge TWaung CFX 2 February 16, 2010 08:11
Where's the singularity/mesh flaw? audrich FLUENT 3 August 4, 2009 01:07


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