bvdrsch |
November 10, 2022 03:10 |
Bulges in mesh when using snappyHexMesh
Hello Foamers,
I'm trying to perform a wind study on buildings. Therefore a build my 3D model in sketchup and converted it via blender to an .stl file. See attachement.
I'm using snappyHexMesh for the mesh. However when I use the addlayers possibility, some bulges arise on the edge of the surfaces.
I noticed some mid surface bulges as well.
Can somebody explain how this can occur or what a solution could be?
kr
Bruno
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#includeEtc "caseDicts/mesh/generation/snappyHexMeshDict.cfg"
castellatedMesh on;
snap on;
addLayers yes;
geometry
{
cube.stl
{
type triSurfaceMesh;
name cube;
}
};
castellatedMeshControls
{
features
(
{ file "cube.eMesh"; level 0; }
);
refinementSurfaces
{
cube
{
level (2 5);
patchInfo { type wall; }
}
}
refinementRegions
{
refinementBox
{
mode inside;
levels ((1E15 2));
}
}
locationInMesh (1 1 1);
}
snapControls
{
explicitFeatureSnap true;
implicitFeatureSnap false;
}
addLayersControls
{
layers
{
cube
{
nSurfaceLayers 3;
}
}
relativeSizes true;
expansionRatio 1.3;
finalLayerThickness 0.5;
minThickness 1e-3;
}
meshQualityControls
{}
writeFlags
(
noRefinement
// scalarLevels
// layerSets
// layerFields
);
mergeTolerance 1e-6;
// ************************************************** *********************** //
|
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object surfaceFeatureExtractDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
cube.stl
{
#includeEtc "caseDicts/surface/surfaceFeatureExtractDict.cfg"
}
// ************************************************** *********************** //
|
|