Help with a CFD code
4 次查看(过去 30 天)
显示 更早的评论
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
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
2021-6-10
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computational Fluid Dynamics (CFD) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!