code for sand drop simulation
I am trying to simulate the sand free fall.
The bodies that represent the sand create them as polyhedra, add the interaction code according to the YADE guide.
When the code is executed from the terminal, the creation of all the created bodies can be visualized, but when the simulation is started from the YADE window, the polyhedra disappear and in the end it seems the following warning:
WARN /build/
WARN /build/
This is the complete code ... (the comments of the code are in Spanish)
Algoritmo_3.py
Tipo
Texto
Tamaño
3 KB (3.032 bytes)
Espacio usado
3 KB (3.032 bytes)
Ubicación
INV
Propietario
yo
Modificado
16:35 por mí
Abierto
16:37 por mí
Creado el
16:35 con GNOME
Añadir descripción
Los lectores pueden descargar
from yade import pack, plot, utils, polyhedra_utils, export
#Altura de caida del material
hc=0
#EQUIPO
#coordenadas centro
x=0
y=0
z=0
#coordenadas extension
f=0.45
a=0.50
h=1
#estrutura del equipo de pluviacion
O.bodies.
#PROBETA
#Radio
r=0.05
#Altura de la probeta
height=0.1
#Probeta 1
#Coordenadas centro
xp1=0.1
yp1=0
zp1=1
#Algoritmo YADE para crear la probeta 1
O.bodies.
#Probeta 2
#Coordenadas centro
xp2=0.1
yp2=0
zp2=1
#Algoritmo YADE para crear la probeta 1
O.bodies.
#MATERIAL
#coordenadas perimetro de particulas
#esquina inferior
xi=0.225
yi=0.225
zi=0.2
#esquina superior
xs=0.225
ys=0.25
zs=0.5
#tamano de las particulas segun el estudio de angularidad
#sizemin particulas de menor tamano segun la angularidad
a=.12 #ancho (m)
l=.12 #largo (m)
r=.12 #radio (m)
#sizemin particulas de mayor tamano segun la angularidad
A=.12 #ancho (m)
L=.12 #largo (m)
R=.12 #radio (m)
#Propiedades mecanicas del material
polyMat=
polyMat.
polyMat.
#Algoritmo YADE para agregarel material
O.materials.
#Algoritmo YADE para crear las particulas en forma de poliedros con las dimensiones de ancho, largo y radio del ensayo de angularidad
polyhedra_
O.engines=
InsertionSortCo
[Bo1_Polyhedra_
InteractionLoop( #Funcion para controlar las interaciones de los cuerpos presentes en la simulacion
[Ig2_Polyhedra_
[Ip2_PolyhedraM
[Law2_Polyhedra
GlobalStiffness
NewtonIntegrato
I want to know if anyone knows how I can solve this problem ... I already tried the GlobalStiffness
I thank you if you can help me ...
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 Estefany Carmona Alvarez for more information if necessary.