how to change this lid driven cavity code into SIMPLE pipeflow

3 views (last 30 days)
so i have been working with this SIMPLE lid driven cavity code and i unable to change it into SIMPLE pipeflow. as you can see the lid driven cavity has west east and south as wall while north is open with x velocity = 1. i am trying to make the condition of north and south to be the wall and west and east to have x velocity = 1.
i have tried to change the initial condition of the x and y velocity. i have tried tweaking the velocity component calculation. i still am unable to produce SIMPLE pipeflow. as you can see in the figure it still producing lid driven cavity condition.

Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!