CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   CFD Code in MATLAB (https://www.cfd-online.com/Forums/main/6176-cfd-code-matlab.html)

Alphazo Roj Patlio May 28, 2003 06:34

CFD Code in MATLAB
 
I am in search of any CFD code written in Matlab/C++ or VB. it is for the design of combustion chamber.

please help if you can

thanking you

Jannis D. June 13, 2003 11:04

Re: CFD Code in MATLAB
 
I woulnīt dare to run a CFD Code in Matlab. Matlab is very slow for such an application. If you use a combustion chamber (turbulent flow) you need some thousand grid points (depending on your geometry). If you use a chemistry model ( quite simple one) then your computer will slow down. If you start a transient calculation using a fine grid and a sophisticted chemistry model, you will get your results after some months. I mean try to calculate a real problem for an existing application, not a dummy problem.

Try to write a simple 2d program for a simple heat conductivity calculation. Then simply increase the number of grid points. Now think that a CFD calculation needs much more time to converge than a simple heat problem. If you donīt believe me try your own calculation. You will regret it! best regards Jannis


All times are GMT -4. The time now is 23:49.