mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: InteractionLists. Clearing cloud_ along with the
referredParticles, so there are no old particles lingering between writes. COMP: Adding surfaceFilmModels to incompressibleUncoupledKinematicParcelFoam/Make/options
This commit is contained in:
@ -10,6 +10,7 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
|
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
|
||||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||||
|
-I$(LIB_SRC)/surfaceFilmModels/lnInclude
|
||||||
|
|
||||||
EXE_LIBS = \
|
EXE_LIBS = \
|
||||||
-llagrangian \
|
-llagrangian \
|
||||||
@ -22,4 +23,5 @@ EXE_LIBS = \
|
|||||||
-lincompressibleLESModels \
|
-lincompressibleLESModels \
|
||||||
-lincompressibleTransportModels \
|
-lincompressibleTransportModels \
|
||||||
-lfiniteVolume \
|
-lfiniteVolume \
|
||||||
-lmeshTools
|
-lmeshTools \
|
||||||
|
-lsurfaceFilmModels
|
||||||
|
|||||||
@ -323,6 +323,8 @@ void Foam::InteractionLists<ParticleType>::prepareParticlesToRefer
|
|||||||
referredParticles_[i].clear();
|
referredParticles_[i].clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cloud_.clear();
|
||||||
|
|
||||||
forAll(cellIndexAndTransformToDistribute_, i)
|
forAll(cellIndexAndTransformToDistribute_, i)
|
||||||
{
|
{
|
||||||
const labelPair giat = cellIndexAndTransformToDistribute_[i];
|
const labelPair giat = cellIndexAndTransformToDistribute_[i];
|
||||||
@ -368,8 +370,6 @@ void Foam::InteractionLists<ParticleType>::writeReferredParticleCloud()
|
|||||||
|
|
||||||
if (writeCloud)
|
if (writeCloud)
|
||||||
{
|
{
|
||||||
cloud_.clear();
|
|
||||||
|
|
||||||
forAll(referredParticles_, refCellI)
|
forAll(referredParticles_, refCellI)
|
||||||
{
|
{
|
||||||
const IDLList<ParticleType>& refCell = referredParticles_[refCellI];
|
const IDLList<ParticleType>& refCell = referredParticles_[refCellI];
|
||||||
|
|||||||
Reference in New Issue
Block a user