Lid Driven Cavity Flow coding question

13 ビュー (過去 30 日間)
Jonathan
Jonathan 2013 年 5 月 1 日
コメント済み: Precise Simulation 2024 年 11 月 9 日
I'm taking an Intro to CFD class, so I'm pretty new to it, but I had a quick question. I'm working on coding a "lid driven cavity flow" for fun, and was wondering if there was a way to plot the velocity vectors with arrows to show the eddys. Right now I have a contour plot to show streamlines (lines of constant psi). Also is there a way to get a finer contour plot? Here is what my results look like right now. Not sure if it's right but it looks like some photos i've seen online. Thanks!
  1 件のコメント
Precise Simulation
Precise Simulation 2024 年 11 月 9 日
To plot arrows you would typicall use the "quiver" function (with the same data as used in the contour plots). You can import CFD data and plot them in MATLAB with the FEATool simulation toolbox, here is a tutorial for a lid driven cavity example as in your picture: MATLAB CFD simulation tutorial for a lid driven cavity fluid dynamics model

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeComputational Fluid Dynamics (CFD) についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by