← Back to team overview

yade-users team mailing list archive

Re: [Question #630910]: Uniaxial test with CohFrictMat

 

Question #630910 on Yade changed:
https://answers.launchpad.net/yade/+question/630910

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Manon,

see my answer at [1] and and Jerome's answer #4 at [2]. The  solution is
to use O.dt=0 for the first O.step:

##################################################
O.engines = [...] # without UniaxialStrainer, it does not like O.dt=0
O.dt = 0
O.step()
O.dt=dtSafety*PWaveTimeStep()

for i in O.interactions :
	i.phys.unp = i.geom.penetrationDepth

O.engines = O.engines[4:] + [UniaxialStrainer(...)] + O.engines[4:] # put UniaxialStrainer to the position in original code
##################################################

cheers
Jan

[1] https://answers.launchpad.net/yade/+question/630281
[2] https://answers.launchpad.net/yade/+question/266828

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.