← Back to team overview

yade-users team mailing list archive

[Question #701861]: consolidation mean stress

 

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

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])/2.0>=finalconso_p:
		fabric()
		addPlotData()
		print("mean stress p=",fabs(getStress()[0,0]+getStress()[1,1]+getStress()[2,2])/2.0)
		Finished()

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