Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev

This commit is contained in:
Henry
2010-10-07 12:43:55 +01:00
154 changed files with 1822 additions and 2391 deletions

View File

@ -23,411 +23,7 @@ boundaryField
floor
{
type fixedValue;
value nonuniform List<scalar>
400
(
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
600
600
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
600
600
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
)
;
value uniform 300;
}
ceiling
{

View File

@ -22,23 +22,20 @@ boundaryField
{
floor
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
ceiling
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
fixedWalls
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
}

View File

@ -0,0 +1,45 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
floor
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
ceiling
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
fixedWalls
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
cp 0/T.org 0/T
rm -f 0/T
# ----------------------------------------------------------------- end-of-file

View File

@ -8,6 +8,7 @@ application=`getApplication`
compileApplication ../../buoyantPimpleFoam/hotRoom/setHotRoom
runApplication blockMesh
cp 0/T.org 0/T
runApplication setHotRoom
runApplication $application

View File

@ -40,12 +40,12 @@ divSchemes
laplacianSchemes
{
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian(kappaEff,T) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) Gauss linear corrected;
laplacian(nuEff,U) Gauss linear uncorrected;
laplacian((1|A(U)),p_rgh) Gauss linear uncorrected;
laplacian(kappaEff,T) Gauss linear uncorrected;
laplacian(DkEff,k) Gauss linear uncorrected;
laplacian(DepsilonEff,epsilon) Gauss linear uncorrected;
laplacian(DREff,R) Gauss linear uncorrected;
}
interpolationSchemes
@ -55,13 +55,13 @@ interpolationSchemes
snGradSchemes
{
default corrected;
default uncorrected;
}
fluxRequired
{
default no;
p ;
p_rgh;
}

View File

@ -17,17 +17,17 @@ FoamFile
solvers
{
p
p_rgh
{
solver PCG;
preconditioner DIC;
tolerance 1e-8;
relTol 0.1;
relTol 0.01;
}
pFinal
p_rghFinal
{
$p;
$p_rgh;
relTol 0;
}

View File

@ -22,23 +22,20 @@ boundaryField
{
floor
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
ceiling
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
fixedWalls
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
}

View File

@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
cp 0/T.org 0/T
rm -f 0/T
# ----------------------------------------------------------------- end-of-file

View File

@ -8,6 +8,7 @@ application=`getApplication`
compileApplication ../../buoyantPimpleFoam/hotRoom/setHotRoom
runApplication blockMesh
cp 0/T.org 0/T
runApplication setHotRoom
runApplication $application

View File

@ -45,5 +45,25 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //

View File

@ -37,17 +37,15 @@ solvers
SIMPLE
{
nNonOrthogonalCorrectors 0;
p_rghRefCell 0;
p_rghRefValue 0;
pRefCell 0;
pRefValue 0;
}
relaxationFactors
{
rho 1;
p_rgh 0.7;
U 0.2;
T 0.7;
T 0.5;
"(k|epsilon|R)" 0.7;
}

View File

@ -22,30 +22,26 @@ boundaryField
{
ground
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
igloo_region0
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
twoFridgeFreezers_seal_0
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
twoFridgeFreezers_herring_1
{
type buoyantPressure;
rho rhok;
value uniform 0;
type calculated;
value $internalField;
}
}

View File

@ -21,55 +21,55 @@ FoamFile
{
type empty;
nFaces 0;
startFace 60456;
startFace 60336;
}
minX
{
type empty;
nFaces 0;
startFace 60456;
startFace 60336;
}
maxX
{
type empty;
nFaces 0;
startFace 60456;
startFace 60336;
}
minY
{
type empty;
nFaces 0;
startFace 60456;
startFace 60336;
}
ground
{
type wall;
nFaces 590;
startFace 60456;
startFace 60336;
}
maxZ
{
type empty;
nFaces 0;
startFace 61046;
startFace 60926;
}
igloo_region0
{
type wall;
nFaces 2260;
startFace 61046;
startFace 60926;
}
twoFridgeFreezers_seal_0
{
type wall;
nFaces 1344;
startFace 63306;
startFace 63186;
}
twoFridgeFreezers_herring_1
{
type wall;
nFaces 1116;
startFace 64650;
startFace 64530;
}
)

View File

@ -45,5 +45,25 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //

View File

@ -37,16 +37,15 @@ solvers
SIMPLE
{
nNonOrthogonalCorrectors 0;
p_rghRefCell 0;
p_rghRefValue 0;
pRefCell 0;
pRefValue 0;
}
relaxationFactors
{
p_rgh 0.8;
p_rgh 0.7;
U 0.2;
T 0.7;
T 0.5;
"(k|epsilon)" 0.7;
}

View File

@ -22,20 +22,20 @@ boundaryField
{
floor
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
ceiling
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
fixedWalls
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
}

View File

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

View File

@ -42,7 +42,7 @@ laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear corrected;
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
laplacian((rho*(1|A(U))),p_rgh) 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;
p ;
p_rgh;
}

View File

@ -25,17 +25,17 @@ solvers
relTol 0;
}
p
p_rgh
{
solver PCG;
preconditioner DIC;
tolerance 1e-8;
relTol 0.1;
relTol 0.01;
}
pFinal
p_rghFinal
{
$p;
$p_rgh;
relTol 0;
}
@ -44,7 +44,7 @@ solvers
solver PBiCG;
preconditioner DILU;
tolerance 1e-6;
relTol 0;
relTol 0.1;
}
"(U|h|k|epsilon|R)Final"
@ -56,7 +56,7 @@ solvers
PIMPLE
{
momentumPredictor no;
momentumPredictor yes;
nOuterCorrectors 1;
nCorrectors 2;
nNonOrthogonalCorrectors 0;

View File

@ -23,26 +23,26 @@ boundaryField
{
frontAndBack
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
topAndBottom
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
hot
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
cold
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
}

View File

@ -44,5 +44,25 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //

View File

@ -44,17 +44,16 @@ SIMPLE
{
momentumPredictor yes;
nNonOrthogonalCorrectors 0;
p_rghRefCell 0;
p_rghRefValue 100000;
pRefValue 100000;
convergence 1e-04;
pRefCell 0;
pRefValue 0;
}
relaxationFactors
{
p_rgh 0.9;
rho 1.0;
p_rgh 0.7;
U 0.3;
h 0.7;
h 0.3;
"(k|epsilon|omega)" 0.7;
}

View File

@ -23,411 +23,7 @@ boundaryField
floor
{
type fixedValue;
value nonuniform List<scalar>
400
(
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
600
600
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
600
600
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
)
;
value uniform 300;
}
ceiling
{

View File

@ -23,411 +23,7 @@ boundaryField
floor
{
type fixedValue;
value nonuniform List<scalar>
400
(
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
600
600
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
600
600
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
300
)
;
value uniform 300;
}
ceiling
{

View File

@ -22,20 +22,20 @@ boundaryField
{
floor
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
ceiling
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
fixedWalls
{
type buoyantPressure;
value uniform 1e5;
type calculated;
value $internalField;
}
}

View File

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

View File

@ -45,5 +45,25 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //

View File

@ -40,12 +40,12 @@ divSchemes
laplacianSchemes
{
default none;
laplacian(muEff,U) 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;
laplacian(DREff,R) Gauss linear corrected;
laplacian(muEff,U) Gauss linear uncorrected;
laplacian((rho*(1|A(U))),p_rgh) Gauss linear uncorrected;
laplacian(alphaEff,h) Gauss linear uncorrected;
laplacian(DkEff,k) Gauss linear uncorrected;
laplacian(DepsilonEff,epsilon) Gauss linear uncorrected;
laplacian(DREff,R) Gauss linear uncorrected;
}
interpolationSchemes
@ -61,7 +61,7 @@ snGradSchemes
fluxRequired
{
default no;
p ;
p_rgh;
}

View File

@ -17,12 +17,12 @@ FoamFile
solvers
{
p
p_rgh
{
solver PCG;
preconditioner DIC;
tolerance 1e-08;
relTol 0;
relTol 0.01;
}
"(U|h|k|epsilon|R)"
@ -30,7 +30,7 @@ solvers
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
relTol 0.1;
}
}
@ -38,16 +38,16 @@ SIMPLE
{
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 100000;
pRefValue 0;
}
relaxationFactors
{
rho 1;
p 0.7;
rho 1.0;
p_rgh 0.7;
U 0.2;
h 0.7;
"(k|epsilon|R)" 0.7;
h 0.2;
"(k|epsilon|R)" 0.5;
}

View File

@ -25,7 +25,7 @@ boundaryField
type MarshakRadiation;
T T;
emissivity 1;
value uniform 0;
// value uniform 0;
}
fixedWalls
@ -33,7 +33,7 @@ boundaryField
type MarshakRadiation;
T T;
emissivity 1;
value uniform 0;
// value uniform 0;
}
ceiling
@ -41,7 +41,7 @@ boundaryField
type MarshakRadiation;
T T;
emissivity 1;
value uniform 0;
// value uniform 0;
}
box
@ -49,7 +49,7 @@ boundaryField
type MarshakRadiation;
T T;
emissivity 1;
value uniform 0;
// value uniform 0;
}
}

View File

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

View File

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

View File

@ -45,5 +45,25 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //

View File

@ -41,7 +41,7 @@ laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear corrected;
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
laplacian((rho*(1|A(U))),p_rgh) 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;
p;
p_rgh;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
p
p_rgh
{
solver PCG;
preconditioner DIC;
@ -35,7 +35,7 @@ solvers
G
{
$p;
$p_rgh;
tolerance 1e-05;
relTol 0.1;
}
@ -50,11 +50,11 @@ SIMPLE
relaxationFactors
{
rho 1;
p 0.3;
U 0.7;
h 0.7;
"(k|epsilon)" 0.7;
rho 1.0;
p_rgh 0.7;
U 0.2;
h 0.2;
"(k|epsilon|R)" 0.5;
G 0.7;
}

View File

@ -24,7 +24,7 @@ boundaryField
{
type greyDiffusiveRadiation;
T T;
emissivity 0.5;
emissivity 1.0;
value uniform 0;
}
}

View File

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

View File

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

View File

@ -45,5 +45,25 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //

View File

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

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
p
p_rgh
{
solver GAMG;
tolerance 1e-06;
@ -47,11 +47,12 @@ SIMPLE
relaxationFactors
{
rho 1;
p 0.3;
rho 1.0;
p_rgh 0.3;
U 0.7;
h 0.7;
"(k|epsilon)" 0.7;
k 0.7;
epsilon 0.7;
"ILambda.*" 0.7;
}

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0.001";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0.001";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
}
}
// ************************************************************************* //

View File

@ -92,16 +92,30 @@ dictionaryReplacement
}
}
p
p_rgh
{
internalField uniform 100000;
internalField uniform 1e5;
boundaryField
{
".*"
{
type buoyantPressure;
value 1e5;
value uniform 1e5;
}
}
}
p
{
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
value uniform 1e5;
}
}
}

View File

@ -17,13 +17,11 @@ FoamFile
ddtSchemes
{
default Euler;
//default CoEuler phi rho 0.1;
}
gradSchemes
{
default Gauss linear;
// grad(U) cellLimited Gauss linear 1;
}
divSchemes
@ -43,7 +41,7 @@ laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p_rgh) Gauss linear limited 0.333;
laplacian(alphaEff,h) Gauss linear limited 0.333;
laplacian(DkEff,k) Gauss linear limited 0.333;
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
@ -63,7 +61,7 @@ snGradSchemes
fluxRequired
{
default no;
p;
p_rgh;
}
// ************************************************************************* //

View File

@ -24,7 +24,7 @@ solvers
relTol 0;
}
p
p_rgh
{
solver GAMG;
tolerance 1e-8;
@ -38,31 +38,26 @@ solvers
mergeLevels 1;
}
pFinal
p_rghFinal
{
$p;
$p_rgh;
tolerance 1e-8;
relTol 0;
}
U
"(U|h|k|epsilon|R)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
relTol 0;
}
h
{
$U;
tolerance 1e-08;
relTol 0.1;
}
"(hFinal|k|epsilon|R)"
"(U|h|k|epsilon|R)Final"
{
$U;
tolerance 1e-08;
relTol 0;
}
}

View File

@ -35,9 +35,9 @@ writeInterval 50;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 7;
writePrecision 8;
writeCompression off;
@ -45,11 +45,12 @@ timeFormat general;
timePrecision 6;
runTimeModifiable true;
runTimeModifiable yes;
maxCo 0.3;
maxDi 10.0;
// Maximum diffusion number
maxDi 10.0;
adjustTimeStep yes;

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -21,6 +21,12 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1E-06;
relTol 0.1;
}
TFinal
{
$T;
tolerance 1E-06;
relTol 0;
}
}

View File

@ -21,6 +21,12 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1E-06;
relTol 0.1;
}
TFinal
{
$T;
tolerance 1E-06;
relTol 0;
}
}

View File

@ -21,6 +21,12 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1E-06;
relTol 0.1;
}
TFinal
{
$T;
tolerance 1E-06;
relTol 0;
}
}

View File

@ -18,7 +18,7 @@ dictionaryReplacement
{
U
{
internalField uniform (0.01 0 0);
internalField uniform (0.1 0 0);
boundaryField
{
@ -30,13 +30,13 @@ dictionaryReplacement
minX
{
type fixedValue;
value uniform ( 0.01 0 0 );
value uniform ( 0.1 0 0 );
}
maxX
{
type inletOutlet;
inletValue uniform ( 0 0 0 );
value uniform ( 0 0 0 );
value uniform ( 0.1 0 0 );
}
}
}
@ -127,25 +127,42 @@ dictionaryReplacement
}
}
p
p_rgh
{
internalField uniform 100000;
internalField uniform 1e5;
boundaryField
{
".*"
{
type buoyantPressure;
value 1e5;
value uniform 1e5;
}
maxX
{
type waveTransmissive;
gamma 1.4;
fieldInf 100000;
lInf 0.4;
value uniform 100000;
type fixedValue;
value uniform 1e5;
}
}
}
p
{
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
value uniform 1e5;
}
maxX
{
type calculated;
value uniform 1e5;
}
}
}

View File

@ -17,13 +17,11 @@ FoamFile
ddtSchemes
{
default Euler;
//default CoEuler phi rho 0.1;
}
gradSchemes
{
default Gauss linear;
// grad(U) cellLimited Gauss linear 1;
}
divSchemes
@ -43,7 +41,7 @@ laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p_rgh) Gauss linear limited 0.333;
laplacian(alphaEff,h) Gauss linear limited 0.333;
laplacian(DkEff,k) Gauss linear limited 0.333;
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
@ -63,7 +61,7 @@ snGradSchemes
fluxRequired
{
default no;
p;
p_rgh;
}
// ************************************************************************* //

View File

@ -20,14 +20,14 @@ solvers
{
solver PCG
preconditioner DIC;
tolerance 1e-8;
tolerance 1e-7;
relTol 0;
}
p
p_rgh
{
solver GAMG;
tolerance 1e-8;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
@ -36,47 +36,43 @@ solvers
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 100;
}
pFinal
p_rghFinal
{
$p;
tolerance 1e-8;
$p_rgh;
tolerance 1e-7;
relTol 0;
}
U
"(U|h|k|epsilon|R)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
relTol 0;
}
h
{
$U;
tolerance 1e-08;
tolerance 1e-7;
relTol 0.1;
}
"(hFinal|k|epsilon|R)"
"(U|h|k|epsilon|R)Final"
{
$U;
tolerance 1e-07;
relTol 0;
}
}
PISO
{
momentumPredictor off;
momentumPredictor off;
nOuterCorrectors 1;
nCorrectors 2;
nCorrectors 2;
nNonOrthogonalCorrectors 1;
pRefPoint (-0.081 -0.0257 8.01);
pRefValue 1e5;
pRefPoint (-0.081 -0.0257 8.01);
pRefValue 1e5;
}
PIMPLE
{
momentumPredictor on;
@ -84,11 +80,10 @@ PIMPLE
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
// h 0.9;
// U 0.9;
h 1;
U 1;
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0.001";
object alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0.001";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0.001";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
}
}
// ************************************************************************* //

View File

@ -94,16 +94,30 @@ dictionaryReplacement
}
}
p
p_rgh
{
internalField uniform 100000;
internalField uniform 1e5;
boundaryField
{
".*"
{
type buoyantPressure;
value 1e5;
value uniform 1e5;
}
}
}
p
{
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
value uniform 1e5;
}
}
}

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -17,13 +17,11 @@ FoamFile
ddtSchemes
{
default Euler;
//default CoEuler phi rho 0.1;
}
gradSchemes
{
default Gauss linear;
// grad(U) cellLimited Gauss linear 1;
}
divSchemes
@ -43,7 +41,7 @@ laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p_rgh) Gauss linear limited 0.333;
laplacian(alphaEff,h) Gauss linear limited 0.333;
laplacian(DkEff,k) Gauss linear limited 0.333;
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
@ -63,7 +61,7 @@ snGradSchemes
fluxRequired
{
default no;
p;
p_rgh;
}
// ************************************************************************* //

View File

@ -20,14 +20,14 @@ solvers
{
solver PCG
preconditioner DIC;
tolerance 1e-8;
tolerance 1e-7;
relTol 0;
}
p
p_rgh
{
solver GAMG;
tolerance 1e-8;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
@ -38,46 +38,39 @@ solvers
mergeLevels 1;
}
pFinal
p_rghFinal
{
$p;
tolerance 1e-8;
$p_rgh;
tolerance 1e-7;
relTol 0;
}
U
"(U|h|k|epsilon|R)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
relTol 0;
}
h
{
$U;
tolerance 1e-08;
tolerance 1e-7;
relTol 0.1;
}
"(hFinal|k|epsilon|R)"
"(U|h|k|epsilon|R)Final"
{
$U;
tolerance 1e-07;
relTol 0;
}
}
PISO
{
momentumPredictor off;
momentumPredictor off;
nOuterCorrectors 1;
nCorrectors 2;
nCorrectors 2;
nNonOrthogonalCorrectors 1;
pRefPoint (-0.081 -0.0257 8.01);
pRefValue 1e5;
pRefPoint (-0.081 -0.0257 8.01);
pRefValue 1e5;
}
PIMPLE
{
momentumPredictor on;
@ -85,11 +78,10 @@ PIMPLE
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
// h 0.9;
// U 0.9;
h 1;
U 1;
}
// ************************************************************************* //

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -21,6 +21,12 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1E-06;
relTol 0.1;
}
TFinal
{
$T;
tolerance 1E-06;
relTol 0;
}
}

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -21,6 +21,13 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1E-06;
relTol 0.1;
}
TFinal
{
$T;
tolerance 1E-06;
relTol 0;
}
}

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -21,6 +21,13 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1E-06;
relTol 0.1;
}
TFinal
{
$T;
tolerance 1E-06;
relTol 0;
}
}

View File

@ -18,7 +18,7 @@ dictionaryReplacement
{
U
{
internalField uniform (0.01 0 0);
internalField uniform (0.1 0 0);
boundaryField
{
@ -30,13 +30,13 @@ dictionaryReplacement
minX
{
type fixedValue;
value uniform ( 0.01 0 0 );
value uniform ( 0.1 0 0 );
}
maxX
{
type inletOutlet;
inletValue uniform ( 0 0 0 );
value uniform ( 0 0 0 );
value uniform ( 0.1 0 0 );
}
}
}
@ -127,25 +127,42 @@ dictionaryReplacement
}
}
p
p_rgh
{
internalField uniform 100000;
internalField uniform 1e5;
boundaryField
{
".*"
{
type buoyantPressure;
value 1e5;
value uniform 1e5;
}
maxX
{
type waveTransmissive;
gamma 1.4;
fieldInf 100000;
lInf 0.4;
value uniform 100000;
type fixedValue;
value uniform 1e5;
}
}
}
p
{
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
value uniform 1e5;
}
maxX
{
type calculated;
value uniform 1e5;
}
}
}

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -17,13 +17,11 @@ FoamFile
ddtSchemes
{
default Euler;
//default CoEuler phi rho 0.1;
}
gradSchemes
{
default Gauss linear;
// grad(U) cellLimited Gauss linear 1;
}
divSchemes
@ -43,7 +41,7 @@ laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p_rgh) Gauss linear limited 0.333;
laplacian(alphaEff,h) Gauss linear limited 0.333;
laplacian(DkEff,k) Gauss linear limited 0.333;
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
@ -63,7 +61,7 @@ snGradSchemes
fluxRequired
{
default no;
p;
p_rgh;
}
// ************************************************************************* //

View File

@ -20,14 +20,14 @@ solvers
{
solver PCG
preconditioner DIC;
tolerance 1e-8;
tolerance 1e-7;
relTol 0;
}
p
p_rgh
{
solver GAMG;
tolerance 1e-8;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
@ -36,47 +36,43 @@ solvers
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 100;
}
pFinal
p_rghFinal
{
$p;
tolerance 1e-8;
$p_rgh;
tolerance 1e-7;
relTol 0;
}
U
"(U|h|k|epsilon|R)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
relTol 0;
}
h
{
$U;
tolerance 1e-08;
tolerance 1e-7;
relTol 0.1;
}
"(hFinal|k|epsilon|R)"
"(U|h|k|epsilon|R)Final"
{
$U;
tolerance 1e-07;
relTol 0;
}
}
PISO
{
momentumPredictor off;
momentumPredictor off;
nOuterCorrectors 1;
nCorrectors 2;
nCorrectors 2;
nNonOrthogonalCorrectors 1;
pRefPoint (-0.081 -0.0257 8.01);
pRefValue 1e5;
pRefPoint (-0.081 -0.0257 8.01);
pRefValue 1e5;
}
PIMPLE
{
momentumPredictor on;
@ -84,11 +80,10 @@ PIMPLE
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
// h 0.9;
// U 0.9;
h 1;
U 1;
}
// ************************************************************************* //

View File

@ -16,7 +16,7 @@ FoamFile
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0.01 0 0);
internalField uniform (0.1 0 0);
boundaryField
{

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0.001";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0.001";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
}
}
// ************************************************************************* //

View File

@ -92,16 +92,30 @@ dictionaryReplacement
}
}
p
p_rgh
{
internalField uniform 100000;
internalField uniform 1e5;
boundaryField
{
".*"
{
type buoyantPressure;
value 1e5;
value uniform 1e5;
}
}
}
p
{
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
value uniform 1e5;
}
}
}

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -28,7 +28,7 @@ divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phiU,p) Gauss linear;
div(U,p) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
@ -41,7 +41,7 @@ laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p_rgh) Gauss linear limited 0.333;
laplacian(alphaEff,h) Gauss linear limited 0.333;
laplacian(DkEff,k) Gauss linear limited 0.333;
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
@ -61,7 +61,7 @@ snGradSchemes
fluxRequired
{
default no;
p;
p_rgh;
}
// ************************************************************************* //

View File

@ -20,14 +20,14 @@ solvers
{
solver PCG
preconditioner DIC;
tolerance 1e-8;
tolerance 1e-7;
relTol 0;
}
p
p_rgh
{
solver GAMG;
tolerance 1e-8;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
@ -42,22 +42,25 @@ solvers
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
tolerance 1e-7;
relTol 0.1;
}
}
SIMPLE
{
momentumPredictor on;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 100000;
rhoMin rhoMin [1 -3 0 0 0] 0.2;
rhoMax rhoMax [1 -3 0 0 0] 2;
}
relaxationFactors
{
rho 1;
p 0.7;
p_rgh 0.7;
U 0.3;
h 0.7;
nuTilda 0.7;

View File

@ -17,7 +17,7 @@ FoamFile
libs ("libcompressibleTurbulenceModel.so" "libcompressibleRASModels.so");
application chtMultiRegionFoam;
application chtMultiRegionSimpleFoam;
startFrom startTime;
@ -25,14 +25,15 @@ startTime 0;
stopAt endTime;
endTime 1000;
endTime 2000;
deltaT 1;
writeControl timeStep;
writeInterval 100;
purgeWrite 0;
purgeWrite 5;
writeFormat ascii;

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -18,7 +18,7 @@ dictionaryReplacement
{
U
{
internalField uniform (0.01 0 0);
internalField uniform (0.1 0 0);
boundaryField
{
@ -30,13 +30,13 @@ dictionaryReplacement
minX
{
type fixedValue;
value uniform ( 0.01 0 0 );
value uniform ( 0.1 0 0 );
}
maxX
{
type inletOutlet;
inletValue uniform ( 0 0 0 );
value uniform ( 0 0 0 );
value uniform ( 0.1 0 0 );
}
}
}
@ -127,22 +127,42 @@ dictionaryReplacement
}
}
p
p_rgh
{
internalField uniform 100000;
internalField uniform 1e5;
boundaryField
{
".*"
{
type buoyantPressure;
value 1e5;
value uniform 1e5;
}
maxX
{
type fixedValue;
value uniform 100000;
value uniform 1e5;
}
}
}
p
{
internalField uniform 1e5;
boundaryField
{
".*"
{
type calculated;
value uniform 1e5;
}
maxX
{
type calculated;
value uniform 1e5;
}
}
}

View File

@ -76,7 +76,7 @@ manualCoeffs
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//roots
//(
// "/tmp"
// "/tmp"

View File

@ -28,7 +28,7 @@ divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phiU,p) Gauss linear;
div(U,p) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
@ -41,7 +41,7 @@ laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p) Gauss linear limited 0.333;
laplacian((rho*(1|A(U))),p_rgh) Gauss linear limited 0.333;
laplacian(alphaEff,h) Gauss linear limited 0.333;
laplacian(DkEff,k) Gauss linear limited 0.333;
laplacian(DepsilonEff,epsilon) Gauss linear limited 0.333;
@ -61,7 +61,7 @@ snGradSchemes
fluxRequired
{
default no;
p;
p_rgh;
}
// ************************************************************************* //

View File

@ -20,14 +20,14 @@ solvers
{
solver PCG
preconditioner DIC;
tolerance 1e-8;
tolerance 1e-7;
relTol 0;
}
p
p_rgh
{
solver GAMG;
tolerance 1e-8;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
@ -36,28 +36,33 @@ solvers
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 100;
}
"(U|h|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-08;
tolerance 1e-7;
relTol 0.1;
}
}
SIMPLE
{
momentumPredictor on;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 100000;
rhoMin rhoMin [1 -3 0 0 0] 0.2;
rhoMax rhoMax [1 -3 0 0 0] 2;
}
relaxationFactors
{
rho 1;
p 0.7;
p_rgh 0.7;
U 0.3;
h 0.7;
nuTilda 0.7;