/[escript]/trunk/doc/examples/usersguide/heatedblock.py
ViewVC logotype

Diff of /trunk/doc/examples/usersguide/heatedblock.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2513 by gross, Thu Jul 2 08:42:11 2009 UTC revision 2534 by caltinay, Thu Jul 16 06:49:19 2009 UTC
# Line 60  sigma_mises=sqrt(((sigma[0,0]-sigma[1,1] Line 60  sigma_mises=sqrt(((sigma[0,0]-sigma[1,1]
60                    (sigma[2,2]-sigma[0,0])**2)/2. \                    (sigma[2,2]-sigma[0,0])**2)/2. \
61                     +3*(sigma[0,1]**2 + sigma[1,2]**2 + sigma[2,0]**2))                     +3*(sigma[0,1]**2 + sigma[1,2]**2 + sigma[2,0]**2))
62  #... output ...  #... output ...
63  saveVTK("deform.xml",disp=u,stress=sigma_mises)  saveVTK("deform.vtu",disp=u,stress=sigma_mises)
64    

Legend:
Removed from v.2513  
changed lines
  Added in v.2534

  ViewVC Help
Powered by ViewVC 1.1.26