← Back to team overview

yade-users team mailing list archive

Re: [Question #660480]: stressIdeal

 

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

    Status: Open => Answered

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

> (1)What is the function of the code "strain=p3d.strain" ?

you can have a look at source code [1]. Strain is computed incrementally
with defined strainRate. Components of strainRate are either prescribed
(for prescribed strain) or estimated such that actual stress is as close
as possible to idealStress (for prescribed stress)

> (2)In the vector of "stressIdeal", what do the last four items mean? I
guess they are strain ez, exy, eyz, exz respectively.

as the variable name suggests, its components are stress, so it is sz,
syz, szx, sxy. For the components, where strain is prescribed, it has no
influence (I guess).

> I want to know if i am right with the code above?

after a **very quick** look it seems ok. Please try it and in case it
does not what you want, let us know.

cheers
Jan

[1]
https://github.com/yade/trunk/blob/master/pkg/dem/PeriIsoCompressor.cpp#L235

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.