I provide more information on this topic, maybe its really just a script
syntax problem ...

O.engines=[
        ForceResetter(),
        
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Box_Aabb()]),
        InteractionLoop(
                
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
                
[Ip2_FrictMat_FrictMat_MindlinCapillaryPhys(betan=0.9,betas=0.9,label='ContactModel')],
                
[Law2_ScGeom_MindlinPhys_Mindlin(neverErase=False,label='Mindlin')]
                ),
        
Law2_ScGeom_CapillaryPhys_Capillarity(CapillaryPressure=suction,fusionDetection=True,label='CapPhys'),
        
GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=1,timestepSafetyCoefficient=0.8,
 defaultDt=0.9*utils.PWaveTimeStep(),label='TimeStepper'),
        
NewtonIntegrator(gravity=(0,0,-9.81),damping=local_damping_pre,label='integrator')
]

#Now I want to deactivate GlobalStiffnessTimeStepper (activate later)

TimeStepper.dead=True

#Set preferred time step:

O.dt=1e-8


When I look at time step in yade GUI, time stepper is still active and it has 
time step > 1e-8 !
Did I do something wrong? The script was working well with an older version of 
yade (before density scaling was introduced). Now it makes calculation instable 
(explosion), because time step is too high.

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1057400

Title:
  new GlobalStiffnessTimeStepper can not be deactivated anymore in
  O.engines

Status in Yet Another Dynamic Engine:
  Invalid

Bug description:
  I tried to deactivate GlobalStiffnessTimeStepper in O.engines with

  GlobalStiffnessTimeStepper.dead=True

  or with

  GlobalStiffnessTimeStepper.active=False

  , but this commands will not deactivate it.

  To solve the problem one just have not to declare it in O.engines.

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1057400/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to