Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Bugfix myMovingWallVelocity boundary condition: the face centers of t…
Browse files Browse the repository at this point in the history
…he (#273)

current mesh should be used at each FSI outer iteration.

Fixes #272
  • Loading branch information
David Blom committed Apr 30, 2016
1 parent 298f9fd commit 3eec2a4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,11 @@ namespace Foam
{
oldoldFc_ = oldFc_;
oldFc_ = Fc_;
Fc_ = pp.faceCentres();
myTimeIndex_ = mesh.time().timeIndex();
}

Fc_ = pp.faceCentres();

// const pointField& oldPoints = mesh.oldPoints();
const volVectorField & U = mesh.lookupObject<volVectorField>( dimensionedInternalField().name() );

Expand Down

0 comments on commit 3eec2a4

Please sign in to comment.