Help with a CFD code

조회 수: 3 (최근 30일)
lorenzo donadio
lorenzo donadio 2017년 3월 15일
답변: Sambit Supriya Dash 2021년 6월 10일
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
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

카테고리

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