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

[snappyHexMesh] snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2024, 14:39
Default snappyHexMesh
  #1
New Member
 
Martin Mathew
Join Date: Nov 2023
Posts: 4
Rep Power: 3
martinmat13 is on a distinguished road
Hello,

I have been constantly getting the following error:

Scaling iteration 0
Moving mesh using displacement scaling : min:1 max:1
Correcting 2-D mesh motion--> FOAM Warning :
From void Foam::twoDPointCorrector::calcAddressing() const
in file twoDPointCorrector/twoDPointCorrector.C at line 163
The number of points in the mesh is not equal to twice the number of edges normal to the plane - this may be OK only for wedge geometries.
Please check the geometry or adjust the orthogonality tolerance.

Could you kindly help, resolve it.

<Below is my snappyHexMeshDict>

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2212 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location system;
object snappyHexMeshDict;
}
//************************************************** ******************//

castellatedMesh true;
snap true;
addLayers false;
geometry
{
fish.stl { type triSurfaceMesh; name fish; }
refinementeBox
{
type searchableBox;
min (0.9 0 0);
max (2.4 0.75 0.01);
}

fishRefinementBox
{
type searchableBox;
min (1.38 0.33 0);
max (1.72 0.42 0.01);
}

}

castellatedMeshControls
{
features
(
{ file "fish.eMesh";
level 2 ; //2
//refineFeatureEdgesOnly false;
}
);

refinementSurfaces
{
fish {
level (1 2);
patchInfo
{
type wall;
}
}


}

refinementRegions
{
fish
{

mode distance;
levels ((0.02 5) (0.04 3)); //mode outside;
//levels ((0.1 1));


}

/*refinementeBox
{

mode inside;
levels ((0.1 1));

}

fishRefinementBox
{

mode inside;
levels ((0.1 1));

}*/

}

locationInMesh (1.2 0.54 0.0008); //(1.2 0.54 0.0009)
maxLocalCells 100000;
maxGlobalCells 200000;
minRefinementCells 0;
nCellsBetweenLevels 1;
resolveFeatureAngle 20;
allowFreeStandingZoneFaces true;
planarAngle 30.0;
maxLoadUnbalance 0.1;
}

snapControls
{
nSolveIter 300;
nSmoothPatch 5;
tolerance 2.0;
nRelaxIter 25;
nFeatureSnapIter 20;
implicitFeatureSnap false;
explicitFeatureSnap true;
multiRegionFeatureSnap true;
}

addLayersControls
{
layers
{
//"patch_inlet-fancoil.*"
//{
//nSurfaceLayers 10;
//}
}

relativeSizes true;
expansionRatio 1.05;
finalLayerThickness 0.5;
minThickness 0.05;
nGrow 0;
featureAngle 130;
slipFeatureAngle 60;
nRelaxIter 5;
nSmoothSurfaceNormals 1;
nSmoothNormals 3;
nSmoothThickness 10;
maxFaceThicknessRatio 0.5;
maxThicknessToMedialRatio 0.3;
minMedialAxisAngle 90;
nBufferCellsNoExtrude 0;
nLayerIter 50;
nRelaxedIter 20;
writeVTK false;
noErrors false;
layerRecovery 1;
growZoneLayers false;
projectGrownUp 0.0;
}

meshQualityControls
{
maxNonOrtho 65.0;
maxBoundarySkewness 3;
maxInternalSkewness 3;
maxConcave 65.0;
minFlatness 0.5;
minVol 1.0E-13;
minTetQuality 1.0E-15;
minArea -1.0;
minTwist 0.02;
minDeterminant 0.001;
minFaceWeight 0.05;
minVolRatio 0.01;
minTriangleTwist -1.0;
nSmoothScale 4;
errorReduction 0.75;
relaxed
{
maxNonOrtho 65;
}
}

debug 0;
mergeTolerance 1.0E-2;
autoBlockMesh true;
martinmat13 is offline   Reply With Quote

Reply

Tags
cfd, meshing 2d, openfoam, simulation, snappzhexmesh


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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 03:54
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. jasv OpenFOAM Meshing & Mesh Conversion 4 May 10, 2016 03:55
[snappyHexMesh] snappyhexmesh doesn't creat mesh in parallel issue? klausb OpenFOAM Meshing & Mesh Conversion 1 March 7, 2015 12:55
[snappyHexMesh] stitchMesh and snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 03:09


All times are GMT -4. The time now is 12:46.