Re: [Yade-users] [Question #697615]: displacement vs friction graph plotting

2021-06-23 Thread Pawan
Question #697615 on Yade changed:
https://answers.launchpad.net/yade/+question/697615

Status: Needs information => Open

Pawan gave more information on the question:
Sorry for the inconvenience, I am new to this platform.
I have sorted my code till here

from yade import plot
idSteel=O.materials.append(FrictMat(young=210e9,poisson=.25,frictionAngle=.8,label="steel"))
 #material
sp=sphere((0,0,0),1,material=idSteel)  #sphere
plate=box((0,0,-1),(10,100,0),material=idSteel)  #plate
plateID=O.bodies.append(plate) #plateID=0
spID=O.bodies.append(sp) #spID=1
sp.state.blockedDOFs = "xyXYZ" #sphere movement z dir allowed
O.forces.setPermF(1,(0,0,-1))  # 1 mag. force on sphere in -ve z direction
plate.state.blockedDOFs = "xyzXYZ"  #plate movement blocked
plate.state.vel =(0,.02,0)  #plate given const. velocity in y direction

#engine
O.engines=[ForceResetter(),
InteractionLoop(
 [Ig2_Box_Sphere_ScGeom()],
 [Ip2_FrictMat_FrictMat_FrictPhys()],
 [Law2_ScGeom_FrictPhys_CundallStrack()]
),
NewtonIntegrator(),
PyRunner(iterPeriod=500,command="addPlotData()")
]

def addPlotData():
  Dz=plate.state.displ()
  Fz=O.forces.f(plateID)
  plot.addData(i=O.iter,Fz=Fz,Dz=Dz)
plot.plots={'Dz':('Fz')}
plot.plot()
O.dt=0.5*PWaveTimeStep()
O.saveTmp()

Here what I am trying to do is fixing a sphere particle on a moving plate. A 
normal load is applied on the sphere the same thing as we do in the shear 
test ..but here with a single particle. 
Now I want to record the friction at the interface with the displacement of the 
plate.

The problem that I feel is the normal force applied is not getting
transferred to the interface and hence no friction is recorded.

For the friction force, I have taken force on the plateas the only
force on the plate in a moving direction will be friction.

Kindly help me with this .

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine

2021-06-23 Thread Zhicheng Gao
Question #697642 on Yade changed:
https://answers.launchpad.net/yade/+question/697642

Status: Solved => Open

Zhicheng Gao is still having a problem:
So how to delete the previous FlowEngine?

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine

2021-06-23 Thread Zhicheng Gao
Question #697642 on Yade changed:
https://answers.launchpad.net/yade/+question/697642

Status: Answered => Solved

Zhicheng Gao confirmed that the question is solved:
Thanks Bruno Chareyre, that solved my question.

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #697548]: Simulating the time-dependent behavior of single grain

2021-06-23 Thread Du Zhang
Question #697548 on Yade changed:
https://answers.launchpad.net/yade/+question/697548

Du Zhang posted a new comment:
Thank you for your reply and suggestions.

> the biggest problem in "time length" of your problem 
Yes, a long time is the most important in my topic. I also looked at the 
tutorial examples and other examples you provided. There are a few concrete 
examples that look like the one I want to simulate, but unfortunately, they are 
all short-term as you said.

I also read the document, from this I learned about time step and period.
> some implicit integration scheme
Actually, I don’t understand this very much.

> Some "long-time-step" approach for "calm" periods without breakage, skipping 
> to explicit time integration when breaking occurs until it stabilizes, then 
> again "long-time-step" approach...
It feels like a solution, but I don’t know how good the result will be and 
actually don't know how to start.

> Are new contacts important to your problem?
Contacts between grain and steel or grain and grain are important I think.
But the contact model can be other.

Thanks a lot again!

best,
Du Zhang

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #697642]: Many errors with PeriodicFlowEngine

2021-06-23 Thread Bruno Chareyre
Question #697642 on Yade changed:
https://answers.launchpad.net/yade/+question/697642

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi, removing particles is not expected with flow engine. I think the simplest 
solution is to delete the previous FlowEngine after erasing some particles, and 
replace it with a fresh one.
Probably a good feature would be to let FlowEngine be reset, to avoid such 
replacement, but the effect is the same.
I hope it helps
Bruno

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp