Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rhoPimpleFoam: added cavity tutorial
- Loading branch information
Henry
authored and
Henry
committed
May 25, 2011
1 parent
a647c0d
commit ab87047
Showing
17 changed files
with
756 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volSymmTensorField; | ||
location "0"; | ||
object R; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [ 0 2 -2 0 0 0 0 ]; | ||
|
||
internalField uniform ( 0 0 0 0 0 0 ); | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type kqRWallFunction; | ||
value uniform ( 0 0 0 0 0 0 ); | ||
} | ||
|
||
fixedWalls | ||
{ | ||
type kqRWallFunction; | ||
value uniform ( 0 0 0 0 0 0 ); | ||
} | ||
|
||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
object T; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 0 1 0 0 0]; | ||
|
||
internalField uniform 300; | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
fixedWalls | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volVectorField; | ||
object U; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -1 0 0 0 0]; | ||
|
||
internalField uniform (0 0 0); | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type fixedValue; | ||
// Field Value | ||
value uniform (1 0 0); | ||
} | ||
|
||
fixedWalls | ||
{ | ||
type fixedValue; | ||
// Field Value | ||
value uniform (0 0 0); | ||
} | ||
|
||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object alphat; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [1 -1 -1 0 0 0 0]; | ||
|
||
internalField uniform 0; | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type alphatWallFunction; | ||
Prt 0.85; | ||
value uniform 0; | ||
} | ||
fixedWalls | ||
{ | ||
type alphatWallFunction; | ||
Prt 0.85; | ||
value uniform 0; | ||
} | ||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object epsilon; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [ 0 2 -3 0 0 0 0 ]; | ||
|
||
internalField uniform 0.000765; | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type compressible::epsilonWallFunction; | ||
value uniform 0; | ||
} | ||
|
||
fixedWalls | ||
{ | ||
type compressible::epsilonWallFunction; | ||
value uniform 0; | ||
} | ||
|
||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object k; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 2 -2 0 0 0 0]; | ||
|
||
internalField uniform 0.00325; | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type compressible::kqRWallFunction; | ||
value uniform 0.00325; | ||
} | ||
fixedWalls | ||
{ | ||
type compressible::kqRWallFunction; | ||
value uniform 0.00325; | ||
} | ||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object mut; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [1 -1 -1 0 0 0 0]; | ||
|
||
internalField uniform 0; | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type mutkWallFunction; | ||
Cmu 0.09; | ||
kappa 0.41; | ||
E 9.8; | ||
value uniform 0; | ||
} | ||
fixedWalls | ||
{ | ||
type mutkWallFunction; | ||
Cmu 0.09; | ||
kappa 0.41; | ||
E 9.8; | ||
value uniform 0; | ||
} | ||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "0"; | ||
object omega; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 0 -1 0 0 0 0]; | ||
|
||
internalField uniform 2.6; | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type compressible::omegaWallFunction; | ||
Cmu 0.09; | ||
kappa 0.41; | ||
E 9.8; | ||
value uniform 2.6; | ||
} | ||
fixedWalls | ||
{ | ||
type compressible::omegaWallFunction; | ||
Cmu 0.09; | ||
kappa 0.41; | ||
E 9.8; | ||
value uniform 2.6; | ||
} | ||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1.7.x | | ||
| \\ / A nd | Web: www.OpenFOAM.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
object p; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [1 -1 -2 0 0 0 0]; | ||
|
||
internalField uniform 100000; | ||
|
||
boundaryField | ||
{ | ||
movingWall | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
fixedWalls | ||
{ | ||
type zeroGradient; | ||
} | ||
|
||
frontAndBack | ||
{ | ||
type empty; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
Oops, something went wrong.