Hi,
I am new to Fenics, mqybe you can help me on this.
Let's assume we have a scalar field solution u = Function(V) calculated over mesh = UnitCubeMesh(4,4,4) and V = FunctionSpace(mesh, 'Lagrange', 1).
How can I extract the field solution in the plane x=0 (i.e one boundary of the domain)
What i want to do ultimately is to calculate the integral:
sum_ = assemble(u_extracteddx(mesh_extracted))
or
sum_ = assemble(u_extracteddx)
with u_exracted the solution extracted on the plane x=0, dx the elements of this plane, and mesh_extracted the plane x=0
Any help would be appreciated!
Regards,