Advection/Diffusion
Hello,
I am writing a advection/diffusion script in MATLAB for a driven cavity problem. I am using the SIMPLE method with power law convection approximations and using Numerical Heat Transfer and Fluid Flow by Patankar as my guiding text. I have completely written the code, but the solution does not converge. I was hoping that someone with experience could send me a PM and help me diagnose the issues I am having. Many thanks, Jesse |
3 Attachment(s)
Update 2: So, with very small relaxations factors (.01 for pressure, and .07 for velocity) I can somewhat match, with a 25 x 25 grid, the reference solution for the lid driven cavity. I am beginning to suspect an issue with either the pressure correction or the non-linearity treatments. Scanning over the code many times, I can not find any issue in their development. I've attached some results.
|
3 Attachment(s)
Contour/Vector plots...
|
All times are GMT -4. The time now is 10:12. |