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

@ -345,6 +345,17 @@ void Foam::streamLineParticle::hitWedgePatch
}
void Foam::streamLineParticle::hitSymmetryPlanePatch
(
const symmetryPlanePolyPatch& pp,
trackingData& td
)
{
// Remove particle
td.keepParticle = false;
}
void Foam::streamLineParticle::hitSymmetryPatch
(
const symmetryPolyPatch& pp,

View File

@ -237,7 +237,15 @@ public:
);
//- Overridable function to handle the particle hitting a
// symmetryPlane
// symmetry plane
void hitSymmetryPlanePatch
(
const symmetryPlanePolyPatch&,
trackingData& td
);
//- Overridable function to handle the particle hitting a
// symmetry patch
void hitSymmetryPatch
(
const symmetryPolyPatch&,