I was wondering if FEniCS can do the following:
mesh1 = UnitCubeMesh(5,5,5)
mesh2 = UnitCubeMesh(7,7,7) % or the second mesh is a submesh of mesh1
V1 = FunctionSpace(mesh1,‘CG’,1)
V2 = FunctionSpace(mesh2,‘CG’,1)
then how to construct the mixed function space of V1*V2 and define the variational form based on this mixed function space? Thanks in advance.
Thanks for the reply, dokken. However, when i use FEniCS (version 2019.1.0) to run the code, it implies that ‘MixedFunctionSpace’ is not defined. Do I need to install some other library or this is defined in develop verision? Thanks again.