← Back to team overview

yade-users team mailing list archive

Re: [Question #701861]: consolidation mean stress

 

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

Description changed to:
In my case, the consolidation is controlled by the def func():

However, when I checked the mean stress p = (sigmax+sigmay+sigmaz)/3 it
did not steadily increase with iterPeriod . So my function doesn't work
as my assumption in my simulation. But I can run the whole script with
no error.

#limited consolidation pressure
finalconso_p=35.0
flag=0

def checkStress():
	global flag
	if fabs(getStress()[0,0]+getStress()[1,1]+getStress()[2,2])/3.0>=finalconso_p:
		fabric()
		addPlotData()
		print("mean stress p=",fabs(getStress()[0,0]+getStress()[1,1]+getStress()[2,2])/3.0)
		Finished()

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