1 Star 1 Fork 0

张徐可/Two-Dimension_inviscid_CFDsolver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Main.f90 881 Bytes
一键复制 编辑 原始数据 按行查看 历史
张徐可 提交于 2021-10-21 14:03 . 上传主体部分
!-------------------------------------------------------!
! 2D,invscid,air solver by Zhang Xuke !
!-------------------------------------------------------!
PROGRAM MAIN
USE BASIC_MOD
IMPLICIT NONE
INTEGER:: NN,COUNT
TIME=0.D0
TEND=3D-2
NLOOP=0
COUNT=1
CALL READER()
CALL INITIA()
CALL OUTPUT(0)
1000 CONTINUE
CALL CFLCON()
DO NN=1,2
CALL BOUNDI()
CALL ADVECTION()
CALL UPDATE(NN)
END DO
NLOOP=NLOOP+1
TIME=TIME+DT
IF(TIME<TEND*COUNT/50.D0.AND.TIME+DT.GE.TEND*COUNT/50.D0) THEN
CALL OUTPUT(COUNT)
COUNT=COUNT+1
END IF
WRITE(*,*) DT,TIME
IF(TIME.LE.TEND) GOTO 1000
CALL OUTPUT(NLOOP)
END PROGRAM
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
FORTRAN
1
https://gitee.com/zhang-xuke/two-dimension_inviscid_-cfdsolver.git
[email protected]:zhang-xuke/two-dimension_inviscid_-cfdsolver.git
zhang-xuke
two-dimension_inviscid_-cfdsolver
Two-Dimension_inviscid_CFDsolver
master

搜索帮助