二維SIMPLEC程序,包含三個project:二維穩態傳熱,常粘度系數湍流的動態模擬,湍流中被動標量擴散(基于時均的 k –ε方程.
同時壓縮包中還有詳細的說明文檔.
注意:本程序只限于學習用途,切勿作商業用途,作者享有對此代碼及使用目的的最終解釋權!
Cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
Cccc This computer program was copied from the graduate student course program
Cccc of the University of Minnesota. Part of it was re-formulated to meet the
Cccc personal computer environment. Some inappropriate expressions were also
Cccc corrected. The program is used only for teaching purpose. No part of it
Cccc may be published. You may use it as a frame to re-develop your own code
Cccc for research purpose. XJTU Instructor, 1995.11
Cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
一般情況下,我們都是在MATLAB命令行或DOS命令行下編譯MEX程序。 所用的命令就是:mex filename.c 這有很多不方便的地方:
a. 雖然mex也可以編譯C++的mex程序,但是它的主框架仍是C的 a. 當程序有多個模塊時,需要多次使用mex命令,操作很麻煩
b. 不能利用VC特有的ClassWizard自動創建和維護類
c. 不能用MFC類庫編寫應用程序
d. 不能方便地進行類似VC的項目管理
本文詳細解說如何在IDE中編譯MEX程序