Updated counterFlowFlame2D tutorials to run laminar

This commit is contained in:
Henry
2013-09-27 12:43:28 +01:00
parent 25751cf413
commit a02a1ba64d
24 changed files with 22 additions and 438 deletions

View File

@ -36,7 +36,6 @@ boundaryField
type inletOutlet; type inletOutlet;
inletValue uniform 293; inletValue uniform 293;
value uniform 293; value uniform 293;
} }
frontAndBack frontAndBack
{ {

View File

@ -33,7 +33,8 @@ boundaryField
} }
outlet outlet
{ {
type zeroGradient; type pressureInletOutletVelocity;
value $internalField;
} }
frontAndBack frontAndBack
{ {

View File

@ -1,45 +0,0 @@
/*--------------------------------*- 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 epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 50;
boundaryField
{
fuel
{
type fixedValue;
value uniform 1e-05;
}
air
{
type fixedValue;
value uniform 1e-05;
}
outlet
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,45 +0,0 @@
/*--------------------------------*- 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 k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 3.75e-05;
boundaryField
{
fuel
{
type fixedValue;
value uniform 3.75e-05;
}
air
{
type fixedValue;
value uniform 3.75e-05;
}
outlet
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,45 +0,0 @@
/*--------------------------------*- 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 mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
fuel
{
type fixedValue;
value uniform 0;
}
air
{
type fixedValue;
value uniform 0;
}
outlet
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,46 +0,0 @@
/*--------------------------------*- 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 rho;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -3 0 0 0 0 0];
internalField uniform 1.18001;
boundaryField
{
fuel
{
type calculated;
value uniform 0.243121;
}
air
{
type calculated;
value uniform 0.438564;
}
outlet
{
type calculated;
value uniform 1.18001;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,25 +0,0 @@
/*--------------------------------*- 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 dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel kEpsilon;
turbulence on;
printCoeffs on;
// ************************************************************************* //

View File

@ -38,7 +38,7 @@ EulerImplicitCoeffs
odeCoeffs odeCoeffs
{ {
solver SIBS; solver KRR4;
eps 0.05; eps 0.05;
scale 1; scale 1;
} }

View File

@ -15,14 +15,12 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel PaSR<psiChemistryCombustion>; combustionModel laminar<psiChemistryCombustion>;
active true; active true;
PaSRCoeffs laminarCoeffs
{ {
Cmix 0.1;
turbulentReaction off;
} }

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RASModel; simulationType laminar;
// ************************************************************************* // // ************************************************************************* //

View File

@ -29,7 +29,7 @@ deltaT 1;
writeControl runTime; writeControl runTime;
writeInterval 10; writeInterval 20;
purgeWrite 0; purgeWrite 0;

View File

@ -38,9 +38,9 @@ solvers
"(U|h|k|epsilon)" "(U|h|k|epsilon)"
{ {
solver BICCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-06; tolerance 1e-6;
relTol 0.1; relTol 0.1;
} }
@ -65,10 +65,10 @@ PIMPLE
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
maxDeltaT 1e-2; maxDeltaT 1e-2;
maxCo 0.2; maxCo 0.4;
alphaTemp 1; alphaTemp 1;
rDeltaTSmoothingCoeff 0.2; rDeltaTSmoothingCoeff 1;
rDeltaTDampingCoeff 0.2; rDeltaTDampingCoeff 1;
} }
relaxationFactors relaxationFactors

View File

@ -36,7 +36,6 @@ boundaryField
type inletOutlet; type inletOutlet;
inletValue uniform 293; inletValue uniform 293;
value uniform 293; value uniform 293;
} }
frontAndBack frontAndBack
{ {

View File

@ -33,7 +33,8 @@ boundaryField
} }
outlet outlet
{ {
type zeroGradient; type pressureInletOutletVelocity;
value $internalField;
} }
frontAndBack frontAndBack
{ {

View File

@ -1,45 +0,0 @@
/*--------------------------------*- 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 epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 50;
boundaryField
{
fuel
{
type fixedValue;
value uniform 1e-05;
}
air
{
type fixedValue;
value uniform 1e-05;
}
outlet
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,45 +0,0 @@
/*--------------------------------*- 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 k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 3.75e-05;
boundaryField
{
fuel
{
type fixedValue;
value uniform 3.75e-05;
}
air
{
type fixedValue;
value uniform 3.75e-05;
}
outlet
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,45 +0,0 @@
/*--------------------------------*- 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 mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
fuel
{
type fixedValue;
value uniform 0;
}
air
{
type fixedValue;
value uniform 0;
}
outlet
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,46 +0,0 @@
/*--------------------------------*- 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 rho;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -3 0 0 0 0 0];
internalField uniform 1.18001;
boundaryField
{
fuel
{
type calculated;
value uniform 0.243121;
}
air
{
type calculated;
value uniform 0.438564;
}
outlet
{
type calculated;
value uniform 1.18001;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,25 +0,0 @@
/*--------------------------------*- 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 dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel kEpsilon;
turbulence on;
printCoeffs on;
// ************************************************************************* //

View File

@ -38,7 +38,7 @@ EulerImplicitCoeffs
odeCoeffs odeCoeffs
{ {
solver SIBS; solver KRR4;
eps 0.05; eps 0.05;
scale 1; scale 1;
} }

View File

@ -15,14 +15,12 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel PaSR<psiChemistryCombustion>; combustionModel laminar<psiChemistryCombustion>;
active true; active true;
PaSRCoeffs laminarCoeffs
{ {
Cmix 0.1;
turbulentReaction off;
} }

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RASModel; simulationType laminar;
// ************************************************************************* // // ************************************************************************* //

View File

@ -17,13 +17,13 @@ FoamFile
application reactingFoam; application reactingFoam;
startFrom latestTime; startFrom startTime;
startTime 0; startTime 0;
stopAt endTime; stopAt endTime;
endTime 0.3; endTime 0.5;
deltaT 1e-6; deltaT 1e-6;

View File

@ -17,13 +17,13 @@ FoamFile
application LTSReactingParcelFoam; application LTSReactingParcelFoam;
startFrom latestTime; startFrom startTime;
startTime 0; startTime 0;
stopAt endTime; stopAt endTime;
endTime 2000; endTime 10000;
deltaT 1; deltaT 1;