找回密码
 注册
查看: 3072|回复: 11

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

[复制链接]
发表于 2003-6-3 23:03:43 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
**************************************************************************
*  THIS PROGRAM SOLVES 2-D INCOMPRESSIBLE NAVIER-STOKES EQUATION WITHIN  *
*                  A RECTANGULAR DOMAIN USING MAC METHOD                 *
*                       -Finite Volume Formulation-                      *
*                         Solver : PSOR and ADISOR                       *
**************************************************************************
c                                                                        *
要是觉得有用就告诉一声。   
 楼主| 发表于 2003-6-3 23:05:28 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

敬请就此程序发表评论。
The code is written in Fortran. It solves Navier-Stokes equation for 2-dimensional, incompressible flows in a rectangular domain.
A finite volume staggered grid (MAC) is used for storing velocity and pressure variables.
Explicit time marching is used to advance in time. Both steady state and transient problem can be handled.

  Some guide lines for running the code
  The zip file contains the main program and all the accessory files.
  The input data file is stored in a folder called "dat". This file can be modified to suite your requirements.
  There is a file called "array_dimension.inc" in the main folder. Use this file to change the global dimension of all array variables. Make sure that the dimension of array is appropriate for the number of contol volumes.
  The files for initial and boundary conditions are kept in a folder caleed "ic-and-bc". You may see two sets of initial condition and boundary condition in this folder. One corresponds to "lid driven-cavity problem" and the other corresponds to "Green-Taylor vortex". Green-Taylor vortex is an exact solution of Navier-Sokes. You may create your own file for initial and boundary conditions. Before running the code, file for initial condition must be renamed as "ic" and file for boundary condition must be renamed as "bc".
  The output of the program can be found in the file called "output.dat" in the folder "dat".
敬请就此程序发表评论。
发表于 2003-6-4 08:29:40 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

很好,谢了!
发表于 2003-6-4 10:09:58 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

谢谢楼主发这么好的一个程序,我现在正在计算二维流场,不过是离心泵的,不知你的程序能否改编过来,以适合我的流场,不过还是要谢谢你!
不知楼主SIMOPLE算法研究如何?想和你聊聊!
QQ号:27112337

发表于 2003-6-4 19:29:20 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

因为还没有开始看程序,所以不知道算法到底如何?
不过感觉程序编的可能不是非常出色,可能一些处理方式应该探讨。
 楼主| 发表于 2003-6-4 22:12:49 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION


关于离心泵, 除了知道它是会转的,其它我一点也不懂。
发表于 2003-6-5 08:55:24 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

楼主,不知能不能将你的计算网格图,以及最后得到的速度、压力图给我寄一份!谢谢!
邮箱:delayan2000@yahoo.com
急用!
发表于 2003-6-5 22:09:20 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

first,thank you very much!
发表于 2003-6-5 22:31:50 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

编译时揭示打不开bc.inc 和ic.inc文件,为什么?
发表于 2003-6-9 19:10:42 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

sillybear:
     不知你的这个程序有没有更为详细一点的参数说明?有的话,能否给我发一份!谢谢!
      delayan2000@163.com
     还有,你的邮箱是不是 ymaman@eyou.com这个?我发了邮件给你,不知收到没有?
 楼主| 发表于 2003-6-10 22:06:18 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

实在对不起,我没仔细看这个程序,也没有更为详细一点的参数说明。你着重看程序
里的边界条件是怎么设计的,改改边界条件看看。输出的结果方式改成某些后处理
程序能读的形式(如tecplot),可能有利于了解边界条件对计算结果的影响。你这是硕
士课题还是博士课题?如果是博士课题,用这个程序可能显得单薄,要下力气改才
行。
发表于 2003-6-11 08:26:30 | 显示全部楼层

贴个程序, INCOMPRESSIBLE NAVIER-STOKES EQUATION

我知道了,我以为这程序是你编的呢!我做的是硕士论文,感觉这程序用起来就够了!不管怎样,还是要谢谢你!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表