balance equation in rate form and boundary conditions

Skip to first unread message

Jan Heczko

Mar 27, 2017, 7:09:02 AM3/27/17
to sfepy-devel
Hi, everyone!

I'm trying to implement an example with hypoelastic material, i.e. a material whose stress-strain relationship is given in rate-form:
d_stress = E : d_strain
The linear elastic material is a subset of this, but one can obtain different types of behavior with non-constant E.

I tried two approaches (enclosed), both contain the balance equation in rate-form. The equation consists of a single `dw_lin_elastic_iso` term in both cases.

When displacements are prescribed, the problem is not solved as expected: the solution is zero everywhere except where the EBCs are prescribed.
The approach with two fields (displacement and velocity) works with boundary conditions prescribed for velocities. Actually, the second field (displacements) is present only to directly output displacements, since I am not interested in velocities.

My questions:
- Is the above described behavior correct in Sfepy? Is it a bug/feature?
  There is also the possibility that the formulations are not equivalent, but I can't see it now.
- What is the difference between the [hypo]elastic term and e.g. diffusion? (There is a time-derivative term in `` together with Dirichlet boundary conditions and everything seems to work.)
  Is it the fact that there is no term without time derivative in the balance equation? I guess not - I tried to add an elastic term (multiplied by either 0, 1e-4), but that doesn't change the results much.


Robert Cimrman

Mar 27, 2017, 9:22:38 AM3/27/17
Hi Jan,

it is a bug. Can you try [1]? Also verify, please, that your example mentioned
in [2] still works - this is related.



Jan Heczko

Mar 28, 2017, 2:05:01 AM3/28/17
Hi Robert,
your fix seems to solve the problem (the single-field formulation gives the expected displacements) and the other examples work as well.
Thank you!

You received this message because you are subscribed to a topic in the Google Groups "sfepy-devel" group.
To unsubscribe from this topic, visit
To unsubscribe from this group and all its topics, send an email to
To post to this group, send email to
Visit this group at

Robert Cimrman

Mar 28, 2017, 3:06:14 AM3/28/17
OK, I have created a PR and merged it. Also, there is now [#378] - I need to
resolve the problem properly.

Reply all
Reply to author
0 new messages