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:
parent
b19a8e3748
commit
725e3e5e4e
@ -10,6 +10,7 @@ EXE_INC = \
|
||||
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||
-I$(LIB_SRC)/surfaceFilmModels/lnInclude
|
||||
|
||||
EXE_LIBS = \
|
||||
-llagrangian \
|
||||
@ -22,4 +23,5 @@ EXE_LIBS = \
|
||||
-lincompressibleLESModels \
|
||||
-lincompressibleTransportModels \
|
||||
-lfiniteVolume \
|
||||
-lmeshTools
|
||||
-lmeshTools \
|
||||
-lsurfaceFilmModels
|
||||
|
@ -323,6 +323,8 @@ void Foam::InteractionLists<ParticleType>::prepareParticlesToRefer
|
||||
referredParticles_[i].clear();
|
||||
}
|
||||
|
||||
cloud_.clear();
|
||||
|
||||
forAll(cellIndexAndTransformToDistribute_, i)
|
||||
{
|
||||
const labelPair giat = cellIndexAndTransformToDistribute_[i];
|
||||
@ -368,8 +370,6 @@ void Foam::InteractionLists<ParticleType>::writeReferredParticleCloud()
|
||||
|
||||
if (writeCloud)
|
||||
{
|
||||
cloud_.clear();
|
||||
|
||||
forAll(referredParticles_, refCellI)
|
||||
{
|
||||
const IDLList<ParticleType>& refCell = referredParticles_[refCellI];
|
||||
|
Loading…
Reference in New Issue
Block a user