Fixed tutorials for pimpleDyMFoam solver (backports)

This commit is contained in:
Vanja Skuric 2016-05-07 08:04:39 +02:00
parent 1e8bd24dc7
commit 802b13cacf
16 changed files with 24 additions and 227 deletions

View file

@ -35,7 +35,7 @@ divSchemes
div(phi,U) Gauss linearUpwind Gauss linear;
div(phi,k) Gauss linearUpwind Gauss linear;
div(phi,epsilon) Gauss linearUpwind Gauss linear;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -67,11 +67,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
//pcorr ;
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
{
@ -37,7 +37,7 @@ FoamFile
}
axis
{
type symmetryPlane;
type empty;
nFaces 0;
startFace 3835;
}

View file

@ -30,7 +30,7 @@ divSchemes
{
default none;
div(phi,U) Gauss linear;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -54,11 +54,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
pcorr ;
p ;
}
// ************************************************************************* //

View file

@ -65,4 +65,10 @@ PIMPLE
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
U 1;
UFinal 1;
}
// ************************************************************************* //

View file

@ -29,7 +29,7 @@ divSchemes
{
default none;
div(phi,U) Gauss upwind;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -56,11 +56,4 @@ snGradSchemes
default limited 0.5;
}
fluxRequired
{
default no;
pcorr;
p;
}
// ************************************************************************* //

View file

@ -80,7 +80,7 @@ SIMPLE
relaxationFactors
{
U 0.7;
// p 0.3;
UFinal 1;
}
// ************************************************************************* //

View file

@ -6,14 +6,16 @@ cd ${0%/*} || exit 1 # run from this directory
cd wingMotion_snappyHexMesh
cleanCase
\rm -f front.sMesh
\rm -f front.sMesh symFront.sMesh
\rm -f constant/cellLevel constant/pointLevel constant/polyMesh/refinementHistory
rm -f constant/polyMesh/boundary
cd ../wingMotion2D_simpleFoam
rm -f constant/polyMesh/boundary
cleanCase
cd ../wingMotion2D_pimpleDyMFoam
cleanCase
rm -f constant/polyMesh/boundary
rm -rf 0

View file

@ -1,58 +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
(
topAndBottom
{
type patch;
nFaces 150;
startFace 76473;
}
inlet
{
type patch;
nFaces 48;
startFace 76623;
}
outlet
{
type patch;
nFaces 48;
startFace 76671;
}
wing
{
type wall;
nFaces 778;
startFace 76719;
}
back
{
type empty;
nFaces 38129;
startFace 77497;
}
front
{
type empty;
nFaces 38129;
startFace 115626;
}
)
// ************************************************************************* //

View file

@ -32,7 +32,7 @@ divSchemes
div(phi,U) Gauss linearUpwind Gauss linear;
div(phi,k) Gauss limitedLinear 1;
div(phi,omega) Gauss limitedLinear 1;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -50,10 +50,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p;
}
// ************************************************************************* //

View file

@ -76,6 +76,7 @@ relaxationFactors
{
p 0.3;
U 0.7;
UFinal 1.0;
k 0.7;
omega 0.7;
}

View file

@ -1,58 +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
(
topAndBottom
{
type patch;
nFaces 150;
startFace 76473;
}
inlet
{
type patch;
nFaces 48;
startFace 76623;
}
outlet
{
type patch;
nFaces 48;
startFace 76671;
}
wing
{
type wall;
nFaces 778;
startFace 76719;
}
back
{
type empty;
nFaces 38129;
startFace 77497;
}
front
{
type empty;
nFaces 38129;
startFace 115626;
}
)
// ************************************************************************* //

View file

@ -32,7 +32,7 @@ divSchemes
div(phi,U) Gauss linearUpwind Gauss linear;
div(phi,k) Gauss upwind;
div(phi,omega) Gauss upwind;
div((nuEff*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -50,10 +50,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p;
}
// ************************************************************************* //

View file

@ -1,52 +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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
(
topAndBottom
{
type patch;
nFaces 150;
startFace 7077;
}
inlet
{
type patch;
nFaces 48;
startFace 7227;
}
outlet
{
type patch;
nFaces 48;
startFace 7275;
}
symFront
{
type symmetryPlane;
nFaces 3600;
startFace 7323;
}
symBack
{
type symmetryPlane;
nFaces 3600;
startFace 10923;
}
)
// ************************************************************************* //

View file

@ -36,7 +36,7 @@ divSchemes
div(phid,p) Gauss limitedLinear 1;
div(phiU,p) Gauss limitedLinear 1;
div(phi,e) Gauss limitedLinear 1;
div((muEff*dev2(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
@ -60,10 +60,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p;
}
// ************************************************************************* //

View file

@ -36,7 +36,7 @@ divSchemes
div(phi,R) Gauss limitedLinear 1;
div(R) 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
@ -61,10 +61,4 @@ snGradSchemes
default corrected;
}
fluxRequired
{
default no;
p ;
}
// ************************************************************************* //

View file

@ -86,6 +86,7 @@ PIMPLE
relaxationFactors
{
U 1;
UFinal 1;
k 1;
epsilon 1;
}