mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Uptodate to dev for several tutorials
This commit is contained in:
@ -32,8 +32,8 @@ boundaryField
|
||||
sides
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
outletValue uniform (0 0 0);
|
||||
value uniform (0 0 0);
|
||||
phi phi;
|
||||
}
|
||||
base
|
||||
{
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0.05 0);
|
||||
value uniform (0 0.01 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -32,9 +32,9 @@ boundaryField
|
||||
p0 $internalField;
|
||||
U U;
|
||||
phi phi;
|
||||
rho none;
|
||||
rho rho;
|
||||
psi none;
|
||||
gamma 1;
|
||||
gamma 0;
|
||||
value $internalField;
|
||||
}
|
||||
base
|
||||
|
||||
@ -14,7 +14,6 @@ FoamFile
|
||||
location "constant";
|
||||
object LESProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
LESModel oneEqEddy;
|
||||
@ -26,6 +25,11 @@ turbulence on;
|
||||
printCoeffs on;
|
||||
|
||||
|
||||
oneEqEddyCoeffs
|
||||
{
|
||||
ck 0.07;
|
||||
}
|
||||
|
||||
cubeRootVolCoeffs
|
||||
{
|
||||
deltaCoeff 1;
|
||||
|
||||
@ -20,7 +20,7 @@ combustionModel infinitelyFastChemistry;
|
||||
|
||||
infinitelyFastChemistryCoeffs
|
||||
{
|
||||
C 10.0;
|
||||
C 5.0;
|
||||
}
|
||||
|
||||
noCombustionCoeffs
|
||||
|
||||
@ -18,20 +18,20 @@ convertToMeters 1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(-0.3 0 -0.3)
|
||||
( 0.3 0 -0.3)
|
||||
( 0.3 1.0 -0.3)
|
||||
(-0.3 1.0 -0.3)
|
||||
(-0.3 0 0.3)
|
||||
( 0.3 0 0.3)
|
||||
( 0.3 1.0 0.3)
|
||||
(-0.3 1.0 0.3)
|
||||
(-0.5 0 -0.5)
|
||||
( 0.5 0 -0.5)
|
||||
( 0.5 1.0 -0.5)
|
||||
(-0.5 1.0 -0.5)
|
||||
(-0.5 0 0.5)
|
||||
( 0.5 0 0.5)
|
||||
( 0.5 1.0 0.5)
|
||||
(-0.5 1.0 0.5)
|
||||
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (70 70 70) simpleGrading (1 1 1)
|
||||
hex (0 1 2 3 4 5 6 7) (60 60 60) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
|
||||
@ -20,26 +20,26 @@ FoamFile
|
||||
base
|
||||
{
|
||||
type patch;
|
||||
nFaces 4704;
|
||||
startFace 1014300;
|
||||
nFaces 3456;
|
||||
startFace 637200;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 4900;
|
||||
startFace 1019004;
|
||||
nFaces 3600;
|
||||
startFace 640656;
|
||||
}
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
nFaces 19600;
|
||||
startFace 1023904;
|
||||
nFaces 14400;
|
||||
startFace 644256;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 196;
|
||||
startFace 1043504;
|
||||
nFaces 144;
|
||||
startFace 658656;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ fvDOMCoeffs
|
||||
// Number of flow iterations per radiation iteration
|
||||
solverFreq 10;
|
||||
|
||||
absorptionEmissionModel constantAbsorptionEmission;
|
||||
absorptionEmissionModel greyMeanAbsorptionEmission;
|
||||
|
||||
constantAbsorptionEmissionCoeffs
|
||||
{
|
||||
|
||||
@ -1 +1 @@
|
||||
faceSet f0 new boxToFace (-0.06 -0.001 -0.06)(0.06 0.005 0.06)
|
||||
faceSet f0 new boxToFace (-0.1 -0.001 -0.1)(0.1 0.005 0.1)
|
||||
|
||||
@ -22,13 +22,13 @@ startTime 0.0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 10.0;
|
||||
endTime 6.0;
|
||||
|
||||
deltaT 0.001;
|
||||
|
||||
writeControl adjustableRunTime;
|
||||
|
||||
writeInterval 0.1;
|
||||
writeInterval 0.05;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
@ -48,7 +48,7 @@ runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 0.25;
|
||||
maxCo 0.2;
|
||||
|
||||
maxDeltaT 0.1;
|
||||
|
||||
|
||||
@ -27,15 +27,15 @@ gradSchemes
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(phi,U) Gauss limitedLinear 1;
|
||||
div(phi,k) Gauss limitedLinear 1;
|
||||
flux(phi,ft) Gauss limitedLinear01 1;
|
||||
default none;
|
||||
div(phi,U) Gauss linear;
|
||||
div(phi,k) Gauss limitedLinear 0.1;
|
||||
flux(phi,ft) Gauss limitedLinear01 0.1;
|
||||
div(phi,ft_b_h) Gauss multivariateSelection
|
||||
{
|
||||
fu limitedLinear01 1;
|
||||
ft limitedLinear01 1;
|
||||
hs limitedLinear 1;
|
||||
fu limitedLinear 0.1;
|
||||
ft limitedLinear 0.1;
|
||||
hs limitedLinear 0.1;
|
||||
};
|
||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
||||
div(phiU,p) Gauss linear;
|
||||
@ -44,7 +44,7 @@ divSchemes
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear corrected;
|
||||
default Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -54,7 +54,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default corrected;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -40,7 +40,7 @@ solvers
|
||||
p_rghFinal
|
||||
{
|
||||
$p_rgh;
|
||||
tolerance 1e-7;
|
||||
tolerance 1e-8;
|
||||
relTol 0;
|
||||
};
|
||||
|
||||
@ -57,7 +57,7 @@ solvers
|
||||
"(U|ft|fu|k|hs)Final"
|
||||
{
|
||||
$U;
|
||||
tolerance 1e-7;
|
||||
tolerance 1e-8;
|
||||
relTol 0;
|
||||
};
|
||||
|
||||
@ -77,7 +77,7 @@ solvers
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
tolerance 1e-04;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -85,9 +85,9 @@ solvers
|
||||
|
||||
PISO
|
||||
{
|
||||
momentumPredictor yes;
|
||||
momentumPredictor no;
|
||||
nOuterCorrectors 1;
|
||||
nCorrectors 2;
|
||||
nCorrectors 1;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user