@@ -21,13 +21,13 @@ def createScene(rootNode):
2121 topoLines .addObject ('RodStraightSection' , name = 'StraightSection' ,
2222 length = 980.0 , radius = 0.9 ,
2323 nbEdgesCollis = 50 , nbEdgesVisu = 200 ,
24- youngModulus = 20000 , massDensity = 0.1 , poissonRatio = 0.3 )
24+ youngModulus = 20000 , massDensity = 0.00000155 , poissonRatio = 0.3 )
2525
2626 topoLines .addObject ('RodSpireSection' , name = 'SpireSection' ,
2727 length = 20.0 , radius = 0.9 ,
2828 nbEdgesCollis = 10 , nbEdgesVisu = 200 ,
2929 spireDiameter = 25 , spireHeight = 0 ,
30- youngModulus = 20000 , massDensity = 0.1 , poissonRatio = 0.3 )
30+ youngModulus = 20000 , massDensity = 0.00000155 , poissonRatio = 0.3 )
3131 topoLines .addObject ('WireRestShape' , name = 'BeamRestShape' , template = "Rigid3d" ,
3232 wireMaterials = "@StraightSection @SpireSection" )
3333
@@ -42,7 +42,7 @@ def createScene(rootNode):
4242 BeamMechanics .addObject ('EulerImplicitSolver' , rayleighStiffness = 0.2 , rayleighMass = 0.1 )
4343 BeamMechanics .addObject ('BTDLinearSolver' , verification = False , subpartSolve = False , verbose = False )
4444 BeamMechanics .addObject ('RegularGridTopology' , name = 'MeshLines' ,
45- nx = 60 , ny = 1 , nz = 1 ,
45+ nx = 61 , ny = 1 , nz = 1 ,
4646 xmax = 0.0 , xmin = 0.0 , ymin = 0 , ymax = 0 , zmax = 0 , zmin = 0 ,
4747 p0 = [0 ,0 ,0 ])
4848 BeamMechanics .addObject ('MechanicalObject' , showIndices = False , name = 'DOFs' , template = 'Rigid3d' , ry = - 90 )
0 commit comments