fortran程序求解释
CCCSUB_COIFV:ITEM--DENL*g----ISDELETEDCTURBULENTFLOWCADDAP=-SPITEMCTHESUBROUTINEFORCA...
CCC SUB_COIFV : ITEM -- DENL*g ---- IS DELETED
C TURBULENT FLOW
C ADD AP=-SP ITEM
C THE SUBROUTINE FOR CALCULATING V-VELOCITY
C --------------------------------------------------
SUBROUTINE VELOSV
INCLUDE 'DEFIN.DIM'
DIMENSION RRR(IMAX,JJMAX)
c DO NTIME=1,30
CALL COIFV
c ----- at 4 lines of meniscus, V=0 ------
c DO NNTIME=1,3
DO NTIME=1,30
CALL SOLVER(V,2,IMAX-1,3,JJMAX-1)
c END DO
RRRM=0.0
RRMM=0.0
DO J=3,JJMAX-1
DO I=2,IMAX-1
RRR(I,J)=AP(I,J)*V(I,J)-AE(I,J)*V(I+1,J)-AW(I,J)
+ *V(I-1,J)-AN(I,J)*V(I,J+1)-AS(I,J)*V(I,J-1)
+ -BB(I,J)
RRR(I,J)=ABS(RRR(I,J))
if (RRR(I,J).gt.1.e+20) then
aaa=1.
end if
END DO
END DO
DO 112 J=3,JJMAX-1
DO 112 I=2,IMAX-1
IF(RRRM.LT.RRR(I,J)) THEN
RRRM=RRR(I,J) ! max
MAXI=I
MAXJ=J
END IF
RRMM=RRMM+RRR(I,J)
112 CONTINUE 展开
C TURBULENT FLOW
C ADD AP=-SP ITEM
C THE SUBROUTINE FOR CALCULATING V-VELOCITY
C --------------------------------------------------
SUBROUTINE VELOSV
INCLUDE 'DEFIN.DIM'
DIMENSION RRR(IMAX,JJMAX)
c DO NTIME=1,30
CALL COIFV
c ----- at 4 lines of meniscus, V=0 ------
c DO NNTIME=1,3
DO NTIME=1,30
CALL SOLVER(V,2,IMAX-1,3,JJMAX-1)
c END DO
RRRM=0.0
RRMM=0.0
DO J=3,JJMAX-1
DO I=2,IMAX-1
RRR(I,J)=AP(I,J)*V(I,J)-AE(I,J)*V(I+1,J)-AW(I,J)
+ *V(I-1,J)-AN(I,J)*V(I,J+1)-AS(I,J)*V(I,J-1)
+ -BB(I,J)
RRR(I,J)=ABS(RRR(I,J))
if (RRR(I,J).gt.1.e+20) then
aaa=1.
end if
END DO
END DO
DO 112 J=3,JJMAX-1
DO 112 I=2,IMAX-1
IF(RRRM.LT.RRR(I,J)) THEN
RRRM=RRR(I,J) ! max
MAXI=I
MAXJ=J
END IF
RRMM=RRMM+RRR(I,J)
112 CONTINUE 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询