mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: motionSmootherAlgo: guarantee coupled point consistency
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -528,6 +528,16 @@ void Foam::motionSmootherAlgo::setDisplacement
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Combine any coupled points
|
||||||
|
syncTools::syncPointList
|
||||||
|
(
|
||||||
|
mesh,
|
||||||
|
displacement,
|
||||||
|
maxMagEqOp(), // combine op
|
||||||
|
vector::zero // null value
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
// Adapt the fixedValue bc's (i.e. copy internal point data to
|
// Adapt the fixedValue bc's (i.e. copy internal point data to
|
||||||
// boundaryField for all affected patches)
|
// boundaryField for all affected patches)
|
||||||
setDisplacementPatchFields(patchIDs, displacement);
|
setDisplacementPatchFields(patchIDs, displacement);
|
||||||
|
|||||||
Reference in New Issue
Block a user