AMIInterpolation, cyclicAMI: Removed

AMIInterpolation and cyclicAMI have been superseded by patchToPatch and
nonConformalCoupled, respectively.

The motivation behind this change is explained in the following article:

    https://cfd.direct/openfoam/free-software/non-conformal-coupling/

Information about how to convert a case which uses cyclicAMI to
nonConformalCoupled can be found here:

    https://cfd.direct/openfoam/free-software/using-non-conformal-coupling/
This commit is contained in:
Will Bainbridge
2022-09-22 10:05:41 +01:00
parent aa25763e14
commit f4ac5f8748
139 changed files with 42 additions and 14745 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2020-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -65,7 +65,7 @@ Description
}
\endverbatim
This is particularly useful for cases with rotating regions, e.g. mixer
vessels with AMI.
vessels with NCC.
See also
Foam::functionObjects::fieldExpression

View File

@ -163,19 +163,6 @@ void Foam::findCellParticle::hitCyclicPatch
}
void Foam::findCellParticle::hitCyclicAMIPatch
(
const vector&,
const scalar,
Cloud<findCellParticle>&,
trackingData& td
)
{
// Remove particle
td.keepParticle = false;
}
void Foam::findCellParticle::hitProcessorPatch
(
Cloud<findCellParticle>& cloud,

View File

@ -201,15 +201,6 @@ public:
//- Overridable function to handle the particle hitting a cyclic
void hitCyclicPatch(Cloud<findCellParticle>&, trackingData&);
//- Overridable function to handle the particle hitting a cyclicAMI
void hitCyclicAMIPatch
(
const vector&,
const scalar,
Cloud<findCellParticle>&,
trackingData&
);
//- Overridable function to handle the particle hitting a
//- processorPatch
void hitProcessorPatch(Cloud<findCellParticle>&, trackingData&);

View File

@ -27,6 +27,7 @@ License
#include "wordReList.H"
#include "findCellParticle.H"
#include "OBJstream.H"
#include "globalIndex.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //

View File

@ -38,6 +38,7 @@ License
#include "polyTopoChangeMap.H"
#include "polyMeshMap.H"
#include "polyDistributionMap.H"
#include "OSspecific.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -373,22 +373,6 @@ void Foam::streamlinesParticle::hitCyclicPatch
}
void Foam::streamlinesParticle::hitCyclicAMIPatch
(
const vector& displacement,
const scalar fraction,
streamlinesCloud& cloud,
trackingData& td
)
{
// End this track
endTrack(td);
// Move across the cyclic
particle::hitCyclicAMIPatch(displacement, fraction, cloud, td);
}
bool Foam::streamlinesParticle::hitNonConformalCyclicPatch
(
const vector& displacement,

View File

@ -252,16 +252,6 @@ public:
//- Overridable function to handle the particle hitting a cyclic
void hitCyclicPatch(streamlinesCloud&, trackingData&);
//- Overridable function to handle the particle hitting a
// cyclicAMIPatch
void hitCyclicAMIPatch
(
const vector&,
const scalar,
streamlinesCloud&,
trackingData&
);
//- Overridable function to handle the particle hitting an
// nonConformalCyclicPolyPatch
bool hitNonConformalCyclicPatch