96 lines
1.9 KiB
C++
96 lines
1.9 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;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
surfaceFile "5415Joined3.ftr";
|
|
|
|
maxCellSize 100;
|
|
|
|
boundaryCellSize 50;
|
|
//boundaryCellSizeRefinementThickness 50;
|
|
|
|
surfaceMeshRefinement
|
|
{
|
|
hull
|
|
{
|
|
additionalRefinementLevels 3;
|
|
surfaceFile "5415Joined1.stl";
|
|
refinementThickness 50;
|
|
}
|
|
}
|
|
|
|
anisotropicSources
|
|
{
|
|
Box
|
|
{
|
|
type box;
|
|
centre (2800 0 250);
|
|
lengthX 6000;
|
|
lengthY 1000;
|
|
lengthZ 200;
|
|
scaleX 1;
|
|
scaleY 1;
|
|
scaleZ 0.3;
|
|
}
|
|
|
|
/*
|
|
planeUpper
|
|
{
|
|
type plane;
|
|
normal (0 0 1);
|
|
origin (0 0 250);
|
|
scalingDistance 125;
|
|
scalingFactor 0.5;
|
|
}
|
|
|
|
planeLower
|
|
{
|
|
type plane;
|
|
normal (0 0 -1);
|
|
origin (0 0 250);
|
|
scalingDistance 125;
|
|
scalingFactor 0.5;
|
|
}
|
|
*/
|
|
}
|
|
|
|
|
|
boundaryLayers
|
|
{
|
|
patchBoundaryLayers
|
|
{
|
|
HULL_AND_BOX_1
|
|
{
|
|
nLayers 5;
|
|
thicknessRatio 1.1;
|
|
}
|
|
}
|
|
|
|
optimiseLayer 1;
|
|
|
|
optimisationParameters
|
|
{
|
|
nSmoothNormals 3;
|
|
maxNumIterations 5;
|
|
featureSizeFactor 0.4;
|
|
reCalculateNormals 1;
|
|
relThicknessTol 0.1;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|