DPMFoam: Changed the cloud source splitting to handle symmetric semi-implicit sources consistently
Resolves bug-report https://bugs.openfoam.org/view.php?id=3385
This commit is contained in:
@ -133,9 +133,10 @@ int main(int argc, char *argv[])
|
||||
zeroGradientFvPatchVectorField::typeName
|
||||
);
|
||||
|
||||
cloudVolSUSu.primitiveFieldRef() = -cloudSU.source()/mesh.V();
|
||||
cloudVolSUSu.primitiveFieldRef() =
|
||||
(cloudSU.diag()*Uc() - cloudSU.source())/mesh.V();
|
||||
cloudVolSUSu.correctBoundaryConditions();
|
||||
cloudSU.source() = Zero;
|
||||
cloudSU.source() = cloudSU.diag()*Uc();
|
||||
|
||||
// --- Pressure-velocity PIMPLE corrector loop
|
||||
while (pimple.loop())
|
||||
|
||||
Reference in New Issue
Block a user