symmetryPlane: add symmetryPlane as a special type of symmetry condition applied to a single plane

The standard/previous general symmetry type is now named symmetry
    both in class and lookup name for consistency.  The rigorous
    symmetryPlane type is needed for moving-mesh cases in which the
    motion it constrained by one or two planes.
This commit is contained in:
Henry
2013-12-06 15:45:11 +00:00
parent 7c54adb178
commit 3f5eda25f0
114 changed files with 2318 additions and 115 deletions

View File

@ -43,7 +43,7 @@ boundaryField
cylinder
{
type symmetryPlane;
type symmetry;
}
defaultFaces

View File

@ -43,7 +43,7 @@ boundaryField
cylinder
{
type symmetryPlane;
type symmetry;
}
defaultFaces

View File

@ -138,7 +138,7 @@ boundary
}
cylinder
{
type symmetryPlane;
type symmetry;
faces
(
(10 5 24 29)

View File

@ -26,7 +26,7 @@ boundaryField
value uniform 300;
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -26,7 +26,7 @@ boundaryField
value uniform (1936 0 0);
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -25,7 +25,7 @@ boundaryField
type zeroGradient;
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -26,7 +26,7 @@ boundaryField
value uniform (0 0 0);
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -25,7 +25,7 @@ boundaryField
type zeroGradient;
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -25,7 +25,7 @@ boundaryField
type zeroGradient;
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -25,7 +25,7 @@ boundaryField
type zeroGradient;
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -25,7 +25,7 @@ boundaryField
type zeroGradient;
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -27,7 +27,7 @@ boundaryField
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -25,7 +25,7 @@ boundaryField
type zeroGradient;
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -25,7 +25,7 @@ boundaryField
type zeroGradient;
}
entrance
"entrance.*"
{
type symmetryPlane;
}

View File

@ -56,12 +56,20 @@ boundary
);
}
entrance
entrance1
{
type symmetryPlane;
faces
(
(0 1 5 4)
);
}
entrance2
{
type symmetryPlane;
faces
(
(0 3 2 1)
);
}

View File

@ -33,7 +33,7 @@ boundaryField
}
up
{
type symmetryPlane;
type symmetry;
}
hole
{

View File

@ -34,7 +34,7 @@ boundaryField
}
up
{
type symmetryPlane;
type symmetry;
}
hole
{

View File

@ -34,7 +34,7 @@ boundaryField
}
up
{
type symmetryPlane;
type symmetry;
}
hole
{

View File

@ -33,7 +33,7 @@ boundaryField
}
up
{
type symmetryPlane;
type symmetry;
}
hole
{

View File

@ -34,7 +34,7 @@ boundaryField
}
up
{
type symmetryPlane;
type symmetry;
}
hole
{

View File

@ -31,7 +31,7 @@ boundaryField
}
up
{
type symmetryPlane;
type symmetry;
}
hole
{

View File

@ -67,7 +67,7 @@ boundary
(
left
{
type symmetryPlane;
type symmetry;
faces
(
(8 9 20 19)
@ -85,7 +85,7 @@ boundary
}
down
{
type symmetryPlane;
type symmetry;
faces
(
(0 1 12 11)
@ -94,7 +94,7 @@ boundary
}
up
{
type symmetryPlane;
type symmetry;
faces
(
(7 8 19 18)

View File

@ -54,7 +54,7 @@ boundaryField
{
type symmetryPlane;
}
frontAndBack
"(front|back)"
{
type symmetryPlane;
}

View File

@ -11,7 +11,7 @@ upperWall
type symmetryPlane;
}
frontAndBack
"(front|back)"
{
type symmetryPlane;
}

View File

@ -46,7 +46,7 @@ boundaryField
{
type symmetryPlane;
}
frontAndBack
"(front|back)"
{
type symmetryPlane;
}

View File

@ -46,7 +46,7 @@ boundaryField
{
type symmetryPlane;
}
frontAndBack
"(front|back)"
{
type symmetryPlane;
}

View File

@ -21,7 +21,7 @@ internalField uniform 0;
boundaryField
{
frontAndBack
"(front|back)"
{
type symmetryPlane;
value uniform 0;

View File

@ -42,7 +42,7 @@ boundaryField
{
type symmetryPlane;
}
frontAndBack
"(front|back)"
{
type symmetryPlane;
}

View File

@ -40,12 +40,19 @@ edges
boundary
(
frontAndBack
front
{
type symmetryPlane;
faces
(
(3 7 6 2)
);
}
back
{
type symmetryPlane;
faces
(
(1 5 4 0)
);
}

View File

@ -40,12 +40,19 @@ edges
boundary
(
frontAndBack
front
{
type symmetryPlane;
faces
(
(3 7 6 2)
);
}
back
{
type symmetryPlane;
faces
(
(1 5 4 0)
);
}

View File

@ -15,15 +15,22 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
6
(
frontAndBack
front
{
type symmetryPlane;
inGroups 1(symmetryPlane);
nFaces 320;
nFaces 160;
startFace 3456;
}
back
{
type symmetryPlane;
inGroups 1(symmetryPlane);
nFaces 160;
startFace 3616;
}
inlet
{
type patch;

View File

@ -28,13 +28,13 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss linearUpwind grad(U);
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression 1;
div(phid1,p_rgh) Gauss upwind;
div(phid2,p_rgh) Gauss upwind;
div(rho*phi,T) Gauss linearUpwind unlimited;
div(rho*phi,K) Gauss upwind;
div(rhoPhi,T) Gauss linearUpwind unlimited;
div(rhoPhi,K) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div((muEff*dev2(T(grad(U))))) Gauss linear;

View File

@ -39,7 +39,7 @@ boundaryField
sides
{
type symmetryPlane;
type symmetry;
}
atmosphere

View File

@ -34,7 +34,7 @@ boundaryField
sides
{
type symmetryPlane;
type symmetry;
}
atmosphere

View File

@ -34,7 +34,7 @@ boundaryField
sides
{
type symmetryPlane;
type symmetry;
}
atmosphere

View File

@ -34,7 +34,7 @@ boundaryField
sides
{
type symmetryPlane;
type symmetry;
}
atmosphere

View File

@ -40,7 +40,7 @@ boundaryField
sides
{
type symmetryPlane;
type symmetry;
}
atmosphere

View File

@ -33,7 +33,7 @@ boundaryField
sides
{
type symmetryPlane;
type symmetry;
}
atmosphere

View File

@ -68,7 +68,7 @@ boundary
sides
{
type symmetryPlane;
type symmetry;
faces
(
(1 5 4 0)

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss linear;
div(rhoPhi,U) Gauss linear;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss limitedLinearV 1;
div(rhoPhi,U) Gauss limitedLinearV 1;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -30,11 +30,11 @@ divSchemes
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression 1;
div(rho*phi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss vanLeerV;
div(phi,thermo:rho.water) Gauss linear;
div(phi,thermo:rho.air) Gauss linear;
div(rho*phi,T) Gauss vanLeer;
div(rho*phi,K) Gauss linear;
div(rhoPhi,T) Gauss vanLeer;
div(rhoPhi,K) Gauss linear;
div((phi+meshPhi),p) Gauss linear;
div((muEff*dev2(T(grad(U))))) Gauss linear;

View File

@ -30,11 +30,11 @@ divSchemes
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression 1;
div(rho*phi,U) Gauss upwind;
div(rhoPhi,U) Gauss upwind;
div(phi,thermo:rho.water) Gauss upwind;
div(phi,thermo:rho.air) Gauss upwind;
div(rho*phi,T) Gauss upwind;
div(rho*phi,K) Gauss upwind;
div(rhoPhi,T) Gauss upwind;
div(rhoPhi,K) Gauss upwind;
div(phi,p) Gauss upwind;
div(phi,k) Gauss upwind;

View File

@ -30,11 +30,11 @@ divSchemes
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression 1;
div(rho*phi,U) Gauss upwind;
div(rhoPhi,U) Gauss upwind;
div(phi,thermo:rho.water) Gauss upwind;
div(phi,thermo:rho.air) Gauss upwind;
div(rho*phi,T) Gauss upwind;
div(rho*phi,K) Gauss upwind;
div(rhoPhi,T) Gauss upwind;
div(rhoPhi,K) Gauss upwind;
div(phi,p) Gauss upwind;
div(phi,k) Gauss upwind;

View File

@ -39,7 +39,7 @@ boundaryField
atmosphere
{
type inletOutlet;
phi rho*phi;
phi rhoPhi;
inletValue $internalField;
}
defaultFaces

View File

@ -27,12 +27,12 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss upwind;
div(rhoPhi,U) Gauss upwind;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
"div\(phi,.*rho.*\)" Gauss upwind;
div(rho*phi,T) Gauss upwind;
div(rho*phi,K) Gauss upwind;
div(rhoPhi,T) Gauss upwind;
div(rhoPhi,K) Gauss upwind;
div(phi,p) Gauss upwind;
div((muEff*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -41,7 +41,7 @@ dynamicRefineFvMeshCoeffs
(
(phi none)
(nHatf none)
(rho*phi none)
(rhoPhi none)
(ghf none)
);
// Write the refinement level as a volScalarField

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss upwind;
div(rhoPhi,U) Gauss upwind;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -28,13 +28,13 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss linearUpwind grad(U);
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression 1;
div(phid1,p_rgh) Gauss upwind;
div(phid2,p_rgh) Gauss upwind;
div(rho*phi,T) Gauss linearUpwind unlimited;
div(rho*phi,K) Gauss upwind;
div(rhoPhi,T) Gauss linearUpwind unlimited;
div(rhoPhi,K) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div((muEff*dev2(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss upwind;
div(rhoPhi,U) Gauss upwind;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss limitedLinearV 1;
div(rhoPhi,U) Gauss limitedLinearV 1;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
alpha.water
"alpha.water.*"
{
nAlphaCorr 2;
nAlphaSubCycles 1;

View File

@ -66,7 +66,7 @@ functions
fields
(
rho*phi
rhoPhi
);
}

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss linearUpwind grad(U);
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div(phi,k) Gauss upwind;

View File

@ -67,7 +67,7 @@ functions
fields
(
rho*phi
rhoPhi
);
}

View File

@ -29,7 +29,7 @@ divSchemes
{
default none;
div(rho*phi,U) Gauss linearUpwind grad(U);
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
alpha.water
"alpha.water.*"
{
nAlphaCorr 1;
nAlphaSubCycles 1;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss linear;
div(rhoPhi,U) Gauss linear;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div(phi,k) Gauss upwind;

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss limitedLinearV 1;
div(rhoPhi,U) Gauss limitedLinearV 1;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss interfaceCompression;
div((muEff*dev(T(grad(U))))) Gauss linear;

View File

@ -36,7 +36,7 @@ boundaryField
walls
{
type symmetryPlane;
type symmetry;
}
bullet

View File

@ -35,7 +35,7 @@ boundaryField
walls
{
type symmetryPlane;
type symmetry;
}
bullet

View File

@ -34,7 +34,7 @@ boundaryField
walls
{
type symmetryPlane;
type symmetry;
}
bullet

View File

@ -54,7 +54,7 @@ boundary
}
walls
{
type symmetryPlane;
type symmetry;
faces
(
(0 4 7 3)

View File

@ -31,8 +31,8 @@ FoamFile
}
walls
{
type symmetryPlane;
inGroups 1(symmetryPlane);
type symmetry;
inGroups 1(symmetry);
nFaces 3000;
startFace 1130431;
}

View File

@ -16,7 +16,7 @@ FoamFile
solvers
{
alpha.water
"alpha.water.*"
{
cAlpha 0;
nAlphaCorr 2;

View File

@ -30,7 +30,7 @@ divSchemes
{
default none;
div(rho*phi,U) Gauss linear;
div(rhoPhi,U) Gauss linear;
div(phi,alpha) Gauss vanLeer;
div(phi,k) Gauss limitedLinear 1;
div((muEff*dev(T(grad(U))))) Gauss linear;