Changed pd -> p.

This commit is contained in:
henry
2009-06-11 22:48:05 +01:00
parent 4c2adfe276
commit 4465d20ac6
16 changed files with 139 additions and 152 deletions

View File

@ -0,0 +1,42 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ 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
{
floor
{
type compressible::alphatWallFunction;
value uniform 0;
}
ceiling
{
type compressible::alphatWallFunction;
value uniform 0;
}
fixedWalls
{
type compressible::alphatWallFunction;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,12 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object pd;
location "0";
object mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0;
@ -22,21 +23,20 @@ boundaryField
{
floor
{
type fixedFluxBuoyantPressure;
type mutWallFunction;
value uniform 0;
}
ceiling
{
type fixedFluxBuoyantPressure;
type mutWallFunction;
value uniform 0;
}
fixedWalls
{
type fixedFluxBuoyantPressure;
type mutWallFunction;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -16,26 +16,26 @@ FoamFile
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000;
internalField uniform 1e5;
boundaryField
{
floor
{
type calculated;
value uniform 100000;
type fixedFluxBuoyantPressure;
value uniform 1e5;
}
ceiling
{
type calculated;
value uniform 100000;
type fixedFluxBuoyantPressure;
value uniform 1e5;
}
fixedWalls
{
type calculated;
value uniform 100000;
type fixedFluxBuoyantPressure;
value uniform 1e5;
}
}

View File

@ -42,7 +42,7 @@ laplacianSchemes
{
default none;
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(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
@ -62,7 +62,7 @@ snGradSchemes
fluxRequired
{
default no;
pd ;
p ;
}

View File

@ -25,7 +25,7 @@ solvers
relTol 0;
}
pd
p
{
solver PCG;
preconditioner DIC;
@ -33,7 +33,7 @@ solvers
relTol 0.1;
}
pdFinal
pFinal
{
solver PCG;
preconditioner DIC;

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,12 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object pd;
location "0";
object mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0;
@ -22,21 +23,20 @@ boundaryField
{
floor
{
type fixedFluxBuoyantPressure;
type mutWallFunction;
value uniform 0;
}
ceiling
{
type fixedFluxBuoyantPressure;
type mutWallFunction;
value uniform 0;
}
fixedWalls
{
type fixedFluxBuoyantPressure;
type mutWallFunction;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -16,26 +16,26 @@ FoamFile
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000;
internalField uniform 1e5;
boundaryField
{
floor
{
type calculated;
value uniform 100000;
type fixedFluxBuoyantPressure;
value uniform 1e5;
}
ceiling
{
type calculated;
value uniform 100000;
type fixedFluxBuoyantPressure;
value uniform 1e5;
}
fixedWalls
{
type calculated;
value uniform 100000;
type fixedFluxBuoyantPressure;
value uniform 1e5;
}
}

View File

@ -41,7 +41,7 @@ laplacianSchemes
{
default none;
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(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
@ -61,7 +61,7 @@ snGradSchemes
fluxRequired
{
default no;
pd ;
p ;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
pd
p
{
solver PCG;
preconditioner DIC;
@ -69,16 +69,16 @@ solvers
SIMPLE
{
nNonOrthogonalCorrectors 0;
pdRefCell 0;
pdRefValue 0;
pRefCell 0;
pRefValue 1e5;
}
relaxationFactors
{
rho 1;
pd 0.3;
p 0.3;
U 0.7;
h 0.7;
h 0.1;
k 0.7;
epsilon 0.7;
R 0.7;