yade-users team mailing list archive
Mailing list archive
Re: [Question #679516]: How to get the Volume in the simulation with periodic boundary condition?
Question #679516 on Yade changed:
Status: Open => Answered
Jan Stránský proposed the following answer:
> But I don't know how to measure the volume change.
dV = refVolume - O.cell.volume # , absolute value
dV = 1.0 - O.cell.trsf.determinant() # O.cell.trsf is deformation gradient, google e.g. "deformation gradient volume change", in range [0,1]
> I can not keep the boundary's shape (I want to keep it in as a flat at
Please be more specific.
In fact, as the simulation is periodic, there is no "boundary" or "surface"..
You received this question notification because your team yade-users is
an answer contact for Yade.