mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
example of feature edge refinement
This commit is contained in:
@ -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)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user