incra4
C INCRA4 SOURCE CB215821 16/04/21 21:17:07 8920 C INCRA4 SOURCE AC2 96/01/19 21:29:40 1995 & NVARI,NCOMAT) IMPLICIT INTEGER(I-N) IMPLICIT REAL*8(A-H,O-Z) DIMENSION SIG(*),VAR(*),EPSVPT(*),VARPT(*),XMAT(*) DIMENSION GAMM(4),GABB(4),EPMM(4),EPBB(4),XXM(4),XXB(4) DIMENSION ANSM(4),ANSB(4),ANM(4),ANB(4) DIMENSION EPS0(8) PARAMETER (AMAX = 1.0E20) DETIER=2.0D0/3.0D0 ROOT=SQRT(1.5D0) C-------------------------------------------------------------------| C STEP-1 SEPARATING MEMBRANE & BENDING PARTS | C-------------------------------------------------------------------I NSTRS = NSTRS0+2 NS = NSTRS/2 SM(1)=SIG(1) SM(2)=SIG(2) SM(3)=0.0D0 IF (NS.EQ.4) SM(4)=SIG(3) DO 20 I=1,NS XXM1(I) = DETIER * XMAT(11) * VAR( I) XXM2(I) = DETIER * XMAT(14) * VAR(2*NS+I) XXB1(I) = DETIER * XMAT(11) * VAR( NS+I) XXB2(I) = DETIER * XMAT(14) * VAR(3*NS+I) GAMM(I) = VAR(4*NS+I) GABB(I) = VAR(5*NS+I) EPMM(I) = VAR(6*NS+I) EPBB(I) = VAR(7*NS+I) 20 CONTINUE C-------------------------------------------------------------------| C STEP-2: EVALUATION OF J2 SIGMA - X | C-------------------------------------------------------------------I XXM(1)= (2.D0*SM(1) -SM(2))/3.D0 -XXM1(1) -XXM2(1) XXM(2)= (2.D0*SM(2) -SM(1))/3.D0 -XXM1(2) -XXM2(2) XXM(3)= -1.D0*(SM(1)+SM(2))/3.D0 -XXM1(3) -XXM2(3) XXM(4)=0.0D0 IF(NS.EQ.4) XXM(4)= SM(4) -XXM1(4) -XXM2(4) XXB(4)=0.0D0 AJ2 = SQRT( AJM2 + ALFA*ALFA*AJB2 ) C--------------------------------------------------------------------| C STEP-3: CALCUL OF SIGV/K | C -------------------------------------------------------------------I RR = VAR (4*NSTRS+2) RS = XMAT(10)*RR SK = (AJ2 - RS - XMAT(7))/(XMAT(8) + XMAT(9)*RR ) C--------------------------------------------------------------------| C STEP-4: CALCULATION OF EFFECTIVE INELASTIC STRAIN INCREMENT (P) | C -------------------------------------------------------------------I IF (SK.GT.0.0D0) THEN ELSE PPT1= 0.0D0 PPT2= 0.0D0 ENDIF PPT2=1.0D20 PPT = PPT1 * PPT2 VARPT(4*NSTRS+1) = PPT C---------------------------------------------------------------------| C******* CALCULATION OF INELASTIC STRAIN INCREMENTS (EPSV0) | C---------------------------------------------------------------------I IF(AJ2.EQ.0.0D0) AJ2=1.0D-20 DO 30 I=1,NSTRS 30 VARPT(3*NSTRS+I)=EPS0(I) C C----------------------------------------------------------------| C ******* CALCULATION OF PI(P) | C----------------------------------------------------------------I P = VAR(4*NSTRS+1) C----------------------------------------------------------------| C******* CALCULATION OF XII | C----------------------------------------------------------------I C X1IISM = 0.0D0 IF(XMAT(17).NE.0.D0) X1IISM = X1II/XMAT(17) C C X2IISM = 0.0D0 IF(XMAT(18).NE.0.D0) X2IISM = X2II/XMAT(18) C COX1 = 0.D0 COX2 = 0.D0 IF ((X1II.NE.0.D0).AND.(X1IISM.GT.0.D0)) IF ((X2II.NE.0.D0).AND.(X2IISM.GT.0.D0)) C ----------------------------------------------------------------| C******* CALCULATION OF DX1 AND DX2 | C-----------------------------------------------------------------I DO 74 I=1,NSTRS T3 = XMAT(11) * COX1 * VAR(I) T3 = XMAT(14) * COX2 * VAR(NSTRS+I) 74 CONTINUE C-----------------------------------------------------------------| C******* CALCULATION OF DR | C-----------------------------------------------------------------I CO1= QR-VAR(4*NSTRS+2) CO0= ABS(CO1) VARPT(4*NSTRS+2)=DR C----------------------------------------------------------------| C******* CALCULATION OF PROD (N X N*) | C----------------------------------------------------------------I TM1 = EPMM(1)-GAMM(1) TM2 = EPMM(2)-GAMM(2) TM3 = EPMM(3)-GAMM(3) TM4 = 0.0D0 IF(NS.EQ.4) TM4 = EPMM(4)-GAMM(4) AIM2 = T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(3)*ANSM(3) ANANSM=0.0D0 IF(ANAN1.GT.0.0D0) ANANSM=ANAN1 * ANAN1 = ANB(1)*ANSB(1)+ANB(2)*ANSB(2) * ANAN1 = ANAN1+2.D0*ANB(3)*ANSB(3) ANANSB=0.0D0 IF(ANAN1.GT.0.0D0) ANANSB=ANAN1 C----------------------------------------------------------------| C******* CALCULATION OF DQ | C----------------------------------------------------------------I ANANS=ANANSM+ANANSB/ALFA/ALFA DQ = XMAT(23)*HF*ANANS*PPT VARPT(4*NSTRS+4)=DQ C----------------------------------------------------------------| C******* CALCULATION OF DGETA | C----------------------------------------------------------------I DO 78 I=1,NS 78 CONTINUE C----------------------------------------------------------------| C******* CALCULATION OF DQQ | C----------------------------------------------------------------I VARPT(4*NSTRS+3)=2.0D0*XMAT(24)*(XMAT(25)-VAR(4*NSTRS+3))*DQ C EPSVPT(1)=EPS0(1) EPSVPT(2)=EPS0(2) IF (NS.EQ.4) EPSVPT(3)=EPS0(4) EPSVPT(NS)=EPS0(NS+1) EPSVPT(NS+1)=EPS0(NS+2) IF (NS.EQ.4) EPSVPT(6)=EPS0(8) C RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales