63 lines
1.3 KiB
C++
63 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | cfMesh: A library for mesh generation |
|
|
| \\ / O peration | |
|
|
| \\ / A nd | Author: Franjo Juretic |
|
|
| \\/ M anipulation | E-mail: franjo.juretic@c-fields.com |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object meshDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
maxCellSize 0.1;
|
|
|
|
surfaceFile "sBend.fms";
|
|
|
|
boundaryLayers
|
|
{
|
|
nLayers 1;
|
|
|
|
patchBoundaryLayers
|
|
{
|
|
walls
|
|
{
|
|
nLayers 3;
|
|
thicknessRatio 1.2;
|
|
}
|
|
}
|
|
|
|
optimiseLayer 1;
|
|
|
|
optimisationParameters
|
|
{
|
|
nSmoothNormals 5;
|
|
relThicknessTol 0.15;
|
|
featureSizeFactor 0.3;
|
|
reCalculateNormals 1;
|
|
maxNumIterations 5;
|
|
}
|
|
}
|
|
|
|
localRefinement
|
|
{
|
|
|
|
refFine
|
|
{
|
|
cellSize 0.025;
|
|
}
|
|
|
|
walls
|
|
{
|
|
cellSize 0.05;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|