Fix Tutorials: All heatTransfer tutorials now work fine.

* icoLagrangianFoam tutorials work
* Format of fixed tutorials updated to reflect current version standards.

Current status: 10 failing tests in a total of 139 tests
This commit is contained in:
Philippose Rajan 2010-11-01 16:51:19 +01:00
parent 49cb246e56
commit 49f5df64a6
53 changed files with 471 additions and 832 deletions

View file

@ -59,7 +59,7 @@ printHeader() {
| ========= | | | ========= | |
| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\\\ / O peration | Version: ${foamVersion} | | \\\\ / O peration | Version: ${foamVersion} |
| \\\\ / A nd | Web: www.OpenFOAM.org | | \\\\ / A nd | Web: www.extend-project.de |
| \\\\/ M anipulation | | | \\\\/ M anipulation | |
\\*---------------------------------------------------------------------------*/ \\*---------------------------------------------------------------------------*/
FoamFile FoamFile

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object epsilon; object epsilon;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,20 +21,31 @@ internalField uniform 0.01;
boundaryField boundaryField
{ {
floor floor
{ {
type zeroGradient; type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
} }
ceiling
ceiling
{ {
type zeroGradient; type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
} }
fixedWalls
fixedWalls
{ {
type zeroGradient; type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object k; object k;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,20 +21,22 @@ internalField uniform 0.1;
boundaryField boundaryField
{ {
floor floor
{ {
type zeroGradient; type compressible::kqRWallFunction;
value uniform 0.1;
} }
ceiling
ceiling
{ {
type zeroGradient; type compressible::kqRWallFunction;
value uniform 0.1;
} }
fixedWalls
fixedWalls
{ {
type zeroGradient; type compressible::kqRWallFunction;
value uniform 0.1;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -16,25 +16,25 @@ FoamFile
dimensions [1 -1 -2 0 0 0 0]; dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0; internalField uniform 1e+05;
boundaryField boundaryField
{ {
floor floor
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 100000;
} }
ceiling ceiling
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 100000;
} }
fixedWalls fixedWalls
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 100000;
} }
} }

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class polyBoundaryMesh; class polyBoundaryMesh;
location "constant/polyMesh";
object boundary; object boundary;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View file

@ -14,7 +14,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; thermoType hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;
mixture air 1 28.9 1000 0 1.8e-05 0.7; mixture air 1 28.9 1000 0 1.8e-05 0.7;

View file

@ -40,7 +40,7 @@ laplacianSchemes
{ {
default none; default none;
laplacian(muEff,U) Gauss linear corrected; laplacian(muEff,U) Gauss linear corrected;
laplacian((rho*(1|A(U))),pd) Gauss linear corrected; laplacian((rho*(1|A(U))),p) Gauss linear corrected;
laplacian(alphaEff,h) Gauss linear corrected; laplacian(alphaEff,h) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected;
@ -60,7 +60,7 @@ snGradSchemes
fluxRequired fluxRequired
{ {
default no; default no;
pd; p;
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -16,38 +16,44 @@ FoamFile
solvers solvers
{ {
pd PCG p
{ {
solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-08; tolerance 1e-08;
relTol 0; relTol 0;
}; };
U PBiCG U
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
}; };
h PBiCG h
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
}; };
k PBiCG k
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
}; };
epsilon PBiCG epsilon
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
}; };
R PBiCG R
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
@ -57,14 +63,14 @@ solvers
SIMPLE SIMPLE
{ {
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pdRefCell 0; pRefCell 0;
pdRefValue 0; pRefValue 0;
} }
relaxationFactors relaxationFactors
{ {
rho 1.0; rho 1.0;
pd 0.3; p 0.3;
U 0.7; U 0.7;
h 0.7; h 0.7;
k 0.7; k 0.7;

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object epsilon; object epsilon;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,25 +21,39 @@ internalField uniform 0.01;
boundaryField boundaryField
{ {
floor
{
type zeroGradient;
}
ceiling
{
type zeroGradient;
}
fixedWalls
{
type zeroGradient;
}
box box
{ {
type zeroGradient; type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
}
floor
{
type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
}
ceiling
{
type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
}
fixedWalls
{
type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.01;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object k; object k;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,25 +21,27 @@ internalField uniform 0.1;
boundaryField boundaryField
{ {
floor
{
type zeroGradient;
}
ceiling
{
type zeroGradient;
}
fixedWalls
{
type zeroGradient;
}
box box
{ {
type zeroGradient; type compressible::kqRWallFunction;
value uniform 0.1;
}
floor
{
type compressible::kqRWallFunction;
value uniform 0.1;
}
ceiling
{
type compressible::kqRWallFunction;
value uniform 0.1;
}
fixedWalls
{
type compressible::kqRWallFunction;
value uniform 0.1;
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -22,25 +22,25 @@ boundaryField
{ {
floor floor
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 100000;
} }
ceiling ceiling
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 100000;
} }
fixedWalls fixedWalls
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 100000;
} }
box box
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 100000;
} }
} }

View file

@ -1,48 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object pd;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
floor
{
type fixedFluxBuoyantPressure;
value uniform 0;
}
ceiling
{
type fixedFluxBuoyantPressure;
value uniform 0;
}
fixedWalls
{
type fixedFluxBuoyantPressure;
value uniform 0;
}
box
{
type fixedFluxBuoyantPressure;
value uniform 0;
}
}
// ************************************************************************* //

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class polyBoundaryMesh; class polyBoundaryMesh;
location "constant/polyMesh";
object boundary; object boundary;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View file

@ -18,6 +18,8 @@ radiation on;
radiationModel P1; radiationModel P1;
solverFreq 5;
noRadiation noRadiation
{ {
} }

View file

@ -14,7 +14,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; thermoType hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;
mixture air 1 28.9 1000 0 1.8e-05 0.7; mixture air 1 28.9 1000 0 1.8e-05 0.7;

View file

@ -40,7 +40,7 @@ laplacianSchemes
{ {
default none; default none;
laplacian(muEff,U) Gauss linear corrected; laplacian(muEff,U) Gauss linear corrected;
laplacian((rho*(1|A(U))),pd) Gauss linear corrected; laplacian((rho*(1|A(U))),p) Gauss linear corrected;
laplacian(alphaEff,h) Gauss linear corrected; laplacian(alphaEff,h) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected; laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected; laplacian(DepsilonEff,epsilon) Gauss linear corrected;
@ -61,7 +61,7 @@ snGradSchemes
fluxRequired fluxRequired
{ {
default no; default no;
pd; p;
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -16,7 +16,7 @@ FoamFile
solvers solvers
{ {
pd PCG p PCG
{ {
preconditioner DIC; preconditioner DIC;
tolerance 1e-06; tolerance 1e-06;
@ -57,14 +57,14 @@ solvers
SIMPLE SIMPLE
{ {
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pdRefCell 0; pRefCell 0;
pdRefValue 0; pRefValue 0;
} }
relaxationFactors relaxationFactors
{ {
rho 1.0; rho 1.0;
pd 0.3; p 0.3;
U 0.7; U 0.7;
h 0.7; h 0.7;
k 0.7; k 0.7;

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.4.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,12 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object K; object K;
location "0.003";
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 1 -3 -1 0 0 0]; dimensions [ 1 1 -3 -1 0 0 0 ];
internalField uniform 80; internalField uniform 80;
@ -29,7 +29,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minY minY
{ {
type zeroGradient; type zeroGradient;
@ -38,7 +37,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minZ minZ
{ {
type zeroGradient; type zeroGradient;

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.4.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,12 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object T; object T;
location "0.003";
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0 0 0]; dimensions [ 0 0 0 1 0 0 0 ];
internalField uniform 300; internalField uniform 300;
@ -30,7 +30,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minY minY
{ {
type zeroGradient; type zeroGradient;
@ -39,7 +38,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minZ minZ
{ {
type zeroGradient; type zeroGradient;

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.4.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,48 +10,46 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volVectorField; class volVectorField;
location "0";
object U; object U;
location "0.003";
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0]; dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform (0.01 0 0); internalField uniform ( 0.01 0 0 );
boundaryField boundaryField
{ {
minX minX
{ {
type fixedValue; type fixedValue;
value uniform (0.01 0 0); value uniform ( 0.01 0 0 );
} }
maxX maxX
{ {
type inletOutlet; type inletOutlet;
inletValue uniform (0 0 0); inletValue uniform ( 0 0 0 );
} }
minY minY
{ {
type fixedValue; type fixedValue;
value uniform (0 0 0); value uniform ( 0 0 0 );
} }
maxY maxY
{ {
type fixedValue; type fixedValue;
value uniform (0 0 0); value uniform ( 0 0 0 );
} }
minZ minZ
{ {
type fixedValue; type fixedValue;
value uniform (0 0 0); value uniform ( 0 0 0 );
} }
maxZ maxZ
{ {
type fixedValue; type fixedValue;
value uniform (0 0 0); value uniform ( 0 0 0 );
} }
} }

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.4.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,12 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object cp; object cp;
location "0.003";
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 -1 0 0 0]; dimensions [ 0 2 -2 -1 0 0 0 ];
internalField uniform 450; internalField uniform 450;
@ -29,7 +29,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minY minY
{ {
type zeroGradient; type zeroGradient;
@ -38,7 +37,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minZ minZ
{ {
type zeroGradient; type zeroGradient;

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.4.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,12 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object epsilon; object epsilon;
location "0.003";
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0]; dimensions [ 0 2 -3 0 0 0 0 ];
internalField uniform 0.01; internalField uniform 0.01;
@ -30,7 +30,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minY minY
{ {
type zeroGradient; type zeroGradient;
@ -39,7 +38,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minZ minZ
{ {
type zeroGradient; type zeroGradient;

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.4.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,12 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object k; object k;
location "0.003";
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0]; dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0.1; internalField uniform 0.1;
@ -30,7 +30,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minY minY
{ {
type zeroGradient; type zeroGradient;
@ -39,7 +38,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minZ minZ
{ {
type zeroGradient; type zeroGradient;

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.4.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,46 +10,45 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object p; object p;
location "0.003";
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0]; dimensions [ 1 -1 -2 0 0 0 0 ];
internalField uniform 0; internalField uniform 1e+05;
boundaryField boundaryField
{ {
minX minX
{ {
type calculated; type zeroGradient;
value uniform 0; value uniform 0;
} }
maxX maxX
{ {
type calculated; type fixedValue;
value uniform 0; value uniform 0;
} }
minY minY
{ {
type calculated; type zeroGradient;
value uniform 0; value uniform 0;
} }
maxY maxY
{ {
type calculated; type zeroGradient;
value uniform 0; value uniform 0;
} }
minZ minZ
{ {
type calculated; type zeroGradient;
value uniform 0; value uniform 0;
} }
maxZ maxZ
{ {
type calculated; type zeroGradient;
value uniform 0; value uniform 0;
} }
} }

View file

@ -1,58 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4.2 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
location "0.003";
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
minX
{
type zeroGradient;
value uniform 0;
}
maxX
{
type fixedValue;
value uniform 0;
}
minY
{
type zeroGradient;
value uniform 0;
}
maxY
{
type zeroGradient;
value uniform 0;
}
minZ
{
type zeroGradient;
value uniform 0;
}
maxZ
{
type zeroGradient;
value uniform 0;
}
}
// ************************************************************************* //

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.4.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,12 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object rho; object rho;
location "0.003";
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -3 0 0 0 0 0]; dimensions [ 1 -3 0 0 0 0 0 ];
internalField uniform 8000; internalField uniform 8000;
@ -29,7 +29,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minY minY
{ {
type zeroGradient; type zeroGradient;
@ -38,7 +37,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
minZ minZ
{ {
type zeroGradient; type zeroGradient;

View file

@ -5,9 +5,10 @@
cleanCase cleanCase
rm 0/cellToRegion
if [ -d "VTK" ] if [ -d "VTK" ]
then then
rm -r VTK rm -r VTK
fi fi

View file

@ -1,25 +1,17 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object RASProperties;
case "";
instance "";
local "";
class dictionary;
object RASProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel kEpsilon; RASModel kEpsilon;
@ -101,5 +93,4 @@ wallFunctionCoeffs
E 9; E 9;
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,28 +1,20 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class uniformDimensionedVectorField;
root ""; object g;
case "";
instance "";
local "";
class dictionary;
object environmentalProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
g g [0 1 -2 0 0 0 0] (0 -9.81 0); dimensions [0 1 -2 0 0 0 0];
value (0 -9.81 0);
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,30 +1,21 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object thermophysicalProperties;
case "";
instance "";
local "";
class dictionary;
object thermophysicalProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; thermoType hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;
mixture air 1 28.9 1000 0 1.8e-05 0.7; mixture air 1 28.9 1000 0 1.8e-05 0.7;
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,42 +1,19 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class dictionary;
object pd; object turbulenceProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0]; simulationType laminar;
internalField uniform 0;
boundaryField
{
floor
{
type fixedFluxBuoyantPressure;
value uniform 0;
}
ceiling
{
type fixedFluxBuoyantPressure;
value uniform 0;
}
fixedWalls
{
type fixedFluxBuoyantPressure;
value uniform 0;
}
}
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,28 +1,19 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object blockMeshDict;
case "";
instance "";
local "";
class dictionary;
object blockMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1; convertToMeters 1;
vertices vertices
@ -78,5 +69,4 @@ mergePatchPairs
( (
); );
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.5-dev | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile

View file

@ -1,25 +1,17 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object regionProperties;
case "";
instance "";
local "";
class dictionary;
object regionProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
fluidRegionNames fluidRegionNames
@ -28,7 +20,6 @@ fluidRegionNames
topAir topAir
); );
solidRegionNames solidRegionNames
( (
heater heater

View file

@ -1,25 +1,17 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object RASProperties;
case "";
instance "";
local "";
class dictionary;
object RASProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel kEpsilon; RASModel kEpsilon;
@ -102,5 +94,4 @@ wallFunctionCoeffs
E 9; E 9;
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -0,0 +1 @@
../bottomAir/g

View file

@ -0,0 +1 @@
../bottomAir/turbulenceProperties

View file

@ -1,20 +1,19 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/warhol/chris/foam/chris2.1/run/tutorials/interFoam"; object changePatchTypeDict;
case "damBreak";
instance "system";
local "";
class dictionary;
object changePatchTypeDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement dictionaryReplacement
{ {
U U
@ -33,7 +32,6 @@ dictionaryReplacement
value uniform (0 0 0); value uniform (0 0 0);
} }
bottomAir_to_leftSolid bottomAir_to_leftSolid
{ {
type fixedValue; type fixedValue;
@ -53,8 +51,6 @@ dictionaryReplacement
} }
} }
T T
{ {
boundaryField boundaryField
@ -94,7 +90,6 @@ dictionaryReplacement
} }
} }
epsilon epsilon
{ {
// Set the value on all bc to non-zero. Not used in simulation // Set the value on all bc to non-zero. Not used in simulation
@ -154,7 +149,6 @@ dictionaryReplacement
} }
} }
k k
{ {
internalField uniform 0.1; internalField uniform 0.1;
@ -211,103 +205,53 @@ dictionaryReplacement
} }
} }
pd
{
boundaryField
{
minX
{
type fixedFluxBuoyantPressure;
value 0;
}
maxX
{
type fixedFluxBuoyantPressure;
value 0;
}
minY
{
type fixedFluxBuoyantPressure;
value 0;
}
minZ
{
type fixedFluxBuoyantPressure;
value 0;
}
maxZ
{
type fixedFluxBuoyantPressure;
value 0;
}
bottomAir_to_leftSolid
{
type fixedFluxBuoyantPressure;
value 0;
}
bottomAir_to_heater
{
type fixedFluxBuoyantPressure;
value 0;
}
bottomAir_to_rightSolid
{
type fixedFluxBuoyantPressure;
value 0;
}
}
}
p p
{ {
internalField uniform 100000;
boundaryField boundaryField
{ {
minX minX
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 1e+05;
} }
maxX maxX
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 1e+05;
} }
minY minY
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 1e+05;
} }
minZ minZ
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 1e+05;
} }
maxZ maxZ
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 1e+05;
} }
bottomAir_to_leftSolid bottomAir_to_leftSolid
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 1e+05;
} }
bottomAir_to_heater bottomAir_to_heater
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 1e+05;
} }
bottomAir_to_rightSolid bottomAir_to_rightSolid
{ {
type calculated; type buoyantPressure;
value uniform 100000; value uniform 1e+05;
} }
} }
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,25 +1,17 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSchemes;
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes ddtSchemes
@ -52,6 +44,7 @@ laplacianSchemes
default none; default none;
laplacian(muEff,U) Gauss linear limited 0.333; laplacian(muEff,U) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),pd) Gauss linear limited 0.333; laplacian((rho*(1|A(U))),pd) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p) Gauss linear limited 0.333;
laplacian(alphaEff,h) Gauss linear limited 0.333; laplacian(alphaEff,h) Gauss linear limited 0.333;
laplacian(DkEff,k) Gauss linear limited 0.333; laplacian(DkEff,k) Gauss linear limited 0.333;
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333; laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
@ -71,8 +64,7 @@ snGradSchemes
fluxRequired fluxRequired
{ {
default no; default no;
pd; p;
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,49 +1,31 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSolution;
case "";
instance "";
local "";
class dictionary;
object fvSolution;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers solvers
{ {
rho PCG rho
{ {
solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
}; };
// pd PCG p
// {
// preconditioner DIC;
// tolerance 1e-6;
// relTol 0.1;
// };
// pdFinal PCG
// {
// preconditioner DIC;
// tolerance 1e-08;
// relTol 0;
// };
pd GAMG
{ {
solver GAMG;
tolerance 1e-6; tolerance 1e-6;
relTol 0.1; relTol 0.1;
@ -54,8 +36,9 @@ solvers
agglomerator faceAreaPair; agglomerator faceAreaPair;
mergeLevels 1; mergeLevels 1;
}; };
pdFinal GAMG pFinal
{ {
solver GAMG;
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -66,53 +49,58 @@ solvers
agglomerator faceAreaPair; agglomerator faceAreaPair;
mergeLevels 1; mergeLevels 1;
}; };
U PBiCG U
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-08; tolerance 1e-08;
relTol 0; relTol 0;
}; };
h PBiCG h
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; };
k PBiCG hFinal
{ {
solver PBiCG;
preconditioner DILU;
tolerance 1e-07;
relTol 0;
}
k
{
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; };
epsilon PBiCG epsilon
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; };
R PBiCG R
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; };
} }
PISO PIMPLE
{ {
momentumPredictor off; momentumPredictor off;
nOuterCorrectors 1; nOuterCorrectors 1;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 1; nNonOrthogonalCorrectors 1;
pdRefCell 0; pRefCell 0;
pdRefValue 0; pRefValue 0;
} }
//relaxationFactors
//{
//// h 0.9;
// U 0.9;
//}
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,25 +1,17 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object controlDict;
case "";
instance "";
local "";
class dictionary;
object controlDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application chtFoam; application chtFoam;
@ -36,8 +28,6 @@ deltaT 0.001;
writeControl adjustableRunTime; writeControl adjustableRunTime;
writeInterval 5; writeInterval 5;
//writeControl timeStep;
//writeInterval 20;
purgeWrite 0; purgeWrite 0;
@ -57,5 +47,4 @@ maxCo 0.3;
adjustTimeStep yes; adjustTimeStep yes;
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,25 +1,17 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSchemes;
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes ddtSchemes
@ -71,8 +63,7 @@ snGradSchemes
fluxRequired fluxRequired
{ {
default no; default no;
pd; p;
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,49 +1,31 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSolution;
case "";
instance "";
local "";
class dictionary;
object fvSolution;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers solvers
{ {
rho PCG rho
{ {
solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
}; };
// pd PCG p
// {
// preconditioner DIC;
// tolerance 1e-6;
// relTol 0.1;
// };
// pdFinal PCG
// {
// preconditioner DIC;
// tolerance 1e-08;
// relTol 0;
// };
pd GAMG
{ {
solver GAMG;
tolerance 1e-6; tolerance 1e-6;
relTol 0.1; relTol 0.1;
@ -54,8 +36,9 @@ solvers
agglomerator faceAreaPair; agglomerator faceAreaPair;
mergeLevels 1; mergeLevels 1;
}; };
pdFinal GAMG pFinal
{ {
solver GAMG;
tolerance 1e-6; tolerance 1e-6;
relTol 0; relTol 0;
@ -66,53 +49,51 @@ solvers
agglomerator faceAreaPair; agglomerator faceAreaPair;
mergeLevels 1; mergeLevels 1;
}; };
U PBiCG U
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-08; tolerance 1e-08;
relTol 0; relTol 0;
}; };
h PBiCG h
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; };
k PBiCG k
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; };
epsilon PBiCG epsilon
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; };
R PBiCG R
{ {
solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
}; };
} }
PISO PIMPLE
{ {
momentumPredictor off; momentumPredictor off;
nOuterCorrectors 1; nOuterCorrectors 1;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 1; nNonOrthogonalCorrectors 1;
pdRefCell 0; pRefCell 0;
pdRefValue 0; pRefValue 0;
} }
//relaxationFactors
//{
//// h 0.9;
// U 0.9;
//}
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,20 +1,19 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/warhol/chris/foam/chris2.1/run/tutorials/interFoam"; object changePatchTypeDict;
case "damBreak";
instance "system";
local "";
class dictionary;
object changePatchTypeDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement dictionaryReplacement
{ {
T T
@ -115,7 +114,6 @@ dictionaryReplacement
} }
} }
K K
{ {
internalField uniform 80; internalField uniform 80;
@ -153,7 +151,6 @@ dictionaryReplacement
} }
} }
cp cp
{ {
internalField uniform 450; internalField uniform 450;

View file

@ -1,25 +1,17 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSchemes;
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes ddtSchemes
@ -58,5 +50,4 @@ fluxRequired
default no; default no;
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,41 +1,33 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSolution;
case "";
instance "";
local "";
class dictionary;
object fvSolution;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers solvers
{ {
T PCG T
{ {
solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1E-06; tolerance 1E-06;
relTol 0; relTol 0;
}; };
} }
PISO PIMPLE
{ {
nNonOrthogonalCorrectors 1; nNonOrthogonalCorrectors 1;
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,20 +1,19 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/warhol/chris/foam/chris2.1/run/tutorials/interFoam"; object changePatchTypeDict;
case "damBreak";
instance "system";
local "";
class dictionary;
object changePatchTypeDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement dictionaryReplacement
{ {
T T
@ -99,7 +98,6 @@ dictionaryReplacement
} }
} }
K K
{ {
internalField uniform 80; internalField uniform 80;
@ -133,7 +131,6 @@ dictionaryReplacement
} }
} }
cp cp
{ {
internalField uniform 450; internalField uniform 450;

View file

@ -1,20 +1,19 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/warhol/chris/foam/chris2.1/run/tutorials/interFoam"; object changePatchTypeDict;
case "damBreak";
instance "system";
local "";
class dictionary;
object changePatchTypeDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement dictionaryReplacement
{ {
T T
@ -98,7 +97,6 @@ dictionaryReplacement
} }
} }
K K
{ {
internalField uniform 80; internalField uniform 80;
@ -132,7 +130,6 @@ dictionaryReplacement
} }
} }
cp cp
{ {
internalField uniform 450; internalField uniform 450;

View file

@ -1,20 +1,19 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/warhol/chris/foam/chris2.1/run/tutorials/interFoam"; object changePatchTypeDict;
case "damBreak";
instance "system";
local "";
class dictionary;
object changePatchTypeDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dictionaryReplacement dictionaryReplacement
{ {
U U
@ -33,7 +32,6 @@ dictionaryReplacement
inletValue uniform (0 0 0); inletValue uniform (0 0 0);
} }
topAir_to_leftSolid topAir_to_leftSolid
{ {
type fixedValue; type fixedValue;
@ -53,8 +51,6 @@ dictionaryReplacement
} }
} }
T T
{ {
boundaryField boundaryField
@ -95,7 +91,6 @@ dictionaryReplacement
} }
} }
epsilon epsilon
{ {
// Set the value on all bc to non-zero. Not used in simulation // Set the value on all bc to non-zero. Not used in simulation
@ -152,7 +147,6 @@ dictionaryReplacement
} }
} }
k k
{ {
internalField uniform 0.1; internalField uniform 0.1;
@ -210,15 +204,14 @@ dictionaryReplacement
} }
} }
p
pd
{ {
boundaryField boundaryField
{ {
minX minX
{ {
type fixedFluxBuoyantPressure; type buoyantPressure;
value 0; value uniform 1e+05;
} }
maxX maxX
{ {
@ -233,93 +226,44 @@ dictionaryReplacement
lInf 0.40; // double length of domain lInf 0.40; // double length of domain
inletOutlet off; inletOutlet off;
correctSupercritical off; correctSupercritical off;
value uniform 0; value uniform 1e+05;
} }
minY minY
{ {
type fixedFluxBuoyantPressure; type buoyantPressure;
value 0; value uniform 1e+05;
} }
minZ minZ
{ {
type fixedFluxBuoyantPressure; type buoyantPressure;
value 0; value uniform 1e+05;
} }
maxZ maxZ
{ {
type fixedFluxBuoyantPressure; type buoyantPressure;
value 0; value uniform 1e+05;
} }
topAir_to_leftSolid topAir_to_leftSolid
{ {
type fixedFluxBuoyantPressure; type buoyantPressure;
value 0; value uniform 1e+05;
} }
topAir_to_heater topAir_to_heater
{ {
type fixedFluxBuoyantPressure; type buoyantPressure;
value 0; value uniform 1e+05;
} }
topAir_to_rightSolid topAir_to_rightSolid
{ {
type fixedFluxBuoyantPressure; type buoyantPressure;
value 0; value uniform 1e+05;
} }
} }
} }
p
{
internalField uniform 100000;
boundaryField
{
minX
{
type calculated;
value uniform 100000;
}
maxX
{
type calculated;
value uniform 100000;
}
maxY
{
type calculated;
value uniform 100000;
}
minZ
{
type calculated;
value uniform 100000;
}
maxZ
{
type calculated;
value uniform 100000;
}
topAir_to_leftSolid
{
type calculated;
value uniform 100000;
}
topAir_to_heater
{
type calculated;
value uniform 100000;
}
topAir_to_rightSolid
{
type calculated;
value uniform 100000;
}
}
}
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,30 +1,19 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
// Field Dictionary
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class volVectorField;
root "/home/coyote/hjasak/OpenFOAM/hjasak-1.2/run/test"; object U;
case "cavity";
instance "0";
local "";
class volVectorField;
object U;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0]; dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0); internalField uniform (0 0 0);
@ -54,5 +43,4 @@ boundaryField
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -1,30 +1,19 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.2 | | \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
// Field Dictionary
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField;
root "/home/coyote/hjasak/OpenFOAM/hjasak-1.2/run/test"; object p;
case "cavity";
instance "0";
local "";
class volScalarField;
object p;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0]; dimensions [0 2 -2 0 0 0 0];
internalField uniform 0; internalField uniform 0;
@ -53,5 +42,4 @@ boundaryField
} }
} }
// ************************************************************************* // // ************************************************************************* //

View file

@ -26,8 +26,21 @@ FoamFile
solvers solvers
{ {
p ICCG 1e-06 0; p
U BICCG 1e-05 0; {
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
} }
PISO PISO