I noticed in the examples that some of the entities in the problem
description file are updated i.e. materials, ecbs and solvers. The
updates do not not seem to change the entity parameters but rather add
to them. Two questions:
1. Can updates be used to change the entity parameters? e.g. change
material parameters.
2. Can all entities be updated? e.g change equations when specific
failure criterion is met.
Thanks
--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to sfepy...(a)googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel...(a)googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.

I presume it's possible to probe cell data in a function call or
during post_processing. I'm interested in extrapolating stresses
averaged in the elements to the nodes.
Could I apply var.evaluate_at(...)?
In [49]: from sfepy.fem.evaluate import eval_term_op
In [52]: stress = eval_term_op(vec,
'de_cauchy_stress.i1.Omega(solid.D,u)', pb)
In [54]: var
Out[54]: FieldVariable:s
In [59]: stress
Out[59]:
array([[[[ 2.38035802],
[-19.45504858],
[ 2.5780901 ]]], ...
In [68]: var.data_from_data(stress)
In [71]: var.evaluate_at(nm.array[0.0,0.0])
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/home/grassy/sfepy_dev/sfepy/sfepy/interactive/__init__.pyc in
<module>()
----> 1
2
3
4
5
TypeError: 'builtin_function_or_method' object is unsubscriptable
In [77]: var.data
Out[77]:
deque([array([ 2.38035802, -19.45504858, 2.5780901 , ...,
-1.92049253,
-1.47623867, 1.56398786])])
--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to sfepy...(a)googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel...(a)googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.

Is it possible to model the weak form of equations involving the p-
Laplacian in SfePy? I am no expert but I believe the relevant term
might be
integral( |grad(u)|^p grad(u) . grad(w) )
where p > -1 is some real number. I am not seeing it in the terms
table, but it might be there in a form unknown to me.
Thanks,
Dominique
--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to sfepy...(a)googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel...(a)googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.

Hi,
you can test ([0]) a new ElasticConstants class [1] that implements all
possible conversion formulas for:
Young’s modulus
Poisson’s ratio
bulk modulus
Lamé’s first parameter
shear modulus = Lamé’s second parameter
P-wave modulus = longitudinal wave modulus
Given any two constants, it can determine the remaining, see [2], [3].
Basically, at [2] there are all the formulas without the P-wave modulus, while
at [3] there are all the constants, but not all the formulas (60 for six
constants).
It uses sympy to some extent for the moment, but later we could just use the
resulting relations converted to Python functions.
Let me know if it works for you or not.
thanks,
r.
[0] http://github.com/rc/sfepy
[1] http://docs.sfepy.org/doc-devel/src/sfepy/mechanics/matcoefs.html
[2]
http://www.efunda.com/formulae/solid_mechanics/mat_mechanics/calc_elastic_c…
[3] http://en.wikipedia.org/wiki/Lam%C3%A9_parameters

I see some probing functions in the code although no examples or
documentation. Is this still under development? I'm looking for a way
to extract info from the results file.