Hello everyone,

I am trying to model mixed formulation for hyperelasticity with mean dilatation formulation. The mean dilatation procedure is based on an arbitrary volume V, which after discretization will inevitably become the volume of each element. For example;

So, it is need to done in element level rather than performing in material level. How can it be done in FEniCS ? Currently I am trying to model this averaging over element by DG=0, but i am not sure if it works as same. Thanks.