88 |
# ... save current acceleration in units of gravity and displacements |
# ... save current acceleration in units of gravity and displacements |
89 |
if n==1 or n%10==0: |
if n==1 or n%10==0: |
90 |
#saveVTK("./data/usoln.%i.vtu"%(n/10), acceleration=length(a)/9.81, |
#saveVTK("./data/usoln.%i.vtu"%(n/10), acceleration=length(a)/9.81, |
91 |
#displacement = u, tensor = stress, Ux = u[0]) |
# displacement = u, tensor = stress, Ux = u[0]) |
92 |
|
|
93 |
dc.setData(acceleration = length(a)/9.81, displacement = u, |
dc.setData(acceleration = length(a)/9.81, displacement = u, |
94 |
tensor = stress, Ux = u[0]) |
tensor = stress, Ux = u[0]) |