Commit db3b8baf authored by mattijs's avatar mattijs
Browse files

example of feature edge refinement

parent bbaa0d57
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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)
)
// ************************************************************************* //
......@@ -143,10 +143,10 @@ castellatedMeshControls
// This is a featureEdgeMesh, read from constant/triSurface for now.
features
(
// {
// file "fridgeA.eMesh";
// level 3;
// }
{
file "fridgeA.eMesh";
level 3;
}
);
......@@ -308,6 +308,10 @@ addLayersControls
// Create buffer region for new layer terminations
nBufferCellsNoExtrude 0;
// Overall max number of layer addition iterations
nLayerIter 50;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment