Пример #1
0
  def setUp(self):
    self.stresses = [damage.VonMisesEffectiveStress(), 
        damage.MaxPrincipalEffectiveStress()]
    self.weights = [0.37, 1.0-0.37]
    self.es = damage.SumSeveralEffectiveStress(self.stresses, self.weights)

    self.stress = np.array([100,-50.0,300.0,-99,50.0,125.0])
Пример #2
0
    def setUp(self):
        self.es = damage.MaxSeveralEffectiveStress([
            damage.VonMisesEffectiveStress(),
            damage.MaxPrincipalEffectiveStress()
        ])

        self.stress = np.array([100, -50.0, 300.0, -99, 50.0, 125.0])
Пример #3
0
 def effective_model(self):
   return damage.MaxSeveralEffectiveStress([
     damage.VonMisesEffectiveStress(),
     damage.MaxPrincipalEffectiveStress()])
Пример #4
0
 def effective_model(self):
   return damage.MaxPrincipalEffectiveStress()
Пример #5
0
  def setUp(self):
    self.es = damage.MaxPrincipalEffectiveStress()

    self.stress = np.array([100,-50.0,300.0,-99,50.0,125.0])