← Back to team overview

yade-users team mailing list archive

Re: [Question #253296]: Periodic boundary conditions - cell position

 

Question #253296 on Yade changed:
https://answers.launchpad.net/yade/+question/253296

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello Dominik,

Could you please specify more in detail what you are trying to achieve?
Simulations using periodic boundary conditions (or periodic contact
detection more precisely) are quite specific and at the moment I see no
reason to consider the center of gravity of the periodic cell.. since it is
considered to be copied all around filling entire space.

If you still need it, would it be possible to do your calculations using
the actual center of the periodic cell?

cheers
Jan



2014-08-19 9:26 GMT+02:00 Dominik Boemer <
question253296@xxxxxxxxxxxxxxxxxxxxx>:

> Question #253296 on Yade changed:
> https://answers.launchpad.net/yade/+question/253296
>
> Description changed to:
> Hello everybody,
>
> I would like to create a periodic boundary condition which has the form
> of a rectangular parallelepiped (axis aligned) and whose center of
> gravity can be translated (pan) to any point in space.
>
> I was able to create a periodic condition with the following command:
>
> O.cell.refSize=(0.8,0.8,0.4) (and O.periodic=True)
>
> This cell has however one vertex at position (0,0,0).  I would like to
> translate the cell, i.e. its center of gravity should be at the origine
> of the reference frame and not one of its vertices.  How could I
> translate the periodic boundary condition cell?
>
> Thanks in advance!
> Best regards,
> Dominik
>
> --
> 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.