CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] Placing an object on top of the NACA0012 airfoil shape (https://www.cfd-online.com/Forums/openfoam-meshing/225290-placing-object-top-naca0012-airfoil-shape.html)

najimaddin96 March 21, 2020 23:53

Placing an object on top of the NACA0012 airfoil shape
 
2 Attachment(s)
Hello folks,

I am trying to snap an object on top of the airfoil shape. The mesh was not created using blockMesh, instead I used the following codes to create my meshes:
Code:

plot3dToFoam -2D 0.1 -noBlank -noFunctionObjects n0012_113-33.p2dfmt
autoPatch 30 -overwrite
createPatch -overwrite
extrudeMesh

Then I try to snap my object on the airfoil shape, I keep failing in doing so. The error is as follows:
Code:

slurmstepd: error: Step 2361478.4294967294 hit memory limit at least once during execution. This may or may not result in some failure.
SHM file:
Code:

castellatedMesh true;
snap            true;
addLayers      false;

geometry
{
    VorGen.stl
    {
        type triSurfaceMesh;
        name VorGen;
        tolerance 2;
    }
};


castellatedMeshControls
{
    maxLocalCells 300000;

    maxGlobalCells 50000000;

    minRefinementCells 0;

    maxLoadUnbalance 0.10;

    nCellsBetweenLevels 3;

    features
    (
        {
                file "VorGen.eMesh";
                level 5;
        }
    );

    refinementSurfaces
    {
        VorGen
        {
            level (5 5);
            patchInfo
            {
                type wall;
            }
        }
    }

    resolveFeatureAngle 30;

    refinementRegions
    {
    }

    locationInMesh (0.095 0.05 -0.05);

    allowFreeStandingZoneFaces true;
}

snapControls
{

    nSmoothPatch 3;

    tolerance 2.0;

    nSolveIter 300;

    nRelaxIter 5;

        nFeatureSnapIter 10;

        implicitFeatureSnap true;

        explicitFeatureSnap false;

        multiRegionFeatureSnap false;
}

Screenshots:
Attachment 75734
Attachment 75733

Thanks in advance!


All times are GMT -4. The time now is 05:13.