-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
244 changed files
with
30,649 additions
and
821 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,19 @@ | ||
internalField | ||
uniform | ||
300.0 | ||
boundaryField | ||
floor | ||
Dirichlet | ||
uniform | ||
301.0 | ||
ceiling | ||
Dirichlet | ||
uniform | ||
300.0 | ||
sideWalls | ||
Neumann | ||
zeroGradient | ||
frontAndBack | ||
Neumann | ||
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,21 @@ | ||
internalField | ||
uniform | ||
1e-4 0.0 0.0 | ||
boundaryField | ||
floor | ||
Dirichlet | ||
uniform | ||
0. 0. 0. | ||
ceiling | ||
Dirichlet | ||
uniform | ||
0. 0. 0. | ||
sideWalls | ||
Dirichlet | ||
uniform | ||
0. 0. 0. | ||
frontAndBack | ||
Neumann | ||
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,19 @@ | ||
internalField | ||
uniform | ||
1e-5 | ||
boundaryField | ||
floor | ||
Dirichlet | ||
uniform | ||
0. | ||
ceiling | ||
Dirichlet | ||
uniform | ||
0. | ||
sideWalls | ||
Dirichlet | ||
uniform | ||
0. | ||
frontAndBack | ||
Neumann | ||
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,20 @@ | ||
internalField | ||
uniform | ||
1e-5 | ||
boundaryField | ||
floor | ||
Dirichlet | ||
uniform | ||
0. | ||
ceiling | ||
Dirichlet | ||
uniform | ||
0. | ||
sideWalls | ||
Dirichlet | ||
uniform | ||
0. | ||
frontAndBack | ||
Neumann | ||
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,15 @@ | ||
internalField | ||
uniform | ||
31.94 | ||
boundaryField | ||
ulaz | ||
Dirichlet | ||
uniform | ||
31.94 | ||
zid | ||
Dirichlet | ||
uniform | ||
31.94 | ||
izlaz | ||
Neumann | ||
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,5 @@ | ||
The example is taken from OpenFOAM (www.openfoam.com) examples of heat transfer, more specifically from the examples for buoyantBoussinesqPimpleFoam solver. | ||
|
||
OpenFOAM/OpenFOAM-v2006/tutorials/heatTransfer/buoyantBoussinesqPimpleFoam/BenardCells | ||
|
||
|
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,27 @@ | ||
Rayleigh-Bernard-Cells laminar TITLE | ||
F T F LREAD,LWRITE,LTEST | ||
T T T T F F T F F F F (LCAL(I),I=1,NPHI) | ||
1 1 0 1 monCell,pRefCell,iPrefProcessMPoints | ||
1e+30 1e-6 SLARGE,SORMAX | ||
1.0 1e-3 DENSIT,VISCOS | ||
1.0 300.0 1e-3 PRANL,TREF,BETA | ||
T 0.0 -9.81 0.0 T LBUOY,GRAVX,GRAVY,GRAVZ,BOUSSINESQ | ||
f 30. 0. roughWall,EROUGH,ZZERO | ||
1.0 1.0 FACNAP,FACFLX | ||
T T F F F LTRANSIENT,BDF,BDF2,BDF3,CN | ||
F f f f LEVM,LASM,LLES,LDES | ||
f f f LSGDH,LGGDH,LAFM | ||
0 TurbModel | ||
1e-4 0. 0. 0. 0. 0. 0. 0. UIN,VIN,WIN,TEIN,EDIN,TIN,VARTIN,CONIN | ||
linear-f Convective scheme | ||
Barth-Jespersen Gradient limiter | ||
1.0 1.0 1.0 0.0 1.0 1.0 1.0 0.0 0.0 0.0 0.0 (GDS(I),I=1,NPHI) | ||
1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.6 0.9 0.8 (URF(I),I=1,NPHI) | ||
3*1e-2 1e-6 7*1e-2 (SOR(I),I=1,NPHI) | ||
20 20 20 100 10 10 10 5 5 5 5 (NSW(I),I=1,NPHI) | ||
1000 1.0 50 1 NUMSTEP,TIMESTEP,NZAPIS,MAXIT | ||
f f f t lstsq, lstsq_qr, lstsq_dm, gauss | ||
1 1 NPCOR, NIGRAD | ||
f t 2 SIMPLE,PISO,ncorr | ||
f const_mflux | ||
f 1.0 CoNumFix, CoNumFixValue |
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,27 @@ | ||
Rayleigh-Bernard-Cells laminar TITLE | ||
f t f LREAD,LWRITE,LTEST | ||
t t t t F F T t f f F (LCAL(I),I=1,NPHI) | ||
1 1 0 1 monCell,pRefCell,iPrefProcessMPoints | ||
1e+30 1e-6 SLARGE,SORMAX | ||
1.0 1e-3 DENSIT,VISCOS | ||
1.0 300.0 1e-3 PRANL,TREF,BETA | ||
T 0.0 -9.81 0.0 T LBUOY,GRAVX,GRAVY,GRAVZ,BOUSSINESQ | ||
f 30. 0. roughWall,EROUGH,ZZERO | ||
1.0 1.0 FACNAP,FACFLX | ||
T T f f f LTRANSIENT,BDF,BDF2,BDF3,CN | ||
F f f f LEVM,LASM,LLES,LDES | ||
f f f LSGDH,LGGDH,LAFM | ||
0 TurbModel | ||
1e-4 0. 0. 0.375 18.455 0. 0. 0. UIN,VIN,WIN,TEIN,EDIN,TIN,VARTIN,CONIN | ||
linear-f Convective scheme | ||
Barth-Jespersen Gradient limiter | ||
1.0 1.0 1.0 0.0 1.0 1.0 1.0 0.0 0.0 0.0 0.0 (GDS(I),I=1,NPHI) | ||
0.7 0.7 0.7 0.3 1.0 1.0 0.7 1.0 0.6 0.9 0.8 (URF(I),I=1,NPHI) | ||
11*1e-2 (SOR(I),I=1,NPHI) | ||
20 20 20 100 10 10 10 5 5 5 5 (NSW(I),I=1,NPHI) | ||
1000 1.0 50 10 NUMSTEP,TIMESTEP,NZAPIS,MAXIT | ||
f f f t lstsq, lstsq_qr, lstsq_dm, gauss | ||
1 1 NPCOR, NIGRAD | ||
t f 1 SIMPLE,PISO,ncorr | ||
f const_mflux | ||
f 1.0 CoNumFix, CoNumFixValue |
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,14 @@ | ||
set logscale y | ||
set title "Residuals" | ||
set ylabel 'Residual' | ||
set xlabel 'Iteration' | ||
set yrange[1e-5:1e+2] | ||
plot "< cat monitor | grep 'Solving for U,' | cut -d' ' -f12 | tr -d ','" title 'Ux' with lines,\ | ||
"< cat monitor | grep 'Solving for V,' | cut -d' ' -f12 | tr -d ','" title 'Uy' with lines,\ | ||
"< cat monitor | grep 'Solving for W,' | cut -d' ' -f12 | tr -d ','" title 'Uz' with lines,\ | ||
"< cat monitor | grep 'Solving for p' | cut -d' ' -f12 | tr -d ','" title 'p' with lines, \ | ||
"< cat monitor | grep 'Solving for Temp' | cut -d' ' -f12 | tr -d ','" title 'T' with lines, \ | ||
"< cat monitor | grep 'Solving for k' | cut -d' ' -f12 | tr -d ','" title 'k' with lines, \ | ||
"< cat monitor | grep 'Solving for Omega' | cut -d' ' -f12 | tr -d ','" title 'omega' with lines | ||
pause 5 | ||
reread |
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,5 @@ | ||
# bcName bcType nFaces startFace | ||
floor wall 90 1700 | ||
ceiling wall 90 1790 | ||
sideWalls wall 20 1880 | ||
frontAndBack symmetry 1800 1900 |
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,51 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: 1912 | | ||
| \\ / A nd | Website: www.openfoam.com | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format binary; | ||
class polyBoundaryMesh; | ||
arch "LSB;label=32;scalar=64"; | ||
location "constant/polyMesh"; | ||
object boundary; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
4 | ||
( | ||
floor | ||
{ | ||
type wall; | ||
inGroups 1(wall); | ||
nFaces 90; | ||
startFace 1700; | ||
} | ||
ceiling | ||
{ | ||
type wall; | ||
inGroups 1(wall); | ||
nFaces 90; | ||
startFace 1790; | ||
} | ||
sideWalls | ||
{ | ||
type wall; | ||
inGroups 1(wall); | ||
nFaces 20; | ||
startFace 1880; | ||
} | ||
frontAndBack | ||
{ | ||
type empty; | ||
inGroups 1(empty); | ||
nFaces 1800; | ||
startFace 1900; | ||
} | ||
) | ||
|
||
// ************************************************************************* // |
Oops, something went wrong.