Help with a CFD code
4 views (last 30 days)
Show older comments
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 Comment
John D'Errico
on 15 Mar 2017
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.
Answers (1)
Sambit Supriya Dash
on 10 Jun 2021
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 Comments
See Also
Categories
Find more on Computational Fluid Dynamics (CFD) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!