example of feature edge refinement

This commit is contained in:
mattijs
2009-04-09 13:03:33 +01:00
parent bbaa0d57e3
commit db3b8bafdb
2 changed files with 66 additions and 4 deletions

View File

@ -0,0 +1,58 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.3.1 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "..";
case "cavity";
instance ""constant"";
local "polyMesh";
class featureEdgeMesh;
object points;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Points
(
(1.99 1.99 0.01) //0
(3.01 1.99 0.01) //1
(3.01 3.01 0.01) //2
(1.99 3.01 0.01) //3
(1.99 1.99 2.01) //4
(3.01 1.99 2.01) //5
(3.01 3.01 2.01) //6
(1.99 3.01 2.01) //7
)
// Edges
(
(0 1)
(1 2)
(2 3)
(3 0)
(4 5)
(5 6)
(6 7)
(7 4)
(0 4)
(1 5)
(2 6)
(3 7)
)
// ************************************************************************* //

View File

@ -143,10 +143,10 @@ castellatedMeshControls
// This is a featureEdgeMesh, read from constant/triSurface for now. // This is a featureEdgeMesh, read from constant/triSurface for now.
features features
( (
// { {
// file "fridgeA.eMesh"; file "fridgeA.eMesh";
// level 3; level 3;
// } }
); );
@ -308,6 +308,10 @@ addLayersControls
// Create buffer region for new layer terminations // Create buffer region for new layer terminations
nBufferCellsNoExtrude 0; nBufferCellsNoExtrude 0;
// Overall max number of layer addition iterations
nLayerIter 50;
} }