Bugfix: mesh motion in 3-D. Inno Gatin
This commit is contained in:
parent
e1378bdd1e
commit
03b0fe773b
1 changed files with 4 additions and 3 deletions
|
@ -90,9 +90,6 @@ void Foam::movingImmersedBoundary::movePoints() const
|
|||
U.boundaryField()[patchID]
|
||||
);
|
||||
|
||||
// Set refValue_ to moving boundary velocity
|
||||
ibPatchField.refValue() =
|
||||
transform(sbmfPtr_->velocity(), refIbSurface_.points());
|
||||
|
||||
const immersedBoundaryPolyPatch& cibPatch =
|
||||
refCast<const immersedBoundaryPolyPatch>
|
||||
|
@ -104,6 +101,10 @@ void Foam::movingImmersedBoundary::movePoints() const
|
|||
immersedBoundaryPolyPatch& ibPatch =
|
||||
const_cast<immersedBoundaryPolyPatch&>(cibPatch);
|
||||
|
||||
// Set refValue_ to moving boundary velocity
|
||||
ibPatchField.refValue() =
|
||||
transform(sbmfPtr_->velocity(), ibPatch.ibMesh().coordinates());
|
||||
|
||||
// Move points
|
||||
ibPatch.moveTriSurfacePoints
|
||||
(
|
||||
|
|
Reference in a new issue