Fixed channelFoam, nonNewtonianIcoFoam, pisoFoam and shallowWaterFoam tutorials

This commit is contained in:
Vanja Skuric 2016-05-06 15:20:34 +02:00
parent ff283646df
commit 99fdf7833b
10 changed files with 6 additions and 165 deletions

View file

@ -4,4 +4,4 @@
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -f constant/polyMesh/boundary

View file

@ -1,62 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.2 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
bottomWall
{
type wall;
nFaces 1200;
startFace 175300;
}
topWall
{
type wall;
nFaces 1200;
startFace 176500;
}
sides1
{
type cyclic;
nFaces 2000;
startFace 177700;
featureCos 0.9;
}
sides2
{
type cyclic;
nFaces 2000;
startFace 179700;
featureCos 0.9;
}
inout1
{
type cyclic;
nFaces 1500;
startFace 181700;
featureCos 0.9;
}
inout2
{
type cyclic;
nFaces 1500;
startFace 183200;
featureCos 0.9;
}
)
// ************************************************************************* //

View file

@ -34,7 +34,7 @@ divSchemes
div(phi,B) Gauss limitedLinear 1;
div(B) Gauss linear;
div(phi,nuTilda) Gauss limitedLinear 1;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -58,10 +58,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p;
}
// ************************************************************************* //

View file

@ -1,62 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.2 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
left
{
type patch;
nFaces 35;
startFace 3485;
}
right
{
type patch;
nFaces 35;
startFace 3520;
}
down
{
type wall;
nFaces 40;
startFace 3555;
}
up
{
type wall;
nFaces 40;
startFace 3595;
}
cylinder
{
type wall;
nFaces 80;
startFace 3635;
}
defaultFaces
{
type empty;
nFaces 3600;
startFace 3715;
}
)
// ************************************************************************* //

View file

@ -49,10 +49,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p;
}
// ************************************************************************* //

View file

@ -35,7 +35,7 @@ divSchemes
div(phi,B) Gauss limitedLinear 1;
div(phi,nuTilda) Gauss limitedLinear 1;
div(B) Gauss linear;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -59,10 +59,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p ;
}
// ************************************************************************* //

View file

@ -35,7 +35,7 @@ divSchemes
div(phi,B) Gauss limitedLinear 1;
div(phi,nuTilda) Gauss limitedLinear 1;
div(B) Gauss linear;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -59,10 +59,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p ;
}
// ************************************************************************* //

View file

@ -36,7 +36,7 @@ divSchemes
div(phi,R) Gauss upwind;
div(R) Gauss linear;
div(phi,nuTilda) Gauss upwind;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -61,10 +61,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p ;
}
// ************************************************************************* //

View file

@ -45,9 +45,4 @@ snGradSchemes
default uncorrected;
}
fluxRequired
{
h;
}
// ************************************************************************* //

View file

@ -41,7 +41,7 @@ solvers
}
}
PISO
PIMPLE
{
nOuterCorrectors 3;
nCorrectors 1;