Hi all
Was following the fenicsx tutorials, however, I think since the update to dolfinx v0.6.0 the NS Channel flow demo (Test problem 1: Channel flow (Poiseuille flow) — FEniCSx tutorial) is no longer working,
When trying to define the stress tensor:
def sigma(u, p):
"""Stress tensor"""
return 2 * mu * epsilon(u) - p * Identity(u.geometric_dimension())
I get the following error:
AttributeError: 'ComponentTensor' object has no attribute 'geometric_dimension'
Just wondering how this should be defined in v0.6.0