@@ -76,7 +76,7 @@ def Reduced_SofiaLeg(
7676 SofiaLeg .addObject ('UniformMass' , totalMass = 0.01 )
7777 SofiaLeg .addObject ('HyperReducedTetrahedronFEMForceField' , youngModulus = 300 , poissonRatio = 0.45 , name = 'reducedFF_SofiaLeg_0' , nbModes = nbrOfModes , performECSW = hyperReduction , modesPath = path + r'/data/modes.txt' , RIDPath = path + r'/data/reducedFF_SofiaLeg_0_RID.txt' , weightsPath = path + r'/data/reducedFF_SofiaLeg_0_weight.txt' )
7878 SofiaLeg .addObject ('BoxROI' , name = 'boxROITop' , orientedBox = [[- 12.0 , 53.0 , 0.0 ], [12.0 , 53.0 , 0.0 ], [12.0 , 64.0 , 0.0 ], 16.0 ], drawBoxes = True )
79- SofiaLeg .addObject ('HyperReducedRestShapeSpringsForceField ' , name = 'reducedFF_SofiaLeg_1' , indices = '@boxROITop.indices' , stiffness = '1e8' , nbModes = nbrOfModes , performECSW = hyperReduction , modesPath = path + r'/data/modes.txt' , RIDPath = path + r'/data/reducedFF_SofiaLeg_1_RID.txt' , weightsPath = path + r'/data/reducedFF_SofiaLeg_1_weight.txt' )
79+ SofiaLeg .addObject ('HyperReducedFixedWeakConstraint ' , name = 'reducedFF_SofiaLeg_1' , indices = '@boxROITop.indices' , stiffness = '1e8' , nbModes = nbrOfModes , performECSW = hyperReduction , modesPath = path + r'/data/modes.txt' , RIDPath = path + r'/data/reducedFF_SofiaLeg_1_RID.txt' , weightsPath = path + r'/data/reducedFF_SofiaLeg_1_weight.txt' )
8080 SofiaLeg .addObject ('BoxROI' , name = 'boxROICollision' , orientedBox = [[- 25.0 , - 41.0 , - 7.0 ], [25.0 , - 42.0 , - 7.0 ], [25.0 , - 39.0 , - 7.0 ], 2.0 , [- 25.0 , - 42.0 , 7.0 ], [25.0 , - 42.0 , 7.0 ], [25.0 , - 39.0 , 7.0 ], 2.0 ], drawPoints = '0' , computeEdges = '0' , computeTriangles = '0' , computeTetrahedra = '0' , computeHexahedra = '0' , computeQuad = '0' , drawSize = 5 , drawBoxes = True )
8181 SofiaLeg .addObject ('BoxROI' , name = 'boxROIMiddle' , orientedBox = [[- 2.5 , - 8.5 , 0.0 ], [2.5 , - 8.5 , 0.0 ], [2.5 , - 3.5 , 0.0 ], 18.0 ], drawBoxes = True )
8282 SofiaLeg .addObject ('HyperReducedRestShapeSpringsForceField' , externalIndices = [0 , 1 , 2 ], indices = '@boxROIMiddle.indices' , name = 'reducedFF_SofiaLeg_2' , stiffness = '1e8' , external_rest_shape = '@../../SofiaLeg_actuator/actuatorState' , nbModes = nbrOfModes , performECSW = hyperReduction , modesPath = path + r'/data/modes.txt' , RIDPath = path + r'/data/reducedFF_SofiaLeg_2_RID.txt' , weightsPath = path + r'/data/reducedFF_SofiaLeg_2_weight.txt' )
0 commit comments