いつもお世話になっております。
SnappyHexMeshの使用に際し,セル除去が上手くいきません。
locationInMeshの設定を内部に対しても外部も対しても
試してみましたが,除去されることはありませんでした。
設定に間違いはありませんでしょうか。
何らかのアドバイスを頂ければ幸いです。
よろしくお願い致します。
/*------------------------------------------*- C++ -*----------------------------------*\
| =========
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
| \\ / O peration | Version: 2.2.0
| \\ / A nd | Web:
www.OpenFOAM.org | \\/ M anipulation |
\*---------------------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
castellatedMesh true;
snap false;//true;//
addLayers false;//true;
geometry
{
sampleCar.stl
{
type triSurfaceMesh;
name sampleCar;
}
Box1
{
type searchableBox;
min (-0.03 -0.012 -0.0025);
max ( 0.06 0.02 0.0125);
}
};
castellatedMeshControls
{
// Refinement parameters
maxLocalCells 100000;
maxGlobalCells 2000000;
minRefinementCells 10;
maxLoadUnbalance 0.10;
nCellsBetweenLevels 3;
// Explicit feature edge refinement
features
(
{
file "sampleCar.eMesh";
level 1;
}
);
// Surface based refinement
refinementSurfaces
{
sampleCar
{
level (5 5);
patchInfo
{
type wall;
inGroups (sampleCarGroup);
}
}
}
resolveFeatureAngle 30;
// Region-wise refinement
refinementRegions
{
Box1
{
mode inside;
levels ((1.0 2));
}
/*
sampleCar.stl
{
mode inside;
levels ((1.0 5));
}
*/
}
// Mesh selection
locationInMesh (0.08 0.05 0.005);//(0. 0 0.005);//(3 3 0.43);
allowFreeStandingZoneFaces true;
}