ENH: motionSmootherAlgo: guarantee coupled point consistency
This commit is contained in:
parent
e47da2063c
commit
11b534e09c
1 changed files with 11 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
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
|
||||
// boundaryField for all affected patches)
|
||||
setDisplacementPatchFields(patchIDs, displacement);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue