File tree Expand file tree Collapse file tree 13 files changed +628
-0
lines changed
abruptContraction/simpleFoam Expand file tree Collapse file tree 13 files changed +628
-0
lines changed Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ | ========= | |
3+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+ | \\ / O peration | Version: 4.1 |
5+ | \\ / A nd | Web: www.OpenFOAM.org |
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 fixedValue;
27+ value uniform (5 0 0 );
28+
29+ }
30+ outlet
31+ {
32+ type zeroGradient;
33+
34+ }
35+ side
36+ {
37+ type noSlip;
38+ }
39+ walls
40+ {
41+ type noSlip;
42+ }
43+ symmetry
44+ {
45+ type symmetry;
46+ }
47+ }
48+
49+
50+ // ************************************************************************* //
Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ | ========= | |
3+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+ | \\ / O peration | Version: 5 |
5+ | \\ / A nd | Web: www.OpenFOAM.org |
6+ | \\/ M anipulation | |
7+ \*---------------------------------------------------------------------------*/
8+ FoamFile
9+ {
10+ version 2.0 ;
11+ format ascii;
12+ class volScalarField ;
13+ location " 0" ;
14+ object epsilon;
15+ }
16+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+ dimensions [0 2 -3 0 0 0 0 ];
19+
20+ internalField uniform 14.855 ;
21+
22+ boundaryField
23+ {
24+ inlet
25+ {
26+ type fixedValue;
27+ value uniform 14.855 ;
28+ }
29+ outlet
30+ {
31+ type zeroGradient;
32+ }
33+ walls
34+ {
35+ type epsilonWallFunction;
36+ value uniform 14.855 ;
37+ }
38+ side
39+ {
40+ type epsilonWallFunction;
41+ value uniform 14.855 ;
42+ }
43+ symmetry
44+ {
45+ type symmetry;
46+ }
47+ }
48+
49+
50+ // ************************************************************************* //
Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ | ========= | |
3+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+ | \\ / O peration | Version: 4.1 |
5+ | \\ / A nd | Web: www.OpenFOAM.org |
6+ | \\/ M anipulation | |
7+ \*---------------------------------------------------------------------------*/
8+ FoamFile
9+ {
10+ version 2.0 ;
11+ format ascii;
12+ class volScalarField ;
13+ object k;
14+ }
15+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+ dimensions [0 2 -2 0 0 0 0 ];
18+
19+ internalField uniform 0 ;
20+
21+ boundaryField
22+ {
23+ inlet
24+ {
25+ type fixedValue;
26+ value uniform 2e-05 ;
27+ }
28+
29+ outlet
30+ {
31+ type inletOutlet;
32+ inletValue uniform 0 ;
33+ value uniform 0 ;
34+ }
35+
36+ side
37+ {
38+ type fixedValue;
39+ value uniform 0 ;
40+ }
41+
42+ walls
43+ {
44+ type fixedValue;
45+ value uniform 0 ;
46+ }
47+
48+ symmetry
49+ {
50+ type symmetry;
51+ }
52+ }
53+
54+ // ************************************************************************* //
Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ | ========= | |
3+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+ | \\ / O peration | Version: 4.1 |
5+ | \\ / A nd | Web: www.OpenFOAM.org |
6+ | \\/ M anipulation | |
7+ \*---------------------------------------------------------------------------*/
8+ FoamFile
9+ {
10+ version 2.0 ;
11+ format ascii;
12+ class volScalarField ;
13+ object nut;
14+ }
15+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+ dimensions [0 2 -1 0 0 0 0 ];
18+
19+ internalField uniform 0 ;
20+
21+ boundaryField
22+ {
23+ inlet
24+ {
25+ type zeroGradient;
26+ }
27+
28+ outlet
29+ {
30+ type zeroGradient;
31+ }
32+
33+ side
34+ {
35+ type zeroGradient;
36+ }
37+
38+ walls
39+ {
40+ type zeroGradient;
41+ }
42+
43+ symmetry
44+ {
45+ type symmetry;
46+ }
47+ }
48+
49+ // ************************************************************************* //
Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ | ========= | |
3+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+ | \\ / O peration | Version: 3.0.0 |
5+ | \\ / A nd | Web: www.OpenFOAM.org |
6+ | \\/ M anipulation | |
7+ \*---------------------------------------------------------------------------*/
8+ FoamFile
9+ {
10+ version 2.0 ;
11+ format ascii;
12+ class volScalarField ;
13+ location " 0" ;
14+ object p_rgh;
15+ }
16+ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17+
18+ dimensions [0 2 -2 0 0 ];
19+
20+ internalField uniform 72 ;
21+
22+ boundaryField
23+ {
24+ inlet
25+ {
26+ type zeroGradient;
27+ }
28+
29+ outlet
30+ {
31+ type fixedValue;
32+ value uniform 72 ; // experimental value
33+ }
34+
35+ walls
36+ {
37+ type zeroGradient;
38+ }
39+ side
40+ {
41+ type zeroGradient;
42+ }
43+ symmetry
44+ {
45+ type symmetry;
46+ }
47+ }
48+
49+ // ************************************************************************* //
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ cd ${0%/* } || exit 1 # Run from this directory
3+
4+ # Source tutorial clean functions
5+ . $WM_PROJECT_DIR /bin/tools/CleanFunctions
6+
7+ # Remove copy of 0.org
8+ # rm -rf 0
9+
10+ cleanCase
11+
12+ # ----------------------------------------------------------------- end-of-file
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ cd ${0%/* } || exit 1 # Run from this directory
3+
4+ # Source tutorial run functions
5+ . $WM_PROJECT_DIR /bin/tools/RunFunctions
6+
7+ # Generate the base block mesh and refine
8+ ./Allrun.mesh
9+
10+ # Run the solver in parallel
11+ runApplication ` getApplication`
12+
13+ # ----------------------------------------------------------------- end-of-file
Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ | ========= | |
3+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+ | \\ / O peration | Version: 4.1 |
5+ | \\ / A nd | Web: www.OpenFOAM.org |
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+ transportModel Newtonian;
19+
20+ nu [0 2 -1 0 0 0 0 ] 9e-07 ;
21+
22+ // ************************************************************************* //
Original file line number Diff line number Diff line change 1+ /* --------------------------------*- C++ -*----------------------------------*\
2+ | ========= | |
3+ | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4+ | \\ / O peration | Version: 5 |
5+ | \\ / A nd | Web: www.OpenFOAM.org |
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 RAS;
19+
20+ RAS
21+ {
22+ RASModel kEpsilon ;
23+
24+ turbulence on;
25+
26+ printCoeffs on;
27+ }
28+
29+
30+ // ************************************************************************* //
You can’t perform that action at this time.
0 commit comments