| 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) | |
| ); | |
| } | |
| ); | |