mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
TUT: multi-world tutorial setup with circular connectivity
This commit is contained in:
@ -0,0 +1,84 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2112 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object blockMeshDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
SLAB_OFFSET 0;
|
||||
|
||||
scale 0.1;
|
||||
|
||||
transform
|
||||
{
|
||||
origin (#eval{0.5 * $SLAB_OFFSET} 0 0);
|
||||
rotation none;
|
||||
}
|
||||
|
||||
xdim 0.5;
|
||||
ydim 1;
|
||||
zdim 0.1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(0 0 0)
|
||||
($xdim 0 0)
|
||||
($xdim $ydim 0)
|
||||
(0 $ydim 0)
|
||||
|
||||
(0 0 $zdim)
|
||||
($xdim 0 $zdim)
|
||||
($xdim $ydim $zdim)
|
||||
(0 $ydim $zdim)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (2 2 1) grading (1 1 1)
|
||||
);
|
||||
|
||||
|
||||
boundary
|
||||
(
|
||||
left // left-side (face 0)
|
||||
{
|
||||
type wall;
|
||||
faces ((0 0));
|
||||
}
|
||||
|
||||
slab1_to_2 // right-side (face 1)
|
||||
{
|
||||
type wall;
|
||||
faces ((0 1));
|
||||
}
|
||||
|
||||
bottom // face 2
|
||||
{
|
||||
type wall;
|
||||
faces ((0 2));
|
||||
}
|
||||
|
||||
to_top // top: face 3
|
||||
{
|
||||
type wall;
|
||||
faces ((0 3));
|
||||
}
|
||||
|
||||
frontAndBack // face 4 5
|
||||
{
|
||||
type empty;
|
||||
faces ((0 4) (0 5));
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1 @@
|
||||
../../common/system/controlDict
|
||||
@ -0,0 +1 @@
|
||||
../../common/system/decomposeParDict
|
||||
1
tutorials/basic/laplacianFoam/multiWorld2/slab1/system/fvSchemes
Symbolic link
1
tutorials/basic/laplacianFoam/multiWorld2/slab1/system/fvSchemes
Symbolic link
@ -0,0 +1 @@
|
||||
../../common/system/fvSchemes
|
||||
@ -0,0 +1 @@
|
||||
../../common/system/fvSolution
|
||||
Reference in New Issue
Block a user