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

[snappyHexMesh] Parts of Geometry not meshed by snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 5, 2012, 06:23
Default Parts of Geometry not meshed by snappyHexMesh
  #1
New Member
 
Deepak Cheekati
Join Date: Jul 2012
Location: Chennai, India
Posts: 21
Rep Power: 13
Turbulence is on a distinguished road
Hi Everyone,
I am currently trying to simulate free round jet flow. If the jet inlet diameter is d, my computational domain is a cylinder which is 250d in axial direction and has a diameter of 400d. PFA the image of background mesh with the geometry. Earlier I had problem of inlet pipe completely disappearing. So I chose a background mesh of this shape.
Now my inlet looks good, but my computational domain(the big cylinder) is not meshed.
Can anyone help me in this regard.
Thanks
Turbulence.
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(

(39.8 39.8 0)
(39.8 39.8 1.1)
(40.2 39.8 1.1)
(40.2 39.8 0)
(39.8 40.2 0)
(39.8 40.2 1.1)
(40.2 40.2 1.1)
(40.2 40.2 0)
(-5 -5 1.1)
(-5 -5 52)
(85 -5 52)
(85 -5 1.1)
(-5 85 1.1)
(-5 85 52)
(85 85 52)
(85 85 1.1)




);

blocks
(
hex (0 1 2 3 4 5 6 7) (100 100 100) simpleGrading (1 1 1)

hex (8 9 10 11 12 13 14 15) (200 200 200) simpleGrading (1 1 1)

);

boundary
(
bPlane
{
type patch;
faces
(
(0 1 2 3)
);
}
tPlane
{
type patch;
faces
(
(4 7 6 5)
);
}
fPlane
{
type patch;
faces
(
(0 4 5 1)
);
}

backPlane
{
type patch;
faces
(
(3 2 6 7)
);
}

lPlane
{
type patch;
faces
(
(0 3 7 4)
);
}

rPlane
{
type patch;
faces
(
(1 2 6 5)
);
}

BPlane
{
type patch;
faces
(
(8 9 10 11)
);
}
TPlane
{
type patch;
faces
(
(12 15 14 13)
);
}
FPlane
{
type patch;
faces
(
(8 12 13 9)
);
}

BackPlane
{
type patch;
faces
(
(11 15 14 10)
);
}

LPlane
{
type patch;
faces
(
(8 11 15 12)
);
}

RPlane
{
type patch;
faces
(
(9 10 14 13)
);
}


);


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

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile

{

version 2.0;

format ascii;

class dictionary;

object snappyHexMeshDict;

}


castellatedMesh true;

snap true;

doLayers true;

addLayers true;

mergeTolerance 1e-06;

geometry

{
roundjet.stl

{
type triSurfaceMesh;
name round;
mergeSubRegions true;
}

};
meshQualityControls
{
maxNonOrtho 60;
maxBoundarySkewness 1.1;
maxInternalSkewness 0.7;
minVol 1e-13;
maxConcave 180;
minTwist 0.05;
minArea -1;
minTriangleTwist -1;
minDeterminant 0.001;
minFaceWeight 0.05;
minVolRatio 0.01;
minTetQuality 1e-30;
errorReduction 0.75;
nSmoothScale 4;

};

castellatedMeshControls

{
refinementSurfaces
{

round
{
level (8 10); // default (min max) refinement for surface

}

}

resolveFeatureAngle 45; //Applies maximum level of refinement to cells
//that can see intersections whose angle exceeds


refinementRegions

{

round

{

mode distance;

levels ((0.1 10) (0.5 4) (1 2));
}

}

locationInMesh (40 40 0.2);


maxLocalCells 1000000;

maxGlobalCells 2000000;

minRefinementCells 0;

nCellsBetweenLevels 5;

allowFreeStandingZoneFaces false;

features
(
);

};

snapControls

{

nSmoothPatch 20;

tolerance 2.0;

nSolveIter 30;

nRelaxIter 10;

};

addLayersControls

{

layers
{
round_a
{
nSurfaceLayers 3;
}
round_b
{
nSurfaceLayers 3;
}
round_c
{
nSurfaceLayers 3;
}
round_d
{
nSurfaceLayers 3;
}
round_e
{
nSurfaceLayers 3;
}
round_f
{
nSurfaceLayers 3;
}
round_g
{
nSurfaceLayers 3;
}
round_h
{
nSurfaceLayers 3;
}
round_i
{
nSurfaceLayers 3;
}
round_j
{
nSurfaceLayers 3;
}
}

expansionRatio 1.0;
finalLayerThickness 0.4;
minThickness 0.25;
nGrow 0;
relativeSizes true;
featureAngle 60;
nRelaxIter 7;
nSmoothSurfaceNormals 1;
nSmoothNormals 3;
nSmoothThickness 10;
maxFaceThicknessRatio 0.5;
nLayerIter 10;
maxThicknessToMedialRatio 0.2;
minMedianAxisAngle 80;
nBufferCellsNoExtrude 0;


};
Attached Images
File Type: jpg Screenshot.jpg (37.0 KB, 69 views)

Last edited by Turbulence; July 5, 2012 at 06:26. Reason: additional information
Turbulence is offline   Reply With Quote

 


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
[ANSYS Meshing] CATIA Geometry Generation and Meshing danielsullivan ANSYS Meshing & Geometry 0 April 3, 2017 21:11
[snappyHexMesh] snappyHexMesh meshed inside an outside of stl bastil OpenFOAM Meshing & Mesh Conversion 5 May 7, 2016 16:12
Simulation of Flow through Complex 3D Geometry EmersonKB CFX 5 July 2, 2009 08:17
how to mesh my geometry with two parts of volumes chankhar FLUENT 1 June 5, 2006 07:38
CFX10 post, geometry parts not visible Claudia CFX 0 May 19, 2006 07:22


All times are GMT -4. The time now is 00:50.