further tutorial updates

This commit is contained in:
andy
2009-02-13 14:17:08 +00:00
parent d21869b580
commit a3b50aff9f
632 changed files with 9963 additions and 10602 deletions

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,15 +10,16 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object LESProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESModel oneEqEddy;
LESModel oneEqEddy;
delta cubeRootVol;
delta cubeRootVol;
printCoeffs on;
printCoeffs on;
laminarCoeffs
{
@ -26,34 +27,34 @@ laminarCoeffs
oneEqEddyCoeffs
{
ce 1.048;
ck 0.094;
ce 1.048;
ck 0.094;
}
dynOneEqEddyCoeffs
{
ce 1.05;
filter simple;
ce 1.05;
filter simple;
}
lowReOneEqEddyCoeffs
{
ck 0.07;
ce 1.05;
beta 0.01;
ck 0.07;
ce 1.05;
beta 0.01;
}
SmagorinskyCoeffs
{
ck 0.02;
ce 0.202;
ck 0.02;
ce 0.202;
}
DeardorffDiffStressCoeffs
{
ce 1.048;
ck 0.094;
cm 4.13;
ce 1.048;
ck 0.094;
cm 4.13;
}
cubeRootVolCoeffs
@ -68,6 +69,7 @@ PrandtlCoeffs
{
deltaCoeff 1;
}
smoothCoeffs
{
delta cubeRootVol;
@ -75,9 +77,11 @@ PrandtlCoeffs
{
deltaCoeff 1;
}
maxDeltaRatio 1.1;
}
Cdelta 0.158;
Cdelta 0.158;
}
vanDriestCoeffs
@ -87,6 +91,7 @@ vanDriestCoeffs
{
deltaCoeff 1;
}
smoothCoeffs
{
delta cubeRootVol;
@ -94,10 +99,12 @@ vanDriestCoeffs
{
deltaCoeff 1;
}
maxDeltaRatio 1.1;
}
Aplus 26;
Cdelta 0.158;
Aplus 26;
Cdelta 0.158;
}
smoothCoeffs
@ -107,14 +114,16 @@ smoothCoeffs
{
deltaCoeff 1;
}
maxDeltaRatio 1.1;
}
kappa 0.4187;
kappa 0.4187;
wallFunctionCoeffs
{
E 9;
E 9;
}
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object combustionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -18,21 +19,21 @@ laminarFlameSpeedCorrelation constant;
fuel Propane;
Su Su [0 1 -1 0 0 0 0] 0.135;
Su Su [ 0 1 -1 0 0 0 0 ] 0.135;
SuModel transport;
equivalenceRatio equivalenceRatio [0 0 0 0 0 0 0] 0.6;
equivalenceRatio equivalenceRatio [ 0 0 0 0 0 0 0 ] 0.6;
sigmaExt sigmaExt [0 0 -1 0 0 0 0] 338;
sigmaExt sigmaExt [ 0 0 -1 0 0 0 0 ] 338;
XiModel transport;
XiCoef XiCoef [0 0 0 0 0 0 0] 0.62;
XiCoef XiCoef [ 0 0 0 0 0 0 0 ] 0.62;
XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1;
XiShapeCoef XiShapeCoef [ 0 0 0 0 0 0 0 ] 1;
uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1;
uPrimeCoef uPrimeCoef [ 0 0 0 0 0 0 0 ] 1;
GuldersCoeffs
{
@ -45,6 +46,7 @@ GuldersCoeffs
beta -0.5;
f 2.3;
}
Propane
{
W 0.446;
@ -54,6 +56,7 @@ GuldersCoeffs
beta -0.2;
f 2.3;
}
IsoOctane
{
W 0.4658;
@ -67,16 +70,15 @@ GuldersCoeffs
ignite no;
ignitionSites
(
);
ignitionSites ( );
ignitionSphereFraction 0;
ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0;
ignitionThickness ignitionThickness [ 0 1 0 0 0 0 0 ] 0;
ignitionCircleFraction 0;
ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0;
ignitionKernelArea ignitionKernelArea [ 0 2 0 0 0 0 0 ] 0;
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,10 +10,12 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object environmentalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
g g [0 1 -2 0 0 0 0] (0 -9.81 0);
g g [ 0 1 -2 0 0 0 0 ] ( 0 -9.81 0 );
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,13 +10,14 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hhuMixtureThermo<homogeneousMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>;
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.675;
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [ 0 0 0 0 0 0 0 ] 15.675;
fuel fuel 1 44.0962 200 5000 1000 7.53414 0.0188722 -6.27185e-06 9.14756e-10 -4.78381e-14 -16467.5 -17.8923 0.933554 0.0264246 6.10597e-06 -2.19775e-08 9.51493e-12 -13958.5 19.2017 1.67212e-06 170.672;
@ -28,14 +29,5 @@ products products 1 28.3233 200 5000 1000 3.106 0.00179682 -5.94382e-07 9
burntProducts burntProducts 25.8095 28.3233 200 6000 1000 3.106 0.00179682 -5.94382e-07 9.04998e-11 -5.08033e-15 -11003.7 5.11872 3.49612 0.000650364 -2.08029e-07 1.2291e-09 -7.73697e-13 -11080.3 3.18978 1.67212e-06 170.672;
/*
thermoType hhuMixtureThermo<homogeneousMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 9.286;
reactants reactants 1 28 1330.9 2.133e+06 1.798e-05 0.7;
products products 1 28 1579.9 0 5.016e-05 0.7;
*/
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,11 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom startTime;
startTime 0;
@ -47,33 +47,28 @@ functions
(
fieldAverage1
{
// Type of functionObject
type fieldAverage;
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
outputControl outputTime;
// Fields to be averaged - runTime modifiable
fields
(
U
{
mean on;
prime2Mean on;
base time;
mean on;
prime2Mean on;
base time;
}
p
{
mean on;
prime2Mean on;
base time;
mean on;
prime2Mean on;
base time;
}
);
}
);
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,13 +10,14 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
@ -37,14 +38,7 @@ divSchemes
div(phiXi,Xi) Gauss limitedLinear 1;
div(phiXi,Su) Gauss limitedLinear 1;
div(phiSt,b) Gauss limitedLinear01 1;
div(phi,ft_b_h_hu) Gauss multivariateSelection
{
fu limitedLinear01 1;
ft limitedLinear01 1;
b limitedLinear01 1;
h limitedLinear 1;
hu limitedLinear 1;
};
div(phi,ft_b_h_hu) Gauss multivariateSelection { fu limitedLinear01 1 ; ft limitedLinear01 1 ; b limitedLinear01 1 ; h limitedLinear 1 ; hu limitedLinear 1 ; };
div(U) Gauss linear;
div((Su*grad(b))) Gauss linear;
div((U+((Su*Xi)*grad(b)))) Gauss linear;
@ -77,7 +71,8 @@ snGradSchemes
fluxRequired
{
default no;
p;
p ;
}
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,90 +10,116 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
rho PCG
rho
{
preconditioner DIC;
tolerance 1e-05;
relTol 0;
};
U PBiCG
solver PCG;
preconditioner DIC;
tolerance 1e-05;
relTol 0;
}
U
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
p PCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
p
{
preconditioner DIC;
tolerance 1e-06;
relTol 0;
};
ft PBiCG
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
ft
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
fu PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
fu
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
b PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
b
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
Xi PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
Xi
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
Su PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
Su
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
h PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
h
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
hu PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
hu
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
R PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
R
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
k PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
epsilon PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
epsilon
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
}
PISO
@ -102,4 +128,5 @@ PISO
nNonOrthogonalCorrectors 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,15 +10,16 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object LESProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESModel oneEqEddy;
LESModel oneEqEddy;
delta cubeRootVol;
delta cubeRootVol;
printCoeffs on;
printCoeffs on;
laminarCoeffs
{
@ -26,34 +27,34 @@ laminarCoeffs
oneEqEddyCoeffs
{
ce 1.048;
ck 0.094;
ce 1.048;
ck 0.094;
}
dynOneEqEddyCoeffs
{
ce 1.05;
ce 1.05;
filter simple;
}
lowReOneEqEddyCoeffs
{
ck 0.07;
ce 1.05;
beta 0.01;
ck 0.07;
ce 1.05;
beta 0.01;
}
SmagorinskyCoeffs
{
ck 0.02;
ce 0.202;
ck 0.02;
ce 0.202;
}
DeardorffDiffStressCoeffs
{
ce 1.048;
ck 0.094;
cm 4.13;
ce 1.048;
ck 0.094;
cm 4.13;
}
cubeRootVolCoeffs
@ -68,6 +69,7 @@ PrandtlCoeffs
{
deltaCoeff 1;
}
smoothCoeffs
{
delta cubeRootVol;
@ -75,9 +77,11 @@ PrandtlCoeffs
{
deltaCoeff 1;
}
maxDeltaRatio 1.1;
}
Cdelta 0.158;
Cdelta 0.158;
}
vanDriestCoeffs
@ -87,6 +91,7 @@ vanDriestCoeffs
{
deltaCoeff 1;
}
smoothCoeffs
{
delta cubeRootVol;
@ -94,10 +99,12 @@ vanDriestCoeffs
{
deltaCoeff 1;
}
maxDeltaRatio 1.1;
}
Aplus 26;
Cdelta 0.158;
Aplus 26;
Cdelta 0.158;
}
smoothCoeffs
@ -107,14 +114,16 @@ smoothCoeffs
{
deltaCoeff 1;
}
maxDeltaRatio 1.1;
}
kappa 0.4187;
kappa 0.4187;
wallFunctionCoeffs
{
E 9;
E 9;
}
// ************************************************************************* //

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,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object combustionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -18,21 +19,21 @@ laminarFlameSpeedCorrelation Gulders;
fuel Propane;
Su Su [0 1 -1 0 0 0 0] 0.135;
Su Su [ 0 1 -1 0 0 0 0 ] 0.135;
SuModel transport;
equivalenceRatio equivalenceRatio [0 0 0 0 0 0 0] 0.6;
equivalenceRatio equivalenceRatio [ 0 0 0 0 0 0 0 ] 0.6;
sigmaExt sigmaExt [0 0 -1 0 0 0 0] 338;
sigmaExt sigmaExt [ 0 0 -1 0 0 0 0 ] 338;
XiModel transport;
XiCoef XiCoef [0 0 0 0 0 0 0] 0.62;
XiCoef XiCoef [ 0 0 0 0 0 0 0 ] 0.62;
XiShapeCoef XiShapeCoef [0 0 0 0 0 0 0] 1;
XiShapeCoef XiShapeCoef [ 0 0 0 0 0 0 0 ] 1;
uPrimeCoef uPrimeCoef [0 0 0 0 0 0 0] 1;
uPrimeCoef uPrimeCoef [ 0 0 0 0 0 0 0 ] 1;
GuldersCoeffs
{
@ -45,6 +46,7 @@ GuldersCoeffs
beta -0.5;
f 2.3;
}
Propane
{
W 0.446;
@ -54,6 +56,7 @@ GuldersCoeffs
beta -0.2;
f 2.3;
}
IsoOctane
{
W 0.4658;
@ -67,24 +70,15 @@ GuldersCoeffs
ignite yes;
ignitionSites
(
{
location (0 0 0);
diameter 0.003;
start 0;
duration 0.001;
strength 2;
}
);
ignitionSites ( { location ( 0 0 0 ) ; diameter 0.003 ; start 0 ; duration 0.001 ; strength 2 ; } );
ignitionSphereFraction 1;
ignitionThickness ignitionThickness [0 1 0 0 0 0 0] 0;
ignitionThickness ignitionThickness [ 0 1 0 0 0 0 0 ] 0;
ignitionCircleFraction 0;
ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0;
ignitionKernelArea ignitionKernelArea [ 0 2 0 0 0 0 0 ] 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,10 +10,12 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object environmentalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
g g [0 1 -2 0 0 0 0] (0 0 0);
g g [ 0 1 -2 0 0 0 0 ] ( 0 0 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,13 +10,14 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hhuMixtureThermo<homogeneousMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>>;
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.675;
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [ 0 0 0 0 0 0 0 ] 15.675;
fuel fuel 1 44.0962 200 5000 1000 7.53414 0.0188722 -6.27185e-06 9.14756e-10 -4.78381e-14 -16467.5 -17.8923 0.933554 0.0264246 6.10597e-06 -2.19775e-08 9.51493e-12 -13958.5 19.2017 1.67212e-06 170.672;
@ -28,14 +29,5 @@ products products 1 28.3233 200 5000 1000 3.106 0.00179682 -5.94382e-07 9
burntProducts burntProducts 25.8095 28.3233 200 6000 1000 3.106 0.00179682 -5.94382e-07 9.04998e-11 -5.08033e-15 -11003.7 5.11872 3.49612 0.000650364 -2.08029e-07 1.2291e-09 -7.73697e-13 -11080.3 3.18978 1.67212e-06 170.672;
/*
thermoType hhuMixtureThermo<homogeneousMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 9.286;
reactants reactants 1 28 1330.9 2.133e+06 1.798e-05 0.7;
products products 1 28 1579.9 0 5.016e-05 0.7;
*/
// ************************************************************************* //

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,11 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom startTime;
startTime 0;
@ -47,33 +47,28 @@ functions
(
fieldAverage1
{
// Type of functionObject
type fieldAverage;
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
outputControl outputTime;
// Fields to be averaged - runTime modifiable
fields
(
U
{
mean on;
prime2Mean on;
base time;
mean on;
prime2Mean on;
base time;
}
p
{
mean on;
prime2Mean on;
base time;
mean on;
prime2Mean on;
base time;
}
);
}
);
// ************************************************************************* //

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,13 +10,14 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
@ -37,14 +38,7 @@ divSchemes
div(phiXi,Xi) Gauss limitedLinear 1;
div(phiXi,Su) Gauss limitedLinear 1;
div(phiSt,b) Gauss limitedLinear01 1;
div(phi,ft_b_h_hu) Gauss multivariateSelection
{
fu limitedLinear01 1;
ft limitedLinear01 1;
b limitedLinear01 1;
h limitedLinear 1;
hu limitedLinear 1;
};
div(phi,ft_b_h_hu) Gauss multivariateSelection { fu limitedLinear01 1 ; ft limitedLinear01 1 ; b limitedLinear01 1 ; h limitedLinear 1 ; hu limitedLinear 1 ; };
div(U) Gauss linear;
div((Su*grad(b))) Gauss linear;
div((U+((Su*Xi)*grad(b)))) Gauss linear;
@ -77,7 +71,8 @@ snGradSchemes
fluxRequired
{
default no;
p;
p ;
}
// ************************************************************************* //

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,90 +10,116 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
rho PCG
rho
{
preconditioner DIC;
tolerance 1e-05;
relTol 0;
};
U PBiCG
solver PCG;
preconditioner DIC;
tolerance 1e-05;
relTol 0;
}
U
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
p PCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
p
{
preconditioner DIC;
tolerance 1e-06;
relTol 0;
};
ft PBiCG
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
ft
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
fu PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
fu
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
b PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
b
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
Xi PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
Xi
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
Su PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
Su
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
h PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
h
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
hu PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
hu
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
R PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
R
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
k PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
epsilon PBiCG
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
epsilon
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
}
PISO
@ -102,4 +128,5 @@ PISO
nNonOrthogonalCorrectors 0;
}
// ************************************************************************* //