AlanZee commited on
Commit
5fe240b
·
verified ·
1 Parent(s): e431c31

Upload folder using huggingface_hub (part 23)

Browse files
raw/stokes_wave/t13/system/controlDict ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class dictionary;
13
+ location "system";
14
+ object controlDict;
15
+ }
16
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17
+
18
+ application interFoam;
19
+
20
+ startFrom startTime;
21
+
22
+ startTime 0;
23
+
24
+ stopAt endTime;
25
+
26
+ endTime 20.0;
27
+
28
+ deltaT 0.01;
29
+
30
+ writeControl adjustableRunTime;
31
+
32
+ writeInterval 0.8; // endTime/25 → 25 帧
33
+
34
+ purgeWrite 0;
35
+
36
+ writeFormat ascii;
37
+
38
+ writePrecision 6;
39
+
40
+ writeCompression off;
41
+
42
+ timeFormat general;
43
+
44
+ timePrecision 6;
45
+
46
+ runTimeModifiable yes;
47
+
48
+ adjustTimeStep on;
49
+
50
+ maxCo 0.65;
51
+
52
+ maxAlphaCo 0.65;
53
+
54
+ maxDeltaT 0.05;
55
+
56
+ functions {};
57
+
58
+
59
+ // ************************************************************************* //
raw/stokes_wave/t13/system/decomposeParDict ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class dictionary;
13
+ object decomposeParDict;
14
+ }
15
+
16
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17
+
18
+ numberOfSubdomains 16;
19
+
20
+ method hierarchical;
21
+
22
+ coeffs
23
+ {
24
+ n (4 4 1);
25
+ }
26
+
27
+ // ************************************************************************* //
raw/stokes_wave/t13/system/fvSchemes ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /*--------------------------------*- C++ -*----------------------------------*\
3
+ | ========= | |
4
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
5
+ | \\ / O peration | Version: v1906 |
6
+ | \\ / A nd | Web: www.OpenFOAM.com |
7
+ | \\/ M anipulation | |
8
+ \*---------------------------------------------------------------------------*/
9
+ FoamFile
10
+ {
11
+ version 2.0;
12
+ format ascii;
13
+ class dictionary;
14
+ location "system";
15
+ object fvSchemes;
16
+ }
17
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18
+
19
+ ddtSchemes
20
+ {
21
+ default Euler;
22
+ }
23
+
24
+ gradSchemes
25
+ {
26
+ default Gauss linear;
27
+ }
28
+
29
+ divSchemes
30
+ {
31
+ div(rhoPhi,U) Gauss linearUpwind grad(U);
32
+ div(phi,alpha) Gauss vanLeer;
33
+ div(phirb,alpha) Gauss linear;
34
+ div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
35
+ }
36
+
37
+ laplacianSchemes
38
+ {
39
+ default Gauss linear orthogonal;
40
+ }
41
+
42
+ interpolationSchemes
43
+ {
44
+ default linear;
45
+ }
46
+
47
+ snGradSchemes
48
+ {
49
+ default orthogonal;
50
+ }
51
+
52
+
53
+ // ************************************************************************* //
raw/stokes_wave/t13/system/fvSolution ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /*--------------------------------*- C++ -*----------------------------------*\
3
+ | ========= | |
4
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
5
+ | \\ / O peration | Version: v1906 |
6
+ | \\ / A nd | Web: www.OpenFOAM.com |
7
+ | \\/ M anipulation | |
8
+ \*---------------------------------------------------------------------------*/
9
+ FoamFile
10
+ {
11
+ version 2.0;
12
+ format ascii;
13
+ class dictionary;
14
+ location "system";
15
+ object fvSolution;
16
+ }
17
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18
+
19
+ solvers
20
+ {
21
+ "alpha.water.*"
22
+ {
23
+ nAlphaCorr 1;
24
+ nAlphaSubCycles 3;
25
+ cAlpha 1;
26
+ }
27
+
28
+ "pcorr.*"
29
+ {
30
+ solver PCG;
31
+ preconditioner DIC;
32
+ tolerance 1e-6;
33
+ relTol 0;
34
+ }
35
+
36
+ p_rgh
37
+ {
38
+ solver PCG;
39
+ preconditioner DIC;
40
+ tolerance 1e-6;
41
+ relTol 0.1;
42
+ }
43
+
44
+ p_rghFinal
45
+ {
46
+ solver GAMG;
47
+ smoother DIC;
48
+ tolerance 1e-7;
49
+ relTol 0;
50
+ }
51
+
52
+ U
53
+ {
54
+ solver PBiCG;
55
+ preconditioner DILU;
56
+ tolerance 1e-6;
57
+ relTol 0.1;
58
+ }
59
+
60
+ UFinal
61
+ {
62
+ solver PBiCG;
63
+ preconditioner DILU;
64
+ tolerance 1e-6;
65
+ relTol 0;
66
+ }
67
+ }
68
+
69
+ PIMPLE
70
+ {
71
+ momentumPredictor no;
72
+ nCorrectors 2;
73
+ nNonOrthogonalCorrectors 0;
74
+ }
75
+
76
+
77
+ // ************************************************************************* //
raw/stokes_wave/t13/system/setFieldsDict ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class dictionary;
13
+ location "system";
14
+ object setFieldsDict;
15
+ }
16
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17
+
18
+ defaultFieldValues
19
+ (
20
+ volScalarFieldValue alpha.water 0
21
+ );
22
+
23
+ regions
24
+ (
25
+ boxToCell
26
+ {
27
+ box (0 0 0) (30.0 1.0 0.36066928721576863);
28
+ fieldValues
29
+ (
30
+ volScalarFieldValue alpha.water 1
31
+ );
32
+ }
33
+ );
34
+
35
+
36
+ // ************************************************************************* //
raw/stokes_wave/t14/0/U ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class volVectorField;
13
+ location "0";
14
+ object U;
15
+ }
16
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17
+
18
+ dimensions [0 1 -1 0 0 0 0];
19
+
20
+ internalField uniform (0 0 0);
21
+
22
+ boundaryField
23
+ {
24
+ inlet
25
+ {
26
+ type waveVelocity;
27
+ value uniform (0 0 0);
28
+ }
29
+
30
+ outlet
31
+ {
32
+ type waveVelocity;
33
+ value uniform (0 0 0);
34
+ }
35
+
36
+ sides
37
+ {
38
+ type empty;
39
+ }
40
+
41
+ ground
42
+ {
43
+ type fixedValue;
44
+ value uniform (0 0 0);
45
+ }
46
+
47
+ top
48
+ {
49
+ type pressureInletOutletVelocity;
50
+ value uniform (0 0 0);
51
+ }
52
+ }
53
+
54
+ // ************************************************************************* //
raw/stokes_wave/t14/0/U.template ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class volVectorField;
13
+ location "0";
14
+ object U;
15
+ }
16
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17
+
18
+ dimensions [0 1 -1 0 0 0 0];
19
+
20
+ internalField uniform (0 0 0);
21
+
22
+ boundaryField
23
+ {
24
+ inlet
25
+ {
26
+ type waveVelocity;
27
+ value uniform (0 0 0);
28
+ }
29
+
30
+ outlet
31
+ {
32
+ type waveVelocity;
33
+ value uniform (0 0 0);
34
+ }
35
+
36
+ sides
37
+ {
38
+ type empty;
39
+ }
40
+
41
+ ground
42
+ {
43
+ type fixedValue;
44
+ value uniform (0 0 0);
45
+ }
46
+
47
+ top
48
+ {
49
+ type pressureInletOutletVelocity;
50
+ value uniform (0 0 0);
51
+ }
52
+ }
53
+
54
+ // ************************************************************************* //
raw/stokes_wave/t14/0/alpha.water ADDED
The diff for this file is too large to render. See raw diff
 
raw/stokes_wave/t14/0/alpha.water.template ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class volScalarField;
13
+ object alpha.water;
14
+ }
15
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16
+
17
+ dimensions [0 0 0 0 0 0 0];
18
+
19
+ internalField uniform 0;
20
+
21
+ boundaryField
22
+ {
23
+ inlet
24
+ {
25
+ type waveAlpha;
26
+ value uniform 0;
27
+ }
28
+
29
+ outlet
30
+ {
31
+ type zeroGradient;
32
+ }
33
+
34
+ ground
35
+ {
36
+ type zeroGradient;
37
+ }
38
+
39
+ sides
40
+ {
41
+ type empty;
42
+ }
43
+
44
+ top
45
+ {
46
+ type inletOutlet;
47
+ inletValue uniform 0;
48
+ value uniform 0;
49
+ }
50
+ }
51
+
52
+ // ************************************************************************* //
raw/stokes_wave/t14/0/p_rgh ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class volScalarField;
13
+ object p_rgh;
14
+ }
15
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16
+
17
+ dimensions [1 -1 -2 0 0 0 0];
18
+
19
+ internalField uniform 0;
20
+
21
+ boundaryField
22
+ {
23
+ inlet
24
+ {
25
+ type fixedFluxPressure;
26
+ value uniform 0;
27
+ }
28
+
29
+ outlet
30
+ {
31
+ type fixedFluxPressure;
32
+ value uniform 0;
33
+ }
34
+
35
+ ground
36
+ {
37
+ type fixedFluxPressure;
38
+ value uniform 0;
39
+ }
40
+
41
+ sides
42
+ {
43
+ type empty;
44
+ }
45
+
46
+ top
47
+ {
48
+ type totalPressure;
49
+ p0 uniform 0;
50
+ }
51
+ }
52
+
53
+
54
+ // ************************************************************************* //
raw/stokes_wave/t14/Allclean ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ cd ${0%/*} || exit 1 # Run from this directory
3
+ . $WM_PROJECT_DIR/bin/tools/CleanFunctions # Tutorial clean functions
4
+
5
+ cleanCase0
6
+
7
+ #------------------------------------------------------------------------------
raw/stokes_wave/t14/Allrun ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ cd ${0%/*} || exit 1 # Run from this directory
3
+ . $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
4
+
5
+ restore0Dir
6
+
7
+ runApplication blockMesh
8
+
9
+ runApplication decomposePar
10
+
11
+ runParallel setFields
12
+
13
+ runParallel $(getApplication)
14
+
15
+ #------------------------------------------------------------------------------
raw/stokes_wave/t14/constant/g ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class uniformDimensionedVectorField;
13
+ location "constant";
14
+ object g;
15
+ }
16
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17
+
18
+ dimensions [0 1 -2 0 0 0 0];
19
+ value ( 0 0 -9.81 );
20
+
21
+
22
+ // ************************************************************************* //
raw/stokes_wave/t14/constant/polyMesh/boundary ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ inlet
21
+ {
22
+ type patch;
23
+ nFaces 70;
24
+ startFace 104180;
25
+ }
26
+ outlet
27
+ {
28
+ type patch;
29
+ nFaces 70;
30
+ startFace 104250;
31
+ }
32
+ ground
33
+ {
34
+ type wall;
35
+ inGroups 1(wall);
36
+ nFaces 750;
37
+ startFace 104320;
38
+ }
39
+ top
40
+ {
41
+ type patch;
42
+ nFaces 750;
43
+ startFace 105070;
44
+ }
45
+ sides
46
+ {
47
+ type empty;
48
+ inGroups 1(empty);
49
+ nFaces 105000;
50
+ startFace 105820;
51
+ }
52
+ )
53
+
54
+ // ************************************************************************* //
raw/stokes_wave/t14/constant/polyMesh/faces ADDED
The diff for this file is too large to render. See raw diff
 
raw/stokes_wave/t14/constant/polyMesh/neighbour ADDED
The diff for this file is too large to render. See raw diff
 
raw/stokes_wave/t14/constant/polyMesh/owner ADDED
The diff for this file is too large to render. See raw diff
 
raw/stokes_wave/t14/constant/polyMesh/points ADDED
The diff for this file is too large to render. See raw diff
 
raw/stokes_wave/t14/constant/transportProperties ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*---------------------------------------------------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class dictionary;
13
+ location "constant";
14
+ object transportProperties;
15
+ }
16
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17
+
18
+ phases (water air);
19
+
20
+ water
21
+ {
22
+ transportModel Newtonian;
23
+ nu 1e-06;
24
+ rho 1000;
25
+ }
26
+
27
+ air
28
+ {
29
+ transportModel Newtonian;
30
+ nu 1.48e-05;
31
+ rho 1;
32
+ }
33
+
34
+ sigma 0.07;
35
+
36
+
37
+ // ************************************************************************* //
raw/stokes_wave/t14/constant/turbulenceProperties ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------*- C++ -*----------------------------------*\
2
+ | ========= | |
3
+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4
+ | \\ / O peration | Version: v1906 |
5
+ | \\ / A nd | Web: www.OpenFOAM.com |
6
+ | \\/ M anipulation | |
7
+ \*---------------------------------------------------------------------------*/
8
+ FoamFile
9
+ {
10
+ version 2.0;
11
+ format ascii;
12
+ class dictionary;
13
+ location "constant";
14
+ object turbulenceProperties;
15
+ }
16
+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17
+
18
+ simulationType laminar;
19
+
20
+ // ************************************************************************* //