Fixed boundaryFoam tutorials (backports)
This commit is contained in:
parent
802b13cacf
commit
a3a524dbe6
6 changed files with 29 additions and 31 deletions
|
@ -1,15 +1,16 @@
|
||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | foam-extend: Open Source CFD |
|
| \\ / 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 |
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | For copyright notice see file Copyright |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class polyBoundaryMesh;
|
class polyBoundaryMesh;
|
||||||
|
location "constant/polyMesh";
|
||||||
object boundary;
|
object boundary;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
|
@ -31,7 +31,7 @@ divSchemes
|
||||||
div(phi,epsilon) Gauss linear;
|
div(phi,epsilon) Gauss linear;
|
||||||
div(phi,R) Gauss linear;
|
div(phi,R) Gauss linear;
|
||||||
div(phi,nuTilda) Gauss linear;
|
div(phi,nuTilda) Gauss linear;
|
||||||
div((nuEff*dev(grad(U).T()))) Gauss linear;
|
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | foam-extend: Open Source CFD |
|
| \\ / 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 |
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | For copyright notice see file Copyright |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,7 +37,7 @@ divSchemes
|
||||||
div(phi,epsilon) Gauss linear;
|
div(phi,epsilon) Gauss linear;
|
||||||
div(phi,R) Gauss linear;
|
div(phi,R) Gauss linear;
|
||||||
div(phi,nuTilda) Gauss linear;
|
div(phi,nuTilda) Gauss linear;
|
||||||
div((nuEff*dev(grad(U).T()))) Gauss linear;
|
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Laplacian discretisation schemes
|
// Laplacian discretisation schemes
|
||||||
|
|
|
@ -1,43 +1,40 @@
|
||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | foam-extend: Open Source CFD |
|
| \\ / 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 |
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | For copyright notice see file Copyright |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class polyBoundaryMesh;
|
class polyBoundaryMesh;
|
||||||
|
location "constant/polyMesh";
|
||||||
object boundary;
|
object boundary;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
3
|
3
|
||||||
(
|
(
|
||||||
lowerWall
|
lowerWall
|
||||||
{
|
{
|
||||||
type wall;
|
type wall;
|
||||||
physicalType wallFunctions;
|
nFaces 1;
|
||||||
nFaces 1;
|
startFace 79;
|
||||||
startFace 79;
|
}
|
||||||
}
|
upperWall
|
||||||
|
{
|
||||||
upperWall
|
type wall;
|
||||||
{
|
nFaces 1;
|
||||||
type wall;
|
startFace 80;
|
||||||
physicalType wallFunctions;
|
}
|
||||||
nFaces 1;
|
defaultFaces
|
||||||
startFace 80;
|
{
|
||||||
}
|
type empty;
|
||||||
|
nFaces 320;
|
||||||
defaultFaces
|
startFace 81;
|
||||||
{
|
}
|
||||||
type empty;
|
|
||||||
nFaces 320;
|
|
||||||
startFace 81;
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
|
@ -37,7 +37,7 @@ divSchemes
|
||||||
div(phi,epsilon) Gauss linear;
|
div(phi,epsilon) Gauss linear;
|
||||||
div(phi,R) Gauss linear;
|
div(phi,R) Gauss linear;
|
||||||
div(phi,nuTilda) Gauss linear;
|
div(phi,nuTilda) Gauss linear;
|
||||||
div((nuEff*dev(grad(U).T()))) Gauss linear;
|
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Laplacian discretisation schemes
|
// Laplacian discretisation schemes
|
||||||
|
|
Reference in a new issue