Fixed PODSolver and potentialFoam tutorials (backports)

This commit is contained in:
Vanja Skuric 2016-05-08 09:29:03 +02:00
parent 30644bf3b0
commit 4ea9d1f3b8
9 changed files with 35 additions and 56 deletions

View file

@ -1,9 +1,9 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.2 |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
| \\/ M anipulation | For copyright notice see file Copyright |
\*---------------------------------------------------------------------------*/
FoamFile
{
@ -32,7 +32,6 @@ FoamFile
frontAndBack
{
type empty;
physicalType empty;
nFaces 200;
startFace 51;
}

View file

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

View file

@ -14,9 +14,12 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
T
{
T BICCG 1e-06 0;
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
SIMPLE

View file

@ -1,42 +1,40 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.2 |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
| \\/ M anipulation | For copyright notice see file Copyright |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
3
(
left
{
type patch;
nFaces 1;
startFace 49;
}
right
{
type patch;
nFaces 1;
startFace 50;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 200;
startFace 51;
}
left
{
type patch;
nFaces 1;
startFace 49;
}
right
{
type patch;
nFaces 1;
startFace 50;
}
frontAndBack
{
type empty;
nFaces 200;
startFace 51;
}
)
// ************************************************************************* //

View file

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

View file

@ -14,9 +14,12 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
T
{
T BICCG 1e-06 0;
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
SIMPLE

View file

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

View file

@ -1,9 +1,9 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.2 |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
| \\/ M anipulation | For copyright notice see file Copyright |
\*---------------------------------------------------------------------------*/
FoamFile
{

View file

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