How can interact spheres with the moving facet when using MPI?
Hello, everyone. I always appreciate your kind support.
I am trying to apply overburden pressure using a downward-moving topcap (or facet) in an MPI environment. However, the moving facet does not interact with the spheres (although it does interact when using O.run).
I have found a previous related question (https:/
Could you please let me know the correct way to achieve this?
Thank you in advance.
Regards.
Ubuntu (22.10)
YADE (2022.01a)
=== MWE ===
from yade import pack, plot
from yade import mpy as mp
O.materials.
O.materials.
O.bodies.
#radius_mean = .002
# create topcap
width = 0.06
height = 0.17
dx = width/10.0
dy = width/10.0
p5t = (-width/
p6t = (-width/
p7t = (width/
p8t = (width/
topcap1 = utils.facet(
topcap2 = utils.facet(
O.bodies.
O.bodies.
O.bodies[
O.bodies[
mn,mx=Vector3(
pred = pack.inAlignedB
O.bodies.
O.engines = [
ForceResett
InsertionSo
Interaction
),
NewtonInteg
# VTKRecorder(
PyRunner(
PyRunner(
DomainLimit
]
def addData():
for b in O.bodies:
def control_run():
print ("Current step is ", O.iter, end='\r')
collider.verletDist = -.5
O.dt=0.
O.resetTime()
print("Number of bodies = ", len(O.bodies))
# w/o MPI
#O.run(nSteps= 10000, wait=False)
# MPI
mp.VERBOSE_OUTPUT = False
mp.REALLOCATE_
mp.ACCUMULATE_
mp.MAX_RANK_OUTPUT = 4
mp.DOMAIN_
mp.MERGE_
mp.mpirun(
mp.mergeScene()
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: