-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from jiaweiwan-jay/jiaweiwan-jay-patch-1
add new tutorials
- Loading branch information
Showing
60 changed files
with
4,422 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,64 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: v2012 | | ||
| \\ / A nd | Website: www.openfoam.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volVectorField; | ||
location "1"; | ||
object U; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -1 0 0 0 0]; | ||
|
||
internalField uniform (0.1335 0 0); | ||
|
||
boundaryField | ||
{ | ||
bottomWall | ||
{ | ||
type noSlip; | ||
} | ||
topWall | ||
{ | ||
type noSlip; | ||
} | ||
sides1_half0 | ||
{ | ||
type cyclic; | ||
} | ||
sides2_half0 | ||
{ | ||
type cyclic; | ||
} | ||
sides2_half1 | ||
{ | ||
type cyclic; | ||
} | ||
sides1_half1 | ||
{ | ||
type cyclic; | ||
} | ||
inlet | ||
{ | ||
type turbulentATSMInlet; | ||
density 1.0; | ||
value $internalField; | ||
periodicInZ true; | ||
} | ||
outlet | ||
{ | ||
type inletOutlet; | ||
inletValue uniform (0 0 0); | ||
value uniform (0 0 0); | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
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,62 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: v2012 | | ||
| \\ / A nd | Website: www.openfoam.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "1"; | ||
object k; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 2 -2 0 0 0 0]; | ||
|
||
internalField uniform 0; | ||
|
||
boundaryField | ||
{ | ||
bottomWall | ||
{ | ||
type fixedValue; | ||
value uniform 0; | ||
} | ||
topWall | ||
{ | ||
type fixedValue; | ||
value uniform 0; | ||
} | ||
sides1_half0 | ||
{ | ||
type cyclic; | ||
} | ||
sides2_half0 | ||
{ | ||
type cyclic; | ||
} | ||
sides2_half1 | ||
{ | ||
type cyclic; | ||
} | ||
sides1_half1 | ||
{ | ||
type cyclic; | ||
} | ||
inlet | ||
{ | ||
type turbulentKineticEnergy; | ||
value $internalField; | ||
} | ||
outlet | ||
{ | ||
type zeroGradient; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
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,61 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: v2012 | | ||
| \\ / A nd | Website: www.openfoam.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "1"; | ||
object nut; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 2 -1 0 0 0 0]; | ||
|
||
internalField uniform 0; | ||
|
||
boundaryField | ||
{ | ||
bottomWall | ||
{ | ||
type zeroGradient; | ||
} | ||
topWall | ||
{ | ||
type zeroGradient; | ||
} | ||
sides1_half0 | ||
{ | ||
type cyclic; | ||
} | ||
sides2_half0 | ||
{ | ||
type cyclic; | ||
} | ||
sides2_half1 | ||
{ | ||
type cyclic; | ||
} | ||
sides1_half1 | ||
{ | ||
type cyclic; | ||
} | ||
inlet | ||
{ | ||
type calculated; | ||
value uniform 0; | ||
} | ||
outlet | ||
{ | ||
type calculated; | ||
value uniform 0; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
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,60 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: v2012 | | ||
| \\ / A nd | Website: www.openfoam.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volScalarField; | ||
location "1"; | ||
object p; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 2 -2 0 0 0 0]; | ||
|
||
internalField uniform 0; | ||
|
||
boundaryField | ||
{ | ||
bottomWall | ||
{ | ||
type zeroGradient; | ||
} | ||
topWall | ||
{ | ||
type zeroGradient; | ||
} | ||
sides1_half0 | ||
{ | ||
type cyclic; | ||
} | ||
sides2_half0 | ||
{ | ||
type cyclic; | ||
} | ||
sides2_half1 | ||
{ | ||
type cyclic; | ||
} | ||
sides1_half1 | ||
{ | ||
type cyclic; | ||
} | ||
inlet | ||
{ | ||
type zeroGradient; | ||
} | ||
outlet | ||
{ | ||
type fixedValue; | ||
value uniform 0; | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
102 changes: 102 additions & 0 deletions
102
tutorials/inhomogenousTurbulence/ATSM/channel395/constant/boundaryData/inlet/L
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,102 @@ | ||
( | ||
(4.237816e-01 9.971977E-03 2.233445e-02) | ||
(4.073113e-01 8.497594E-03 4.204589e-02) | ||
(3.972325e-01 1.156047E-02 6.197398e-02) | ||
(3.901800e-01 1.311972E-02 7.762942e-02) | ||
(3.847308e-01 1.500937E-02 8.862256e-02) | ||
(3.832064e-01 1.802280E-02 9.646627e-02) | ||
(3.863862e-01 2.214814E-02 1.030192e-01) | ||
(3.906630e-01 2.694113E-02 1.102673e-01) | ||
(3.934989e-01 3.256880E-02 1.188244e-01) | ||
(3.923360e-01 3.863312E-02 1.293676e-01) | ||
(3.889558e-01 4.526398E-02 1.393054e-01) | ||
(3.858982e-01 5.212116E-02 1.452882e-01) | ||
(3.845482e-01 5.898247E-02 1.488490e-01) | ||
(3.847584e-01 6.609472E-02 1.526071e-01) | ||
(3.933940e-01 7.429257E-02 1.610174e-01) | ||
(4.002667e-01 8.285693E-02 1.703157e-01) | ||
(4.018677e-01 9.347541E-02 1.784288e-01) | ||
(4.087217e-01 1.058186E-01 1.850751e-01) | ||
(4.169321e-01 1.187391E-01 1.883075e-01) | ||
(4.304486e-01 1.327060E-01 1.901946e-01) | ||
(4.349665e-01 1.379334E-01 2.038465e-01) | ||
(4.338932e-01 1.568387E-01 2.152282e-01) | ||
(4.197822e-01 1.766401E-01 2.316183e-01) | ||
(3.968405e-01 1.917759E-01 2.381353e-01) | ||
(3.731357e-01 2.008234E-01 2.241022e-01) | ||
(3.731357e-01 2.008234E-01 2.241022e-01) | ||
(3.968405e-01 1.917759E-01 2.381353e-01) | ||
(4.197822e-01 1.766401E-01 2.316183e-01) | ||
(4.338932e-01 1.568387E-01 2.152282e-01) | ||
(4.349665e-01 1.379334E-01 2.038465e-01) | ||
(4.304486e-01 1.327060E-01 1.901946e-01) | ||
(4.169321e-01 1.187391E-01 1.883075e-01) | ||
(4.087217e-01 1.058186E-01 1.850751e-01) | ||
(4.018677e-01 9.347541E-02 1.784288e-01) | ||
(4.002667e-01 8.285693E-02 1.703157e-01) | ||
(3.933940e-01 7.429257E-02 1.610174e-01) | ||
(3.847584e-01 6.609472E-02 1.526071e-01) | ||
(3.845482e-01 5.898247E-02 1.488490e-01) | ||
(3.858982e-01 5.212116E-02 1.452882e-01) | ||
(3.889558e-01 4.526398E-02 1.393054e-01) | ||
(3.923360e-01 3.863312E-02 1.293676e-01) | ||
(3.934989e-01 3.256880E-02 1.188244e-01) | ||
(3.906630e-01 2.694113E-02 1.102673e-01) | ||
(3.863862e-01 2.214814E-02 1.030192e-01) | ||
(3.832064e-01 1.802280E-02 9.646627e-02) | ||
(3.847308e-01 1.500937E-02 8.862256e-02) | ||
(3.901800e-01 1.311972E-02 7.762942e-02) | ||
(3.972325e-01 1.156047E-02 6.197398e-02) | ||
(4.073113e-01 8.497594E-03 4.204589e-02) | ||
(4.237816e-01 9.971977E-03 2.233445e-02) | ||
(4.237816e-01 9.971977E-03 2.233445e-02) | ||
(4.073113e-01 8.497594E-03 4.204589e-02) | ||
(3.972325e-01 1.156047E-02 6.197398e-02) | ||
(3.901800e-01 1.311972E-02 7.762942e-02) | ||
(3.847308e-01 1.500937E-02 8.862256e-02) | ||
(3.832064e-01 1.802280E-02 9.646627e-02) | ||
(3.863862e-01 2.214814E-02 1.030192e-01) | ||
(3.906630e-01 2.694113E-02 1.102673e-01) | ||
(3.934989e-01 3.256880E-02 1.188244e-01) | ||
(3.923360e-01 3.863312E-02 1.293676e-01) | ||
(3.889558e-01 4.526398E-02 1.393054e-01) | ||
(3.858982e-01 5.212116E-02 1.452882e-01) | ||
(3.845482e-01 5.898247E-02 1.488490e-01) | ||
(3.847584e-01 6.609472E-02 1.526071e-01) | ||
(3.933940e-01 7.429257E-02 1.610174e-01) | ||
(4.002667e-01 8.285693E-02 1.703157e-01) | ||
(4.018677e-01 9.347541E-02 1.784288e-01) | ||
(4.087217e-01 1.058186E-01 1.850751e-01) | ||
(4.169321e-01 1.187391E-01 1.883075e-01) | ||
(4.304486e-01 1.327060E-01 1.901946e-01) | ||
(4.349665e-01 1.379334E-01 2.038465e-01) | ||
(4.338932e-01 1.568387E-01 2.152282e-01) | ||
(4.197822e-01 1.766401E-01 2.316183e-01) | ||
(3.968405e-01 1.917759E-01 2.381353e-01) | ||
(3.731357e-01 2.008234E-01 2.241022e-01) | ||
(3.731357e-01 2.008234E-01 2.241022e-01) | ||
(3.968405e-01 1.917759E-01 2.381353e-01) | ||
(4.197822e-01 1.766401E-01 2.316183e-01) | ||
(4.338932e-01 1.568387E-01 2.152282e-01) | ||
(4.349665e-01 1.379334E-01 2.038465e-01) | ||
(4.304486e-01 1.327060E-01 1.901946e-01) | ||
(4.169321e-01 1.187391E-01 1.883075e-01) | ||
(4.087217e-01 1.058186E-01 1.850751e-01) | ||
(4.018677e-01 9.347541E-02 1.784288e-01) | ||
(4.002667e-01 8.285693E-02 1.703157e-01) | ||
(3.933940e-01 7.429257E-02 1.610174e-01) | ||
(3.847584e-01 6.609472E-02 1.526071e-01) | ||
(3.845482e-01 5.898247E-02 1.488490e-01) | ||
(3.858982e-01 5.212116E-02 1.452882e-01) | ||
(3.889558e-01 4.526398E-02 1.393054e-01) | ||
(3.923360e-01 3.863312E-02 1.293676e-01) | ||
(3.934989e-01 3.256880E-02 1.188244e-01) | ||
(3.906630e-01 2.694113E-02 1.102673e-01) | ||
(3.863862e-01 2.214814E-02 1.030192e-01) | ||
(3.832064e-01 1.802280E-02 9.646627e-02) | ||
(3.847308e-01 1.500937E-02 8.862256e-02) | ||
(3.901800e-01 1.311972E-02 7.762942e-02) | ||
(3.972325e-01 1.156047E-02 6.197398e-02) | ||
(4.073113e-01 8.497594E-03 4.204589e-02) | ||
(4.237816e-01 9.971977E-03 2.233445e-02) | ||
) |
Oops, something went wrong.