Hi, I am solving a bimaterial domain problem. For that i am creating mesh from gmsh and want use domain information in the FEniCS. Is there any elegant way to use the domain information. Here i am attaching .geo file.
Thanks for your help
Point(1) = {0, 0, 0, 1.0};
Point(2) = {1, 0, 0, 1.0};
Point(3) = {1, 1, 0, 1.0};
Point(4) = {0, 1, 0, 1.0};
Point(5) = {0, 0.5, 0, 1.0};
Point(6) = {1, 0.5, 0, 1.0};
Line(1) = {1, 2};
Line(2) = {2, 6};
Line(3) = {6, 3};
Line(4) = {3, 4};
Line(5) = {4, 5};
Line(6) = {5, 1};
Line(7) = {5, 6};
Line Loop(8) = {4, 5, 7, 3};
Plane Surface(9) = {8};
Line Loop(10) = {7, -2, -1, -6};
Plane Surface(11) = {10};