yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07917
Re: [Question #232876]: No such attribute capillary pressure
Question #232876 on Yade changed:
https://answers.launchpad.net/yade/+question/232876
Christian Jakob proposed the following answer:
Hi,
Two points you forgot:
1. Please set neverErase=True in this line:
Cap =
Law2_ScGeom_CapillaryPhys_Capillarity(capillaryPressure=10000,neverErase=True)
2. You have to set createDistantMeniscii=True for one step and then
False... something like
Cap.createDistantMeniscii=True
O.run(1,True)
Cap.createDistantMeniscii=False
Then everything should work fine.
Regards,
Christian
Zitat von Seungcheol Yeom <question232876@xxxxxxxxxxxxxxxxxxxxx>:
> Question #232876 on Yade changed:
> https://answers.launchpad.net/yade/+question/232876
>
> Seungcheol Yeom posted a new comment:
> Hello all,
> First of all, I really appreciate your response.
> I have run the script using yade-daily and it seems it is working.
> However, I would like to check the caplliraty stress whether it is
> actually applied or not.
> In other words, I would like to see whether the particles actually
> pull each other due to the capillary.
> I have written a simple script to check as shown in the below:
>
> from yade import utils,qt
> r = 1e-4 #particle radius
> h = 1e-5 #praticle distance
> O.bodies.append([
> utils.sphere(center=(0,0,0),radius=r,fixed=False),
> utils.sphere((0,0,2*r+h),r)
> ])
> Newton = NewtonIntegrator(damping=0.4,gravity=(0,0,0))
> Cap = Law2_ScGeom_CapillaryPhys_Capillarity(capillaryPressure=10000)
> O.engines=[
> ForceResetter(),
> InsertionSortCollider([Bo1_Sphere_Aabb()]),
> InteractionLoop(
> [Ig2_Sphere_Sphere_L3Geom()],
> [Ip2_FrictMat_FrictMat_CapillaryPhys()],
> [Law2_ScGeom_FrictPhys_CundallStrack()]
> ),
> Cap,
> Newton
> ]
>
> O.dt=0.5*PWaveTimeStep()
> qt.View()
> O.saveTmp()
>
> It seems that the particle is not moving at all.
> Also, I would like to see whether the force on the particles are chagning.
> Any helps would appreciate.
>
> Seungcheol
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.