← Back to team overview

yade-users team mailing list archive

Re: [Question #697079]: When I use the periodic boundary, whether the packing to be generated should be periodic

 

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

    Status: Needs information => Open

Zhicheng Gao gave more information on the question:
Jan, thanks a lot for your response. 
 I mean that the packings are all periodically generated by setting the parameter periodic of function makeCloud to be True in the examples Periodic simple shear[1] and Periodic triaxial test[2].  Does this mean that the packing of the period boundary must be periodically generated?  
 The relevant code is as follows:
O.periodic=True
sp=pack.SpherePack()
if 0:
	## uniform distribution
	sp.makeCloud((0,0,0),(2,2,2),rMean=.1,rRelFuzz=.3,periodic=True)
else:
	## create packing from clumps
	# configuration of one clump
	c1=pack.SpherePack([((0,0,0),.03333),((.03,0,0),.017),((0,.03,0),.017)])
	# make cloud using the configuration c1 (there could c2, c3, ...; selection between them would be random)
	sp.makeClumpCloud((0,0,0),(2,2,2),[c1],periodic=True,num=500)
[1]https://yade-dem.org/doc/tutorial-examples.html#periodic-triaxial-test
[2]https://gitlab.com/yade-dev/trunk/blob/master/doc/sphinx/tutorial/06-periodic-triaxial-test.py

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