Upload folder using huggingface_hub (part 14)
Browse files- raw/rising_bubble/t19/0/p_rgh +43 -0
- raw/rising_bubble/t19/Allrun +42 -0
- raw/rising_bubble/t19/constant/g +12 -0
- raw/rising_bubble/t19/constant/polyMesh/boundary +57 -0
- raw/rising_bubble/t19/constant/polyMesh/faces +0 -0
- raw/rising_bubble/t19/constant/polyMesh/neighbour +0 -0
- raw/rising_bubble/t19/constant/polyMesh/owner +0 -0
- raw/rising_bubble/t19/constant/polyMesh/points +0 -0
- raw/rising_bubble/t19/constant/transportProperties +38 -0
- raw/rising_bubble/t19/constant/turbulenceProperties +9 -0
- raw/rising_bubble/t19/system/blockMeshDict +74 -0
- raw/rising_bubble/t19/system/controlDict +31 -0
- raw/rising_bubble/t19/system/decomposeParDict +18 -0
- raw/rising_bubble/t19/system/fvSchemes +47 -0
- raw/rising_bubble/t19/system/fvSolution +79 -0
- raw/rising_bubble/t20/0/U +0 -0
- raw/rising_bubble/t20/0/U.template +39 -0
- raw/rising_bubble/t20/0/alpha.water +0 -0
- raw/rising_bubble/t20/0/alpha.water.template +40 -0
- raw/rising_bubble/t20/0/p_rgh +43 -0
raw/rising_bubble/t19/0/p_rgh
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class volScalarField;
|
| 6 |
+
object p_rgh;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
dimensions [1 -1 -2 0 0 0 0];
|
| 10 |
+
|
| 11 |
+
internalField uniform 0;
|
| 12 |
+
|
| 13 |
+
boundaryField
|
| 14 |
+
{
|
| 15 |
+
leftWall
|
| 16 |
+
{
|
| 17 |
+
type fixedFluxPressure;
|
| 18 |
+
value uniform 0;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
rightWall
|
| 22 |
+
{
|
| 23 |
+
type fixedFluxPressure;
|
| 24 |
+
value uniform 0;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
lowerWall
|
| 28 |
+
{
|
| 29 |
+
type fixedFluxPressure;
|
| 30 |
+
value uniform 0;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
upperWall
|
| 34 |
+
{
|
| 35 |
+
type fixedFluxPressure;
|
| 36 |
+
value uniform 0;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
defaultFaces
|
| 40 |
+
{
|
| 41 |
+
type empty;
|
| 42 |
+
}
|
| 43 |
+
}
|
raw/rising_bubble/t19/Allrun
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# rising_bubble Allrun 脚本
|
| 3 |
+
# 参考: Hysing, S. et al. (2009), Int. J. Numer. Meth. Fluids, 60(11), 1259-1288.
|
| 4 |
+
|
| 5 |
+
cd "$(dirname "${BASH_SOURCE[0]}")" || exit 1
|
| 6 |
+
|
| 7 |
+
N_PROCS=${1:-1}
|
| 8 |
+
|
| 9 |
+
echo "=== rising_bubble: blockMesh ==="
|
| 10 |
+
blockMesh > log.blockMesh 2>&1
|
| 11 |
+
if [ $? -ne 0 ]; then
|
| 12 |
+
echo "ERROR: blockMesh failed, see log.blockMesh"
|
| 13 |
+
exit 1
|
| 14 |
+
fi
|
| 15 |
+
|
| 16 |
+
if [ "$N_PROCS" -gt 1 ]; then
|
| 17 |
+
echo "=== rising_bubble: decomposePar (np=$N_PROCS) ==="
|
| 18 |
+
decomposePar -force > log.decomposePar 2>&1
|
| 19 |
+
if [ $? -ne 0 ]; then
|
| 20 |
+
echo "ERROR: decomposePar failed"
|
| 21 |
+
exit 1
|
| 22 |
+
fi
|
| 23 |
+
|
| 24 |
+
echo "=== rising_bubble: interFoam (parallel, np=$N_PROCS) ==="
|
| 25 |
+
mpirun -np "$N_PROCS" interFoam -parallel > log.interFoam 2>&1
|
| 26 |
+
if [ $? -ne 0 ]; then
|
| 27 |
+
echo "ERROR: interFoam failed"
|
| 28 |
+
exit 1
|
| 29 |
+
fi
|
| 30 |
+
|
| 31 |
+
echo "=== rising_bubble: reconstructPar ==="
|
| 32 |
+
reconstructPar > log.reconstructPar 2>&1
|
| 33 |
+
else
|
| 34 |
+
echo "=== rising_bubble: interFoam (serial) ==="
|
| 35 |
+
interFoam > log.interFoam 2>&1
|
| 36 |
+
if [ $? -ne 0 ]; then
|
| 37 |
+
echo "ERROR: interFoam failed"
|
| 38 |
+
exit 1
|
| 39 |
+
fi
|
| 40 |
+
fi
|
| 41 |
+
|
| 42 |
+
echo "=== rising_bubble 完成 ==="
|
raw/rising_bubble/t19/constant/g
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class uniformDimensionedVectorField;
|
| 6 |
+
object g;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
dimensions [0 1 -2 0 0 0 0];
|
| 10 |
+
value (0 -0.98 0);
|
| 11 |
+
// Hysing 无量纲 g*=-0.98; 有量纲值 g = g* × U_ref^2 / L_ref
|
| 12 |
+
// = -0.98 × 1^2 / 1 = -0.98 m/s^2
|
raw/rising_bubble/t19/constant/polyMesh/boundary
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*--------------------------------*- C++ -*----------------------------------*\
|
| 2 |
+
| ========= | |
|
| 3 |
+
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| 4 |
+
| \\ / O peration | Version: |
|
| 5 |
+
| \\ / A nd | Web: www.OpenFOAM.com |
|
| 6 |
+
| \\/ M anipulation | |
|
| 7 |
+
\*---------------------------------------------------------------------------*/
|
| 8 |
+
FoamFile
|
| 9 |
+
{
|
| 10 |
+
version 2.0;
|
| 11 |
+
format ascii;
|
| 12 |
+
class polyBoundaryMesh;
|
| 13 |
+
location "constant/polyMesh";
|
| 14 |
+
object boundary;
|
| 15 |
+
}
|
| 16 |
+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
| 17 |
+
|
| 18 |
+
5
|
| 19 |
+
(
|
| 20 |
+
leftWall
|
| 21 |
+
{
|
| 22 |
+
type wall;
|
| 23 |
+
inGroups 1(wall);
|
| 24 |
+
nFaces 256;
|
| 25 |
+
startFace 65152;
|
| 26 |
+
}
|
| 27 |
+
rightWall
|
| 28 |
+
{
|
| 29 |
+
type wall;
|
| 30 |
+
inGroups 1(wall);
|
| 31 |
+
nFaces 256;
|
| 32 |
+
startFace 65408;
|
| 33 |
+
}
|
| 34 |
+
lowerWall
|
| 35 |
+
{
|
| 36 |
+
type wall;
|
| 37 |
+
inGroups 1(wall);
|
| 38 |
+
nFaces 128;
|
| 39 |
+
startFace 65664;
|
| 40 |
+
}
|
| 41 |
+
upperWall
|
| 42 |
+
{
|
| 43 |
+
type wall;
|
| 44 |
+
inGroups 1(wall);
|
| 45 |
+
nFaces 128;
|
| 46 |
+
startFace 65792;
|
| 47 |
+
}
|
| 48 |
+
defaultFaces
|
| 49 |
+
{
|
| 50 |
+
type empty;
|
| 51 |
+
inGroups 1(empty);
|
| 52 |
+
nFaces 65536;
|
| 53 |
+
startFace 65920;
|
| 54 |
+
}
|
| 55 |
+
)
|
| 56 |
+
|
| 57 |
+
// ************************************************************************* //
|
raw/rising_bubble/t19/constant/polyMesh/faces
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw/rising_bubble/t19/constant/polyMesh/neighbour
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw/rising_bubble/t19/constant/polyMesh/owner
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw/rising_bubble/t19/constant/polyMesh/points
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw/rising_bubble/t19/constant/transportProperties
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class dictionary;
|
| 6 |
+
object transportProperties;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
// 浮力气泡算例物性参数
|
| 10 |
+
// 参考: Hysing, S. et al. (2009). "Quantitative benchmark computations
|
| 11 |
+
// of two-dimensional bubble dynamics." Int. J. Numer. Meth. Fluids,
|
| 12 |
+
// 60(11), 1259-1288.
|
| 13 |
+
//
|
| 14 |
+
// Hysing Case 1 (低变形): 密度比 10:1, 粘度比 10:1
|
| 15 |
+
// 无量纲参数: Re=35, Eo=10
|
| 16 |
+
// Mo = g·μ₁⁴·Δρ/(ρ₁·σ³) ≈ 0.60(Clift 定义;不同 Mo 定义数值差异可达 15x)
|
| 17 |
+
// Eo 定义: Eo = ρ1 * g * D² / σ (Hysing 原文用 ρ1 而非 Δρ)
|
| 18 |
+
// 有量纲参数基于 L_ref=1m, U_ref=1m/s 换算
|
| 19 |
+
|
| 20 |
+
phases (water air);
|
| 21 |
+
|
| 22 |
+
water
|
| 23 |
+
{
|
| 24 |
+
transportModel Newtonian;
|
| 25 |
+
nu 0.01; // 运动粘度 [m^2/s] (μ=10 Pa·s, Hysing Case 1)
|
| 26 |
+
rho 1000; // 密度 [kg/m^3]
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
air
|
| 30 |
+
{
|
| 31 |
+
transportModel Newtonian;
|
| 32 |
+
nu 0.01; // 运动粘度 [m^2/s] (μ=1 Pa·s, ρ=100 kg/m³)
|
| 33 |
+
rho 100; // 密度 [kg/m^3] (密度比 10:1)
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
sigma 24.5; // 表面张力系数 [N/m]
|
| 37 |
+
// Hysing Case 1: Eo = ρ1 × g × D² / σ = 10
|
| 38 |
+
// σ = ρ1 × g × D² / Eo = 1000 × 0.98 × 0.25 / 10 = 24.5 N/m (D=2R=0.5, D²=0.25)
|
raw/rising_bubble/t19/constant/turbulenceProperties
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class dictionary;
|
| 6 |
+
object turbulenceProperties;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
simulationType laminar;
|
raw/rising_bubble/t19/system/blockMeshDict
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class dictionary;
|
| 6 |
+
object blockMeshDict;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
// 浮力气泡算例 — Hysing et al. (2009) Case 1
|
| 10 |
+
// 参考: Hysing, S. et al. (2009). "Quantitative benchmark computations
|
| 11 |
+
// of two-dimensional bubble dynamics." Int. J. Numer. Meth. Fluids,
|
| 12 |
+
// 60(11), 1259-1288.
|
| 13 |
+
// 域尺寸: 1m x 2m (X x Y), Z 方向单层(2D, empty 边界)
|
| 14 |
+
// 网格: 128 x 256
|
| 15 |
+
|
| 16 |
+
scale 1;
|
| 17 |
+
|
| 18 |
+
vertices
|
| 19 |
+
(
|
| 20 |
+
(0 0 0) // 0
|
| 21 |
+
(1 0 0) // 1
|
| 22 |
+
(1 2 0) // 2
|
| 23 |
+
(0 2 0) // 3
|
| 24 |
+
(0 0 0.001) // 4
|
| 25 |
+
(1 0 0.001) // 5
|
| 26 |
+
(1 2 0.001) // 6
|
| 27 |
+
(0 2 0.001) // 7
|
| 28 |
+
);
|
| 29 |
+
|
| 30 |
+
blocks
|
| 31 |
+
(
|
| 32 |
+
hex (0 1 2 3 4 5 6 7) (128 256 1) simpleGrading (1 1 1)
|
| 33 |
+
);
|
| 34 |
+
|
| 35 |
+
edges
|
| 36 |
+
(
|
| 37 |
+
);
|
| 38 |
+
|
| 39 |
+
boundary
|
| 40 |
+
(
|
| 41 |
+
leftWall
|
| 42 |
+
{
|
| 43 |
+
type wall;
|
| 44 |
+
faces ( (0 4 7 3) );
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
rightWall
|
| 48 |
+
{
|
| 49 |
+
type wall;
|
| 50 |
+
faces ( (1 2 6 5) );
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
lowerWall
|
| 54 |
+
{
|
| 55 |
+
type wall;
|
| 56 |
+
faces ( (0 1 5 4) );
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
upperWall
|
| 60 |
+
{
|
| 61 |
+
type wall;
|
| 62 |
+
faces ( (3 7 6 2) );
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
defaultFaces
|
| 66 |
+
{
|
| 67 |
+
type empty;
|
| 68 |
+
faces
|
| 69 |
+
(
|
| 70 |
+
(0 3 2 1)
|
| 71 |
+
(4 5 6 7)
|
| 72 |
+
);
|
| 73 |
+
}
|
| 74 |
+
);
|
raw/rising_bubble/t19/system/controlDict
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class dictionary;
|
| 6 |
+
object controlDict;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
application interFoam;
|
| 10 |
+
|
| 11 |
+
startFrom startTime;
|
| 12 |
+
startTime 0;
|
| 13 |
+
stopAt endTime;
|
| 14 |
+
endTime 3.0; // 气泡上升物理时长 [s](足够达到 terminal velocity)
|
| 15 |
+
|
| 16 |
+
deltaT 0.002; // 初始时间步 [s](高粘度,需更小时间步)
|
| 17 |
+
writeControl adjustableRunTime;
|
| 18 |
+
writeInterval 0.12; // 每 0.01s 保存一帧 → 300 帧(统一 10ms 间隔)
|
| 19 |
+
|
| 20 |
+
purgeWrite 0;
|
| 21 |
+
writeFormat ascii; // ASCII 格式,便于后处理脚本读取
|
| 22 |
+
writePrecision 8;
|
| 23 |
+
timeFormat general;
|
| 24 |
+
timePrecision 6;
|
| 25 |
+
|
| 26 |
+
adjustTimeStep yes;
|
| 27 |
+
maxCo 0.5;
|
| 28 |
+
maxAlphaCo 0.5;
|
| 29 |
+
maxDeltaT 0.002;
|
| 30 |
+
|
| 31 |
+
functions {};
|
raw/rising_bubble/t19/system/decomposeParDict
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class dictionary;
|
| 6 |
+
object decomposeParDict;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
numberOfSubdomains 16;
|
| 10 |
+
|
| 11 |
+
method hierarchical;
|
| 12 |
+
|
| 13 |
+
hierarchicalCoeffs
|
| 14 |
+
{
|
| 15 |
+
n (4 4 1);
|
| 16 |
+
delta 0.001;
|
| 17 |
+
order xyz;
|
| 18 |
+
}
|
raw/rising_bubble/t19/system/fvSchemes
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class dictionary;
|
| 6 |
+
object fvSchemes;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
ddtSchemes
|
| 10 |
+
{
|
| 11 |
+
default Euler;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
gradSchemes
|
| 15 |
+
{
|
| 16 |
+
default Gauss linear;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
divSchemes
|
| 20 |
+
{
|
| 21 |
+
default none;
|
| 22 |
+
|
| 23 |
+
div(rhoPhi,U) Gauss linearUpwind grad(U);
|
| 24 |
+
div(phi,alpha) Gauss vanLeer;
|
| 25 |
+
div(phirb,alpha) Gauss interfaceCompression vanLeer;
|
| 26 |
+
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear corrected;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
laplacianSchemes
|
| 30 |
+
{
|
| 31 |
+
default Gauss linear corrected;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
interpolationSchemes
|
| 35 |
+
{
|
| 36 |
+
default linear;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
snGradSchemes
|
| 40 |
+
{
|
| 41 |
+
default uncorrected;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
wallDist
|
| 45 |
+
{
|
| 46 |
+
method meshWave;
|
| 47 |
+
}
|
raw/rising_bubble/t19/system/fvSolution
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class dictionary;
|
| 6 |
+
object fvSolution;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
solvers
|
| 10 |
+
{
|
| 11 |
+
"alpha.water.*"
|
| 12 |
+
{
|
| 13 |
+
nAlphaCorr 2;
|
| 14 |
+
nAlphaSubCycles 1;
|
| 15 |
+
cAlpha 1;
|
| 16 |
+
|
| 17 |
+
solver smoothSolver;
|
| 18 |
+
smoother symGaussSeidel;
|
| 19 |
+
tolerance 1e-8;
|
| 20 |
+
relTol 0;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
"pcorr.*"
|
| 24 |
+
{
|
| 25 |
+
solver PCG;
|
| 26 |
+
preconditioner DIC;
|
| 27 |
+
tolerance 1e-5;
|
| 28 |
+
relTol 0;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
"pcorrFinal.*"
|
| 32 |
+
{
|
| 33 |
+
$pcorr;
|
| 34 |
+
relTol 0;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
"p_rgh.*"
|
| 38 |
+
{
|
| 39 |
+
solver PCG;
|
| 40 |
+
preconditioner DIC;
|
| 41 |
+
tolerance 1e-07;
|
| 42 |
+
relTol 0.05;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
"p_rghFinal.*"
|
| 46 |
+
{
|
| 47 |
+
$p_rgh;
|
| 48 |
+
relTol 0;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
"U.*"
|
| 52 |
+
{
|
| 53 |
+
solver smoothSolver;
|
| 54 |
+
smoother symGaussSeidel;
|
| 55 |
+
tolerance 1e-06;
|
| 56 |
+
relTol 0;
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
PIMPLE
|
| 61 |
+
{
|
| 62 |
+
nOuterCorrectors 1;
|
| 63 |
+
nCorrectors 3;
|
| 64 |
+
nNonOrthogonalCorrectors 0;
|
| 65 |
+
pRefCell 0;
|
| 66 |
+
pRefValue 0;
|
| 67 |
+
|
| 68 |
+
MULESCorr yes;
|
| 69 |
+
nLimiterIter 5;
|
| 70 |
+
momentumPredictor no;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
relaxationFactors
|
| 74 |
+
{
|
| 75 |
+
equations
|
| 76 |
+
{
|
| 77 |
+
".*" 1;
|
| 78 |
+
}
|
| 79 |
+
}
|
raw/rising_bubble/t20/0/U
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw/rising_bubble/t20/0/U.template
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class volVectorField;
|
| 6 |
+
object U;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
dimensions [0 1 -1 0 0 0 0];
|
| 10 |
+
|
| 11 |
+
internalField uniform (0 0 0);
|
| 12 |
+
|
| 13 |
+
boundaryField
|
| 14 |
+
{
|
| 15 |
+
leftWall
|
| 16 |
+
{
|
| 17 |
+
type slip;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
rightWall
|
| 21 |
+
{
|
| 22 |
+
type slip;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
lowerWall
|
| 26 |
+
{
|
| 27 |
+
type slip; // Hysing benchmark: 所有壁面均为自由滑移(对称面)
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
upperWall
|
| 31 |
+
{
|
| 32 |
+
type slip; // Hysing benchmark: 所有壁面均为自由滑移(对称面)
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
defaultFaces
|
| 36 |
+
{
|
| 37 |
+
type empty;
|
| 38 |
+
}
|
| 39 |
+
}
|
raw/rising_bubble/t20/0/alpha.water
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
raw/rising_bubble/t20/0/alpha.water.template
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class volScalarField;
|
| 6 |
+
object alpha.water;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
dimensions [0 0 0 0 0 0 0];
|
| 10 |
+
|
| 11 |
+
// 初始值:全部为水(alpha=1),气泡区域由 gen_init_conditions.py 设置为 0
|
| 12 |
+
internalField uniform 1;
|
| 13 |
+
|
| 14 |
+
boundaryField
|
| 15 |
+
{
|
| 16 |
+
leftWall
|
| 17 |
+
{
|
| 18 |
+
type zeroGradient;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
rightWall
|
| 22 |
+
{
|
| 23 |
+
type zeroGradient;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
lowerWall
|
| 27 |
+
{
|
| 28 |
+
type zeroGradient;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
upperWall
|
| 32 |
+
{
|
| 33 |
+
type zeroGradient;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
defaultFaces
|
| 37 |
+
{
|
| 38 |
+
type empty;
|
| 39 |
+
}
|
| 40 |
+
}
|
raw/rising_bubble/t20/0/p_rgh
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FoamFile
|
| 2 |
+
{
|
| 3 |
+
version 2.0;
|
| 4 |
+
format ascii;
|
| 5 |
+
class volScalarField;
|
| 6 |
+
object p_rgh;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
dimensions [1 -1 -2 0 0 0 0];
|
| 10 |
+
|
| 11 |
+
internalField uniform 0;
|
| 12 |
+
|
| 13 |
+
boundaryField
|
| 14 |
+
{
|
| 15 |
+
leftWall
|
| 16 |
+
{
|
| 17 |
+
type fixedFluxPressure;
|
| 18 |
+
value uniform 0;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
rightWall
|
| 22 |
+
{
|
| 23 |
+
type fixedFluxPressure;
|
| 24 |
+
value uniform 0;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
lowerWall
|
| 28 |
+
{
|
| 29 |
+
type fixedFluxPressure;
|
| 30 |
+
value uniform 0;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
upperWall
|
| 34 |
+
{
|
| 35 |
+
type fixedFluxPressure;
|
| 36 |
+
value uniform 0;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
defaultFaces
|
| 40 |
+
{
|
| 41 |
+
type empty;
|
| 42 |
+
}
|
| 43 |
+
}
|