ENH: Up to date of flamePropagationWithObstacles tutorial

This commit is contained in:
Sergio Ferraris
2011-11-04 16:33:31 +00:00
parent 87e61c6474
commit 7d4aa48b80
15 changed files with 97 additions and 24 deletions

View File

@ -47,7 +47,7 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.3;
maxCo 0.2;
maxDeltaT 1;

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -22,13 +22,13 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1e-05;
relTol 0.1;
relTol 0.01;
};
rhoFinal
{
$rho;
tolerance 1e-05;
tolerance 1e-06;
relTol 0;
};
@ -37,7 +37,7 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1e-6;
relTol 0.1;
relTol 0.01;
};
pFinal
@ -51,7 +51,7 @@ solvers
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
tolerance 1e-06;
relTol 0.1;
}
@ -59,7 +59,7 @@ solvers
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
tolerance 1e-06;
relTol 0;
}
}

View File

@ -0,0 +1,78 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict.1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name blockedFacesSet;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (1 1 0.99) (2 2 1);
}
}
{
name blockedCellsSet;
type cellSet;
action new;
source boxToCell;
sourceInfo
{
box (2.4 2.4 0) (3 3 1);
}
}
{
name blockedCellsSet;
type cellSet;
action add;
source boxToCell;
sourceInfo
{
box (0 0 0) (0.6 0.6 1);
}
}
{
name blockedFacesSet;
type faceSet;
action add;
source cellToFace;
sourceInfo
{
set blockedCellsSet;
option all;
}
}
{
name coupledFacesSet;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (1.0 1.99 0) (2.0 2.09 0.6);
}
}
);
// ************************************************************************* //