coml14
C COML14 SOURCE CB215821 24/04/12 21:15:22 11897 IMPLICIT REAL*8(a-h,o-z) IMPLICIT INTEGER(I-N) real*8 sst(3) -INC PPARAM -INC CCOPTIO -INC CCREEL * segment deroulant le mcheml -INC DECHE -INC SMCHPOI -INC SMELEME -INC SMLENTI -INC SMLREEL -INC SMMODEL imodel = iqmod IF (cmate.eq.'AFFINE') then *à entrer par xmatf (CD composante facultative en fin de tableau) xkd = xmatf(1) xcoef1 = xmatf(2) xcoef2 = xmatf(3) do jj = 1,gradf(/1) * sigf(jj) = gradf(jj) * xkd/xcoef1 * (-1.) if (gradf(jj).ne.0.d0) then uu = ABS(gradf(jj))/gradf(jj) sst(jj) = (ABS(gradf(jj))**xcoef2)*uu*xkd/xcoef1*(-1.) * if (sigf(jj).ne.sst(jj)) write(6,*) ib,igau,jj,sigf(jj),sst(jj) sigf(jj) = sst(jj) else sigf(jj) = 0.d0 endif enddo if (ib.eq.1.and.igau.eq.1) then * write(6,*) 'temps', temp0 ,xmatf(/1),xmatf(1) * write(6,*) 'contrainte ' , valmat(2),valmat(3),valmat(4) endif ENDIF IF (cmate.eq.'VISQUEUS') THEN xkd = xmatf(1) xcoef1 = xmatf(2) xcoef2 = xmatf(3) do jj = 1,gradf(/1) vic1 = var0(jj) uu = gradf(jj) delvic1 = xcoef1*(uu -vic1)/ycoef varf(jj) = vic1 + delvic1 enddo if (ib.eq.1.and.igau.eq.1) then * write(6,*) xcoef1, xcoef2, ycoef * write(6,*) 'contrainte ' , (sigf(jj),jj=1,sigf(/1)) endif ENDIF RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales