yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05164
Re: moment law, doing it right
I agree with Bruno.
We should start from Dem6Dof, but it should be VERY clean.
Constitutive law should only handle forces, receiving all geometrical
information from IG.
______________________________
Anton Gladkyy
>>
> The different angles and axis of relative rotation could be precomputed so
> that the constitutive law would only use the values that it currently
> computes in e.g. Law2_ScGeom_CohFrictPhys_ElasticPlastic::go(). All this
> should be in an Ig class inheriting from ScGeom and adding the additional
> DOF's needed by CF law and duplicates. In the end, large blocks of
> duplicated code can be replaced by just one line accessing the Ig data from
> inside the contact law.
>
>
>
References