/[escript]/trunk/modellib/test/python/drucker_prager.py
ViewVC logotype

Diff of /trunk/modellib/test/python/drucker_prager.py

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

revision 824 by gross, Tue Aug 29 02:05:59 2006 UTC revision 825 by gross, Tue Aug 29 06:59:27 2006 UTC
# Line 41  m.domain=Link(dom,"domain") Line 41  m.domain=Link(dom,"domain")
41  cv=VectorConstrainer(debug)  cv=VectorConstrainer(debug)
42  cv.domain=Link(dom,"domain")  cv.domain=Link(dom,"domain")
43  cv.value=Link(iob,"out")  cv.value=Link(iob,"out")
44    
45  cv.left=[True, False, False]  cv.left=[True, False, False]
46    cv.right= [True, False, False]
47    cv.bottom= [False, True, False]
48  cv.top= [False, False, False]  cv.top= [False, False, False]
49  cv.bottom= [False, False, False]  cv.front= [False, False, True]
 cv.front= [False, False, False]  
50  cv.back= [False, False, False]  cv.back= [False, False, False]
 cv.right= [True, True, True]  
51    
52  m.prescribed_velocity=Link(cv,"value_of_constraint")  m.prescribed_velocity=Link(cv,"value_of_constraint")
53  m.location_prescribed_velocity=Link(cv,"location_of_constraint")  m.location_prescribed_velocity=Link(cv,"location_of_constraint")
54    
55    m.expansion_coefficient= 0.
56    m.bulk_modulus=100.
57    m.shear_modulus=1.
58    m.plastic_stress=0.
59    m.friction_parameter=0.
60    m.dilatancy_parameter=0.
61    m.shear_length=m.shear_modulus*100.
62    
63    
64  ug=UpdateGeometry(debug)  ug=UpdateGeometry(debug)
65  ug.domain=Link(dom,"domain")  ug.domain=Link(dom,"domain")

Legend:
Removed from v.824  
changed lines
  Added in v.825

  ViewVC Help
Powered by ViewVC 1.1.26