How to move the facetBox side
I've created four cylinder particles in a facetBox, but my new question is how to move the facetBox side?
I try to use TranslationEngine, but it did not work in my case...
Additionally, can I assign the specific side in facetBox as periodic boundary?
Here are my statement scripts:
from __future__ import print_function
from yade.gridpfacet import *
from yade import pack, plot,qt
import gts, os.path, locale
from numpy import arange
#locale.
#### Parameters ####
# radius of cylinder
cyl_R=0.2
# length of cylinder
cyl_L=0.1
# friction angle
phi=30.0
# Young's modulus
E=1e6
idSteel=
# wallMask=31 >> +/-x, +/-y, -z
O.bodies.
### create materials ###
# gridConnections material
gridConMat= O.materials.
# general interactions
cylMat= O.materials.
### create particles/packing: cylinders ###
nodesIds=[]
cylIds=[]
dx=0.5
dy=0.5
nx=2
ny=2
nz=1
dz=0
for i in range(0,nx):
x=0+i*dx
for j in range(0,ny):
y=0+j*dy
for k in range(0,nz):
z=0+k*dz
cylinder(
color=
### Engines ###
O.engines = [
Ig2_
Ig2_
#Ig2_
#Ig2_
#Ig2_
],
[
# internal cylinder physics
# physics for external interactions, i.e., cylinder-cylinder
],
[
Law2_
Law2_
]
),
GlobalStiffnes
#PyRunner(
]
#### For viewing ####
qt.View()
#### Allows to reload the simulation ####
O.saveTmp()
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask enki for more information if necessary.