ENH: Film tutorial updates

This commit is contained in:
andy 2011-04-12 17:35:25 +01:00
parent c72ffd6a04
commit e5a319d6d6
9 changed files with 69 additions and 14 deletions

View File

@ -15,6 +15,8 @@ cuttingPlane
surfaceFormat vtk;
fields ( p U );
interpolationScheme cellPoint;
surfaces
(
yNormal

View File

@ -31,7 +31,12 @@ boundaryField
type zeroGradient;
}
filmWalls
sides
{
type zeroGradient;
}
frontAndBack
{
type zeroGradient;
}

View File

@ -32,11 +32,16 @@ boundaryField
value uniform (0 0 0);
}
filmWalls
sides
{
type fixedValue;
value uniform (0 0 0);
}
frontAndBack
{
type slip;
}
}

View File

@ -31,7 +31,12 @@ boundaryField
type zeroGradient;
}
filmWalls
sides
{
type zeroGradient;
}
frontAndBack
{
type zeroGradient;
}

View File

@ -31,7 +31,12 @@ boundaryField
type zeroGradient;
}
filmWalls
sides
{
type zeroGradient;
}
frontAndBack
{
type zeroGradient;
}

View File

@ -32,11 +32,16 @@ boundaryField
value uniform (0 0 0);
}
filmWalls
sides
{
type fixedValue;
value uniform (0 0 0);
}
frontAndBack
{
type slip;
}
}

View File

@ -31,7 +31,12 @@ boundaryField
type zeroGradient;
}
filmWalls
sides
{
type zeroGradient;
}
frontAndBack
{
type zeroGradient;
}

View File

@ -17,20 +17,27 @@ FoamFile
solvers
{
"(rho|G)"
rho
{
solver PCG;
preconditioner DIC;
tolerance 1e-05;
relTol 0.1;
}
rhoFinal
{
$rho;
tolerance 1e-05;
relTol 0;
}
"(U|hs|k|epsilon)"
"(U|hs)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
relTol 0.1;
}
p
@ -38,15 +45,31 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.1;
}
pFinal
{
$p;
tolerance 1e-06;
relTol 0;
}
"(U|hs)Final"
{
$U;
tolerance 1e-05;
relTol 0;
}
"(k|epsilon)"
{
$UFinal;
}
"(Yi|O2|N2|H2O)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
$UFinal;
}
}

View File

@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory
runApplication blockMesh
runApplication snappyHexMesh -overwrite
transformPoints -scale '(2 1 1)'
runApplication transformPoints -scale '(2 1 1)'
cp 0/alpha1.org 0/alpha1
runApplication setFields
runApplication `getApplication`