You're right, Hamed. There is FEValuesViews::Vector< dim, spacedim >::symmetric_gradient [1] and FEValuesViews::Vector< dim, spacedim >::gradient [2] instead. The first should be exactly what you are looking for.
Code that I have written normally uses multiple DoFHandlers if I solve for multiple equations separately. Best, Daniel [1] https://dealii.org/8.4.1/doxygen/deal.II/classFEValuesViews_1_1Vector.html#a4e5dfbb49d284a368acac6ef5dd4b2ef <https://dealii.org/8.4.1/doxygen/deal.II/classFEValuesViews_1_1Vector.html> [2] https://dealii.org/8.4.1/doxygen/deal.II/classFEValuesViews_1_1Vector.html#ad7b4df64147989229f566eff541ddebc <https://dealii.org/8.4.1/doxygen/deal.II/classFEValuesViews_1_1Vector.html> Am Freitag, 3. Juni 2016 01:33:34 UTC+2 schrieb Hamed Babaei: Daniel, Since in the FEValuesViews::Vector< dim, spacedim > Class there isn't any shape_grad_component function, I am not sure that I can update the get_strain as I mentioned. I was wondering if you have already written a code for a thermoelastic problem in dealii, solving heat equation and elastic equation separately. Best, Hamed On Thursday, June 2, 2016 at 3:31:48 PM UTC-5, Daniel Arndt wrote: Hamed, There shouldn't be a problem to do what you following step-22. In particular, you can modify step-18::get_strain as you proposed. Did you face any difficulties so far? Best, Daniel -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
