Help with a CFD code

2 次查看(过去 30 天)
lorenzo donadio
lorenzo donadio 2017-3-15
Hi, im working in solving the driven lid cavity problem using a vorticity velocity aproach, following this paper:
https://www.iist.ac.in/sites/default/files/people/psi-omega.pdf
the results that I obtain are not the ones one would expect, and I can't find whats wrong, any input would be apreciated, Thanks.
  1 个评论
John D'Errico
John D'Errico 2017-3-15
Good luck getting an answer. I think that unlikely, as it will require someone willing to read the paper in question, then pore through your not well documented code, figuring out what you did. They will need to infer what the problem is that you are solving, what should the boundary conditions have been from only some undocumented equations written in MATLAB. Then they need to figure out what you expect for an answer, and what you (possibly) did wrong in the code. They will probably need to run your code to see what it does. Finally, they will need to show you how to fix the problem. All of this will likely take some hours of time invested, and probably many hours.
So, what could you have done to gain a slightly better chance of an answer? Help those who you would possibly try to help you.
1. Show what result the code actually produces.
2. Explain what you don't like about the solution. What was unexpected, and why?
3. DOCUMENT YOUR CODE. A comment line that says nothing more than "%boundry conditions for vorticity" is very little information.
4. Explain in some detail the problem that you are trying to model.

请先登录,再进行评论。

回答(1 个)

Sambit Supriya Dash
Follow these codes,
1- mathworks.com/matlabcentral/fileexchange/57064-lid-driven-cavity-flow
2- mathworks.com/matlabcentral/fileexchange/77025-2d-lid-driven-cavity-flow-solver

类别

Help CenterFile Exchange 中查找有关 Computational Fluid Dynamics (CFD) 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by