reactingMultiphaseEulerFoam: Ensure that an unordered phase pair gets
generated whenever a BlendedInterfacialModel is created. Resolves bug-report https://bugs.openfoam.org/view.php?id=2472
This commit is contained in:
parent
2598b133a6
commit
a166237d08
1 changed files with 16 additions and 0 deletions
|
|
@ -131,6 +131,22 @@ void Foam::phaseSystem::generatePairsAndSubModels
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
if (!phasePairs_.found(key))
|
||||
{
|
||||
phasePairs_.insert
|
||||
(
|
||||
key,
|
||||
autoPtr<phasePair>
|
||||
(
|
||||
new phasePair
|
||||
(
|
||||
phaseModels_[key.first()],
|
||||
phaseModels_[key.second()]
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue