File size: 1,246 Bytes
f86582d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// 浮力气泡算例 — Hysing et al. (2009) Case 1
// 参考: Hysing, S. et al. (2009). "Quantitative benchmark computations
// of two-dimensional bubble dynamics." Int. J. Numer. Meth. Fluids,
// 60(11), 1259-1288.
// 域尺寸: 1m x 2m (X x Y), Z 方向单层(2D, empty 边界)
// 网格: 128 x 256
scale 1;
vertices
(
(0 0 0) // 0
(1 0 0) // 1
(1 2 0) // 2
(0 2 0) // 3
(0 0 0.001) // 4
(1 0 0.001) // 5
(1 2 0.001) // 6
(0 2 0.001) // 7
);
blocks
(
hex (0 1 2 3 4 5 6 7) (128 256 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
leftWall
{
type wall;
faces ( (0 4 7 3) );
}
rightWall
{
type wall;
faces ( (1 2 6 5) );
}
lowerWall
{
type wall;
faces ( (0 1 5 4) );
}
upperWall
{
type wall;
faces ( (3 7 6 2) );
}
defaultFaces
{
type empty;
faces
(
(0 3 2 1)
(4 5 6 7)
);
}
);
|