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

[snappyHexMesh] addLayerscontrol

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2024, 05:05
Default addLayerscontrol
  #1
New Member
 
Huang, Ching-Chan
Join Date: Jan 2023
Posts: 16
Rep Power: 3
Allen_Huang is on a distinguished road
Here is my snappyHexMesh code:
...

/* refinementBox
{
type searchableBox;
min (-1 -1 -1);
max ( 5 1 1);
} */
};

....

refinementSurfaces
{
wing
{

level (2 2);
}
}


resolveFeatureAngle 30;

...

refinementRegions
{
wing
{
mode distance;

levels ((0.1 4));
}


}


locationInMesh (-0.4 0 0);


allowFreeStandingZoneFaces true;
}


snapControls
{

nSmoothPatch 3;


tolerance 4.0;


nSolveIter 30;

nRelaxIter 5;
}


addLayersControls
{
relativeSizes false;


layers
{
wing
{
nSurfaceLayers 6;
}
}


expansionRatio 1.2;

finalLayerThickness 0.5;

minThickness 0.1;

nGrow 0;

featureAngle 130;


nRelaxIter 5;


nSmoothSurfaceNormals 1;


nSmoothNormals 3;


nSmoothThickness 10;

maxFaceThicknessRatio 0.5;

maxThicknessToMedialRatio 0.3;


minMedialAxisAngle 90;


nBufferCellsNoExtrude 0;

nLayerIter 50;
}

meshQualityControls
{

maxNonOrtho 65;


maxBoundarySkewness 20;
maxInternalSkewness 4;


maxConcave 80;

minVol 1e-13;


minTetQuality 1e-30;

//- Minimum face area. Set to <0 to disable.
minArea -1;

//- Minimum face twist. Set to <-1 to disable. dot product of face normal
// and face centre triangles normal
minTwist 0.05;

//- Minimum normalised cell determinant
// 1 = hex, <= 0 = folded or flattened illegal cell
minDeterminant 0.001;

//- minFaceWeight (0 -> 0.5)
minFaceWeight 0.05;

//- minVolRatio (0 -> 1)
minVolRatio 0.01;

//must be >0 for Fluent compatibility
minTriangleTwist -1;

// Advanced

//- Number of error distribution iterations
nSmoothScale 4;
//- Amount to scale back displacement at error points
errorReduction 0.75;
}

// Advanced

// Merge tolerance. Is fraction of overall bounding box of initial mesh.
// Note: the write tolerance needs to be higher than this.
mergeTolerance 1e-6;

// ************************************************** *********************** //
and it showes
Detected 319 illegal faces (concave, zero area or negative cell pyramid volume)
Extruding 0 out of 5226 faces (0%). Removed extrusion at 0 faces.
Added 0 out of 31356 cells (0%).

Doing final balancing
---------------------

[0] [stack trace]
[0] =============
[1] [stack trace]
[1] =============
[1] #1 Foam::sigSegv::sigHandler(int)[0] #1 Foam::sigSegv::sigHandler(int)[2] [stack trace]
[2] =============
[3] [stack trace]
[3] =============
[2] #1 Foam::sigSegv::sigHandler(int)[3] #1 Foam::sigSegv::sigHandler(int) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[2] #2 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[3] #2 ? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] # in 2 ?/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[0] #2 ? in /lib/x86_64-linux-gnu/libpthread.so.0
in /lib/x86_64-linux-gnu/libpthread.so.0
in /lib/x86_64-linux-gnu/libpthread.so.0
in /lib/x86_64-linux-gnu/libpthread.so.0
[2] #3 Foam::List<int> Foam::mapDistributeBase::accessAndFlip<int, Foam::flipOp>(Foam::UList<int> const&, Foam::UList<int> const&, bool, Foam::flipOp const&)[1] #3 Foam::List<int> Foam::mapDistributeBase::accessAndFlip<int, Foam::flipOp>(Foam::UList<int> const&, Foam::UList<int> const&, bool, Foam::flipOp const&)[0] #3 [3] #3 Foam::List<int> Foam::mapDistributeBase::accessAndFlip<int, Foam::flipOp>(Foam::UList<int> const&, Foam::UList<int> const&, bool, Foam::flipOp const&)Foam::List<int> Foam::mapDistributeBase::accessAndFlip<int, Foam::flipOp>(Foam::UList<int> const&, Foam::UList<int> const&, bool, Foam::flipOp const&) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #4 void Foam::mapDistributeBase::distribute<int, Foam::flipOp>(Foam::UPstream::commsTypes, Foam::List<Foam::Pair<int> > const&, int, Foam::List<Foam::List<int> > const&, bool, Foam::List<Foam::List<int> > const&, bool, Foam::List<int>&, Foam::flipOp const&, int, int)[2] #4 void Foam::mapDistributeBase::distribute<int, Foam::flipOp>(Foam::UPstream::commsTypes, Foam::List<Foam::Pair<int> > const&, int, Foam::List<Foam::List<int> > const&, bool, Foam::List<Foam::List<int> > const&, bool, Foam::List<int>&, Foam::flipOp const&, int, int)[0] #4 void Foam::mapDistributeBase::distribute<int, Foam::flipOp>(Foam::UPstream::commsTypes, Foam::List<Foam::Pair<int> > const&, int, Foam::List<Foam::List<int> > const&, bool, Foam::List<Foam::List<int> > const&, bool, Foam::List<int>&, Foam::flipOp const&, int, int)[3] #4 void Foam::mapDistributeBase::distribute<int, Foam::flipOp>(Foam::UPstream::commsTypes, Foam::List<Foam::Pair<int> > const&, int, Foam::List<Foam::List<int> > const&, bool, Foam::List<Foam::List<int> > const&, bool, Foam::List<int>&, Foam::flipOp const&, int, int) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
in [2] #5 /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
void Foam::mapDistributeBase::distribute<int, Foam::flipOp>(Foam::UPstream::commsTypes, Foam::List<int>&, Foam::flipOp const&, int) const[1] #5 void Foam::mapDistributeBase::distribute<int, Foam::flipOp>(Foam::UPstream::commsTypes, Foam::List<int>&, Foam::flipOp const&, int) const[3] #5 void Foam::mapDistributeBase::distribute<int, Foam::flipOp>(Foam::UPstream::commsTypes, Foam::List<int>&, Foam::flipOp const&, int) const[0] #5 void Foam::mapDistributeBase::distribute<int, Foam::flipOp>(Foam::UPstream::commsTypes, Foam::List<int>&, Foam::flipOp const&, int) const in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
[3] #6 in in Foam::snappyLayerDriver::addLayers(Foam::layerPara meters const&, Foam::dictionary const&, Foam::List<int> const&, int, Foam::decompositionMethod&, Foam::fvMeshDistribute&)/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
[0] #6 Foam::snappyLayerDriver::addLayers(Foam::layerPara meters const&, Foam::dictionary const&, Foam::List<int> const&, int, Foam::decompositionMethod&, Foam::fvMeshDistribute&)[1] #6 Foam::snappyLayerDriver::addLayers(Foam::layerPara meters const&, Foam::dictionary const&, Foam::List<int> const&, int, Foam::decompositionMethod&, Foam::fvMeshDistribute&)[2] #6 Foam::snappyLayerDriver::addLayers(Foam::layerPara meters const&, Foam::dictionary const&, Foam::List<int> const&, int, Foam::decompositionMethod&, Foam::fvMeshDistribute&) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so
in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so
[3] #7 Foam::snappyLayerDriver::doLayers(Foam::dictionary const&, Foam::dictionary const&, Foam::layerParameters const&, Foam::meshRefinement::FaceMergeType, bool, Foam::decompositionMethod&, Foam::fvMeshDistribute&) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so
[0] #7 Foam::snappyLayerDriver::doLayers(Foam::dictionary const&, Foam::dictionary const&, Foam::layerParameters const&, Foam::meshRefinement::FaceMergeType, bool, Foam::decompositionMethod&, Foam::fvMeshDistribute&)[2] #7 Foam::snappyLayerDriver::doLayers(Foam::dictionary const&, Foam::dictionary const&, Foam::layerParameters const&, Foam::meshRefinement::FaceMergeType, bool, Foam::decompositionMethod&, Foam::fvMeshDistribute&) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so
[1] #7 Foam::snappyLayerDriver::doLayers(Foam::dictionary const&, Foam::dictionary const&, Foam::layerParameters const&, Foam::meshRefinement::FaceMergeType, bool, Foam::decompositionMethod&, Foam::fvMeshDistribute&) in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so
[3] # in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so
in 8 /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so
[1] #8[2] #8 in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so
[0] #8 ???? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
[3] #9 __libc_start_main in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
[0] #9 in __libc_start_main/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
[2] #9 __libc_start_main in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
[1] #9 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[3] #10 in /lib/x86_64-linux-gnu/libc.so.6
in [1] #10 /lib/x86_64-linux-gnu/libc.so.6
in /lib/x86_64-linux-gnu/libc.so.6
[0] #10 [2] #10 ???? in /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
[3] =============
[ailab07:20475] *** Process received signal ***
[ailab07:20475] Signal: Segmentation fault (11)
[ailab07:20475] Signal code: (-6)
[ailab07:20475] Failing at address: 0x3e800004ffb
[ailab07:20475] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f96ff7c8420]
[ailab07:20475] in in [ 1] /lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcb)[0x7f96ff7c82ab]
[ailab07:20475] [ 2] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
[1] =============
/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
[0] =============
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f96ff7c8420]
[ailab07:20475] [ 3] in [ailab07:20472] *** Process received signal ***
[ailab07:20472] Signal: Segmentation fault (11)
[ailab07:20472] Signal code: (-6)
[ailab07:20472] Failing at address: 0x3e800004ff8
[ailab07:20473] *** Process received signal ***
[ailab07:20473] Signal: Segmentation fault (11)
[ailab07:20473] Signal code: (-6)
[ailab07:20473] Failing at address: 0x3e800004ff9
/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh
[2] =============
[ailab07:20473] [ 0] [ailab07:20472] [ 0] [ailab07:20474] *** Process received signal ***
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f948cd96420]
[ailab07:20472] [ 1] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f045509a420]
[ailab07:20473] [ 1] [ailab07:20474] Signal: Segmentation fault (11)
[ailab07:20474] Signal code: (-6)
[ailab07:20474] Failing at address: 0x3e800004ffa
/lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcb)[0x7f045509a2ab]
[ailab07:20473] [ 2] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f045509a420]
[ailab07:20473] [ 3] /lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcb)[0x7f948cd962ab]
[ailab07:20472] [ 2] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f948cd96420]
[ailab07:20472] [ 3] [ailab07:20474] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fb58072a420]
[ailab07:20474] [ 1] /lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcb)[0x7fb58072a2ab]
[ailab07:20474] [ 2] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fb58072a420]
[ailab07:20474] [ 3] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam17mapDistributeBase13ac cessAndFlipIiNS_6flipOpEEENS_4ListIT_EERKNS_5UList IS4_EERKNS6_IiEEbRKT0_+0xa4)[0x7f04581f56e4]
[ailab07:20473] [ 4] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam17mapDistributeBase13ac cessAndFlipIiNS_6flipOpEEENS_4ListIT_EERKNS_5UList IS4_EERKNS6_IiEEbRKT0_+0xa4)[0x7f948fef16e4]
[ailab07:20472] [ 4] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam17mapDistributeBase13ac cessAndFlipIiNS_6flipOpEEENS_4ListIT_EERKNS_5UList IS4_EERKNS6_IiEEbRKT0_+0xa4)[0x7f97029236e4]
[ailab07:20475] [ 4] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam17mapDistributeBase13ac cessAndFlipIiNS_6flipOpEEENS_4ListIT_EERKNS_5UList IS4_EERKNS6_IiEEbRKT0_+0xa4)[0x7fb5838856e4]
[ailab07:20474] [ 4] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam17mapDistributeBase10di stributeIiNS_6flipOpEEEvNS_8UPstream10commsTypesER KNS_4ListINS_4PairIiEEEEiRKNS5_INS5_IiEEEEbSE_bRNS 5_IT_EERKT0_ii+0x550)[0x7f948fef34e0]
[ailab07:20472] [ 5] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam17mapDistributeBase10di stributeIiNS_6flipOpEEEvNS_8UPstream10commsTypesER KNS_4ListINS_4PairIiEEEEiRKNS5_INS5_IiEEEEbSE_bRNS 5_IT_EERKT0_ii+0x550)[0x7f04581f74e0]
[ailab07:20473] [ 5] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so(_ZNK4Foam17mapDistributeBase10dist ributeIiNS_6flipOpEEEvNS_8UPstream10commsTypesERNS _4ListIT_EERKT0_i+0x73)[0x7f948ef81823]
[ailab07:20472] [ 6] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so(_ZNK4Foam17mapDistributeBase10dist ributeIiNS_6flipOpEEEvNS_8UPstream10commsTypesERNS _4ListIT_EERKT0_i+0x73)[0x7f0457285823]
[ailab07:20473] [ 6] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam17mapDistributeBase10di stributeIiNS_6flipOpEEEvNS_8UPstream10commsTypesER KNS_4ListINS_4PairIiEEEEiRKNS5_INS5_IiEEEEbSE_bRNS 5_IT_EERKT0_ii+0x6b2)[0x7f9702925642]
[ailab07:20475] [ 5] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so(_ZN4Foam17snappyLayerDriver9ad dLayersERKNS_15layerParametersERKNS_10dictionaryER KNS_4ListIiEEiRNS_19decompositionMethodERNS_16fvMe shDistributeE+0x2a55)[0x7f948ddbef85]
[ailab07:20472] [ 7] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so(_ZN4Foam17snappyLayerDriver9ad dLayersERKNS_15layerParametersERKNS_10dictionaryER KNS_4ListIiEEiRNS_19decompositionMethodERNS_16fvMe shDistributeE+0x2a55)[0x7f04560c2f85]
[ailab07:20473] [ 7] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so(_ZN4Foam17snappyLayerDriver8do LayersERKNS_10dictionaryES3_RKNS_15layerParameters ENS_14meshRefinement13FaceMergeTypeEbRNS_19decompo sitionMethodERNS_16fvMeshDistributeE+0x560)[0x7f948ddc0210]
[ailab07:20472] [ 8] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so(_ZN4Foam17snappyLayerDriver8do LayersERKNS_10dictionaryES3_RKNS_15layerParameters ENS_14meshRefinement13FaceMergeTypeEbRNS_19decompo sitionMethodERNS_16fvMeshDistributeE+0x560)[0x7f04560c4210]
[ailab07:20473] [ 8] snappyHexMesh(+0x1ed1b)[0x5593e8aabd1b]
[ailab07:20472] [ 9] snappyHexMesh(+0x1ed1b)[0x55aaa22f1d1b]
[ailab07:20473] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f948cbb4083]
[ailab07:20472] [10] snappyHexMesh(+0x2333e)[0x5593e8ab033e]
[ailab07:20472] *** End of error message ***
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f0454eb8083]
[ailab07:20473] [10] snappyHexMesh(+0x2333e)[0x55aaa22f633e]
[ailab07:20473] *** End of error message ***
/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam17mapDistributeBase10di stributeIiNS_6flipOpEEEvNS_8UPstream10commsTypesER KNS_4ListINS_4PairIiEEEEiRKNS5_INS5_IiEEEEbSE_bRNS 5_IT_EERKT0_ii+0x550)[0x7fb5838874e0]
[ailab07:20474] [ 5] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so(_ZNK4Foam17mapDistributeBase10dist ributeIiNS_6flipOpEEEvNS_8UPstream10commsTypesERNS _4ListIT_EERKT0_i+0x73)[0x7f97019b3823]
[ailab07:20475] [ 6] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so(_ZN4Foam17snappyLayerDriver9ad dLayersERKNS_15layerParametersERKNS_10dictionaryER KNS_4ListIiEEiRNS_19decompositionMethodERNS_16fvMe shDistributeE+0x2a55)[0x7f97007f0f85]
[ailab07:20475] [ 7] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so(_ZNK4Foam17mapDistributeBase10dist ributeIiNS_6flipOpEEEvNS_8UPstream10commsTypesERNS _4ListIT_EERKT0_i+0x73)[0x7fb582915823]
[ailab07:20474] [ 6] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so(_ZN4Foam17snappyLayerDriver8do LayersERKNS_10dictionaryES3_RKNS_15layerParameters ENS_14meshRefinement13FaceMergeTypeEbRNS_19decompo sitionMethodERNS_16fvMeshDistributeE+0x560)[0x7f97007f2210]
[ailab07:20475] [ 8] snappyHexMesh(+0x1ed1b)[0x5629c7247d1b]
[ailab07:20475] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f96ff5e6083]
[ailab07:20475] [10] snappyHexMesh(+0x2333e)[0x5629c724c33e]
[ailab07:20475] *** End of error message ***
/usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so(_ZN4Foam17snappyLayerDriver9ad dLayersERKNS_15layerParametersERKNS_10dictionaryER KNS_4ListIiEEiRNS_19decompositionMethodERNS_16fvMe shDistributeE+0x2a55)[0x7fb581752f85]
[ailab07:20474] [ 7] /usr/lib/openfoam/openfoam2306/platforms/linux64GccDPInt32Opt/lib/libsnappyHexMesh.so(_ZN4Foam17snappyLayerDriver8do LayersERKNS_10dictionaryES3_RKNS_15layerParameters ENS_14meshRefinement13FaceMergeTypeEbRNS_19decompo sitionMethodERNS_16fvMeshDistributeE+0x560)[0x7fb581754210]
[ailab07:20474] [ 8] snappyHexMesh(+0x1ed1b)[0x563b221c9d1b]
[ailab07:20474] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fb580548083]
[ailab07:20474] [10] snappyHexMesh(+0x2333e)[0x563b221ce33e]
[ailab07:20474] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 0 on node ailab07 exited on signal 11 (Segmentation fault)

Than I run reconstructPar. the mesh look good.
But, when i change the parameter of addlayerscontrol to these:

addLayersControls
{

relativeSizes true;


layers
{
wing
{
nSurfaceLayers 6;
}
}


expansionRatio 1.2;

finalLayerThickness 3;


minThickness 1;


nGrow 0;


featureAngle 60;

nRelaxIter 5;


nSmoothSurfaceNormals 1;


nSmoothNormals 3;


nSmoothThickness 10;


maxFaceThicknessRatio 0.5;

maxThicknessToMedialRatio 0.3;

minMedialAxisAngle 90;


nBufferCellsNoExtrude 0;

nLayerIter 50;
}

there was no error
Allen_Huang is offline   Reply With Quote

Reply

Tags
addlayerscontrols, relativesizes, snapphexmesh


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



All times are GMT -4. The time now is 02:44.