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

BC: myMovingWallVelocity #272

Closed
davidsblom opened this issue Apr 30, 2016 · 1 comment
Closed

BC: myMovingWallVelocity #272

davidsblom opened this issue Apr 30, 2016 · 1 comment
Labels

Comments

@davidsblom
Copy link
Owner

Reported by Željko Tuković

I have notice something strange in movingWallVelocity. If you look at following bit of the code

    if ( myTimeIndex_ < mesh.time().timeIndex() )
    {
        oldoldFc_ = oldFc_;
        oldFc_ = Fc_;
        Fc_ = pp.faceCentres();
        myTimeIndex_ = mesh.time().timeIndex();
    }

Fc will be calculated only ones in the first outer fsi iteration. So I thint "Fc_ = pp.faceCentres();" should be positioned outside/after if block.

@davidsblom davidsblom added the bug label Apr 30, 2016
@davidsblom
Copy link
Owner Author

@thijsgillebaart Zeljko found a tiny bug in the movingWallVelocity boundary condition 👍

davidsblom added a commit that referenced this issue Apr 30, 2016
current mesh should be used at each FSI outer iteration.

Fixes #272
davidsblom pushed a commit that referenced this issue Apr 30, 2016
…he (#273)

current mesh should be used at each FSI outer iteration.

Fixes #272
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant