more tutorial updates

This commit is contained in:
andy
2009-06-24 12:27:18 +01:00
parent 81dfb596d6
commit 441b8b0832
71 changed files with 252 additions and 263 deletions

View File

@ -30,7 +30,7 @@ divSchemes
div(rho*phi,U) Gauss upwind;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression 1;
div(phi,pd) Gauss upwind;
div(phi,p) Gauss upwind;
div(phi,k) Gauss vanLeer;
div((nuEff*dev(grad(U).T()))) Gauss linear;
}
@ -53,9 +53,9 @@ snGradSchemes
fluxRequired
{
default no;
pd ;
pcorr ;
gamma ;
p;
pcorr;
gamma;
}

View File

@ -45,7 +45,7 @@ solvers
solver diagonal;
}
pd
p
{
solver GAMG;
tolerance 1e-07;
@ -60,7 +60,7 @@ solvers
mergeLevels 1;
}
pdFinal
pFinal
{
solver PCG;
preconditioner

View File

@ -15,9 +15,33 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues ( volScalarFieldValue alpha1 1 volScalarFieldValue pd 100000 );
defaultFieldValues
(
volScalarFieldValue alpha1 1
volScalarFieldValue p 100000
);
regions ( sphereToCell { centre ( 0.5 0.5 0 ) ; radius 0.1 ; fieldValues ( volScalarFieldValue alpha1 0 volScalarFieldValue pd 1000000 ) ; } boxToCell { box ( -10 1 -1 ) ( 10 10 1 ) ; fieldValues ( volScalarFieldValue alpha1 0 ) ; } );
regions
(
sphereToCell
{
centre ( 0.5 0.5 0 );
radius 0.1;
fieldValues
(
volScalarFieldValue alpha1 0
volScalarFieldValue p 1000000
);
}
boxToCell
{
box ( -10 1 -1 ) ( 10 10 1 );
fieldValues
(
volScalarFieldValue alpha1 0
);
}
);
// ************************************************************************* //