CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Placing an object on top of the NACA0012 airfoil shape

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2020, 23:53
Default Placing an object on top of the NACA0012 airfoil shape
  #1
New Member
 
Najmiddin
Join Date: Dec 2018
Posts: 16
Rep Power: 3
najimaddin96 is on a distinguished road
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:
naca1.jpg
naca2.jpg

Thanks in advance!
najimaddin96 is offline   Reply With Quote

Reply

Tags
airfoil 2d, naca 0012, snappy hex mesh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Most experimentally stuided airfoil, wing, shape collection! northfly Main CFD Forum 0 October 21, 2018 22:47
NACA0012 Validation Accuracy Improvement Alhasan OpenFOAM Running, Solving & CFD 8 February 1, 2015 09:39
Why is air pressure lower on the top of an airfoil ? omaraero Lounge 12 September 1, 2014 01:45
[Other] Generating Mesh - NACA0012 Airfoil baila12 OpenFOAM Meshing & Mesh Conversion 3 July 25, 2013 07:57
Simulation of transonic flow over NACA0012 airfoil MSc Student Siemens 2 August 9, 2006 14:49


All times are GMT -4. The time now is 14:04.