Skip to content
Snippets Groups Projects
Commit f6f6ffe0 authored by mattijs's avatar mattijs
Browse files

ENH: mesh: added new tutorials

parent 639e87b5
Branches
Tags
1 merge request!722RELEASE: develop branch to master
......@@ -13,5 +13,7 @@ cd "${0%/*}" || exit # Run from this directory
( cd opposite_walls && ./Allclean )
( cd airfoilWithLayers && ./Allclean )
( cd sphere_gapClosure && ./Allclean )
( cd rotated_block && ./Allclean )
( cd sphere_multiRegion && ./Allclean )
#------------------------------------------------------------------------------
......@@ -15,6 +15,8 @@ cd "${0%/*}" || exit # Run from this directory
( cd sphere_gapClosure && ./Allrun )
( cd block_with_curvature && ./Allrun )
( cd insidePoints && ./Allrun )
( cd rotated_block && ./Allrun )
( cd sphere_multiRegion && ./Allrun )
exit 0
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
vertices
(
(0 0 0)
(1 0 0)
(1 1 0)
(0 1 0)
(0 0 1)
(1 0 1)
(1 1 1)
(0 1 1)
);
blocks
(
//hex (0 1 2 3 4 5 6 7) (20 20 10) simpleGrading (100 100 1)
hex (0 1 2 3 4 5 6 7) (1 1 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
minX
{
type wall;
faces
(
(0 4 7 3)
);
}
maxX
{
type wall;
faces
(
(2 6 5 1)
);
}
minY
{
type wall;
faces
(
(1 5 4 0)
);
}
maxY
{
type wall;
faces
(
(3 7 6 2)
);
}
minZ
{
type wall;
faces
(
(0 3 2 1)
);
}
maxZ
{
type wall;
faces
(
(4 5 6 7)
);
}
);
// ************************************************************************* //
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