I have a 3D mesh with facets marked specifically for different domains, and would like to solve a 2D problem over the surface of one of the regions,
i.e., I have a FacetFunction "ff" defined over the 3D mesh "mesh", and I'd like to create a SubMesh "submesh" over just the facets marked "3" like this :
submesh = SubMesh(mesh, ff, 3)
But this doesn't work because SubMesh is required to be initialized with a CellFunction
Does anyone know an easy (or hard) way to do this? If you point me to the source code, I could help develop this ability if necessary.
Thanks!