Cleaned dbnsFoam, dbnsTurbFoam, rhoCentralFoam tutorials (backports)

This commit is contained in:
Vanja Skuric 2016-05-08 14:55:17 +02:00
parent f609442e99
commit bb0cb435e5
9 changed files with 11 additions and 41 deletions

View file

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

View file

@ -39,7 +39,4 @@ interpolationSchemes
snGradSchemes snGradSchemes
{} {}
fluxRequired
{}
// ************************************************************************* // // ************************************************************************* //

View file

@ -39,7 +39,4 @@ interpolationSchemes
snGradSchemes snGradSchemes
{} {}
fluxRequired
{}
// ************************************************************************* // // ************************************************************************* //

View file

@ -32,8 +32,6 @@ divSchemes
div(phi,epsilon) Gauss upwind; div(phi,epsilon) Gauss upwind;
div(devRhoReff) Gauss linear; div(devRhoReff) Gauss linear;
div((devRhoReff&U)) Gauss linear; div((devRhoReff&U)) Gauss linear;
div((muEff*dev2(grad(U).T()))) Gauss linear;
} }
laplacianSchemes laplacianSchemes
@ -56,11 +54,6 @@ snGradSchemes
default corrected; default corrected;
} }
fluxRequired
{
default no;
}
relaxationFactors relaxationFactors
{ {
k 0.7; k 0.7;

View file

@ -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
{ {

View file

@ -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
{ {
@ -20,35 +20,30 @@ FoamFile
inlet inlet
{ {
type patch; type patch;
physicalType supersonicInlet;
nFaces 80; nFaces 80;
startFace 31936; startFace 31936;
} }
outlet outlet
{ {
type patch; type patch;
physicalType pressureTransmissiveOutlet;
nFaces 64; nFaces 64;
startFace 32016; startFace 32016;
} }
bottom bottom
{ {
type symmetryPlane; type symmetryPlane;
physicalType symmetryPlane;
nFaces 48; nFaces 48;
startFace 32080; startFace 32080;
} }
top top
{ {
type symmetryPlane; type symmetryPlane;
physicalType symmetryPlane;
nFaces 240; nFaces 240;
startFace 32128; startFace 32128;
} }
obstacle obstacle
{ {
type patch; type patch;
physicalType adiabaticWall;
nFaces 208; nFaces 208;
startFace 32368; startFace 32368;
} }

View file

@ -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
{ {
@ -19,36 +19,31 @@ FoamFile
( (
top top
{ {
type patch; type wall;
physicalType inlet;
nFaces 60; nFaces 60;
startFace 3510; startFace 3510;
} }
inlet inlet
{ {
type patch; type patch;
physicalType supersonicInlet;
nFaces 30; nFaces 30;
startFace 3570; startFace 3570;
} }
outlet outlet
{ {
type patch; type patch;
physicalType extrapolatedOutlet;
nFaces 30; nFaces 30;
startFace 3600; startFace 3600;
} }
bottom bottom
{ {
type symmetryPlane; type symmetryPlane;
physicalType symmetryPlane;
nFaces 60; nFaces 60;
startFace 3630; startFace 3630;
} }
frontAndBack frontAndBack
{ {
type empty; type empty;
physicalType empty;
nFaces 3600; nFaces 3600;
startFace 3690; startFace 3690;
} }

View file

@ -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
{ {
@ -20,14 +20,12 @@ FoamFile
sides sides
{ {
type patch; type patch;
physicalType outletAdiabatic;
nFaces 2; nFaces 2;
startFace 99; startFace 99;
} }
empty empty
{ {
type empty; type empty;
physicalType empty;
nFaces 400; nFaces 400;
startFace 101; startFace 101;
} }

View file

@ -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
{ {