Time dependent diffusion constant in dolfinx

See for instance: Hyperelasticity — FEniCSx tutorial
where T (Only the z-value) is updated within the time loop without redefining the form by calling:

    T.value[2] = n * tval0

I.e:
D_.value[0]= 0.1*D