Question about project

Hello all,

I have a general question about calculation of strain tensor. In standard fem procedure, we know that strain is calculated at Gauss points. In fenics, we have to project strain at certain function space in order to calculate it. My question is what does this ‘project’ do? Before we project, is the strain calculated at any location or not? Any comments and discussion are appreciated!

You can compute the strains at gauss points if you want to. It all depends on what you want to do with them and how you want to visualize them.

A projection is described in: Alternative of project - #2 by dokken and referenced posts.

Please make a minimal reproducible example for more details

Thank you for your response. I wanted to have a better understanding of project. So I don’t have a specific example. Thanks.