yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #09337
Re: [Question #247006]: Writing a new constitutive law
Question #247006 on Yade changed:
https://answers.launchpad.net/yade/+question/247006
Jan Stránský proposed the following answer:
Hi Behzad,
> I know python and I'm learning C++. I do not know the steps I need to do
> to include my new things (can be a contact law or something else) in
> Yade source code.
>
For the beginning, define a small task for yourself and share it with us,
we can guide you. The better and more specific is the description you give
us the better can be our understanding of your problem and our help :-)
>
> There're some issues in Yade for me now;
>
> 1-We assign material properties to "Box"es and so they've got weight and
> they follow Newton's second law. But, momentum is not considered in
> their movement law!
>
I am not sure what you mean by this statement.. The second Newton's law is
momentum balance, so the momentum of bodies is essentially present in the
solution.
>
> 2-We assign material properties to Boxes but why not to facets?
>
>
material properties (instance of Material class) is assigned to any body.
Facets are non-dynamic by default, do you mean this? It is because people
usually use them as boundary with prescribed position. But for interactions
evaluation, they do have material properties.
> The idea behind all these is to import some aggregates which we usually
> define as clumps in the form of facets and assign material properties to
> them (only for the movement, they will be considered as rigid bodies).
> In models with thousands of clumps this will reduce the number of
> elements and there will be a computational gain. The other phases of the
> material will be defined with spheres as usual.
>
do you mean something like polyhedrons?
>
> So, what I'd like to do is to be able to import some shapes as gts and
> assign a density to them and include it in Newton integration engine for
> movement calculations.
> There might be a need for new contact detection definitions like
> facet_to_box.
>
One way is to use existing implementation of polyhedrons for this task (can
be used for both "gts shapes" and boxes). Depending on what you will write
us about what you want and expect we can suggest further steps.
Sorry if I misunderstood something in your question, it's quite late ;-)
cheers
Jan
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.