54 rho, cd_fastest, detfold, dt, f, fdot, vx6, strssvisco)
68 REAL*8,
DIMENSION(1:3,1:3) ::
id = reshape( &
71 0.0,0.0, 1.0 /),(/3,3/) )
74 REAL*8 :: f(3,3),detf,finv(3,3), fdot(3,3), t(3,3), symt(3,3), devt(3,3)
75 REAL*8 :: strsscauchy(3,3), strssvisco(3,3)
77 REAL*8 :: eta, c1, cl, h, du
99 symt = 0.5d0*( t + transpose(t))
105 devt = symt - 1.d0/3.d0*(symt(1,1)+symt(2,2)+symt(3,3))*
id
117 h = ( detf * vx6 )**(1./3.)
123 du = h * ( log(detf) - log(detfold) )/dt
134 eta =
max(0.d0,-0.75d0*h*rho/detf*(c1*du - cl*cd_fastest))
140 strsscauchy = 2.0*eta*devt
144 strssvisco = detf*finv*strsscauchy*transpose(finv)
subroutine artificialdamping(numcstet, numnp, rho, cd_fastest, DetFold, dt, F, Fdot, Vx6, StrssVisco)
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
subroutine invert3x3(a, det)
unsigned long id(const Leda_like_handle &x)