hi all,
i was wondering if there is any documentation on how to implement subdomains boundary conditions on imported gmsh files (i tried to search by myself but didnt found anything that is suitable for this )
i have shared my gmsh file before, will share again
i need to create few different subdomains in order to set different material properties for each subdoamin (cylinder and box that wraps the cylinder) and of course some boundary conditions on the facets
im using fenics and not fencisx
will be happy to know if anyone has found any doc for something similar to that
// Gmsh project created on Mon Jun 03 18:05:16 2024
//+
SetFactory("OpenCASCADE");
Box(1) = {0, 0, 0, 1, 0.2, 0.2};
//+
Cylinder(2) = {-0.1, 0.1, 0.1, 1.5, 0, 0, 0.05, 2*Pi};
//+
BooleanDifference{ Volume{1}; Delete; }{ Volume{2}; Delete; }
//+
Cylinder(2) = {0, 0.1, 0.1, 1, 0, 0, 0.049, 2*Pi};
//+
Physical Surface("left", 19) = {1};
//+
Physical Surface("right", 20) = {7};
//+
Physical Surface("front", 21) = {3};
//+
Physical Surface("back", 22) = {4};
//+
Physical Surface("top", 23) = {5};
//+
Physical Surface("down", 24) = {2};
//+
Physical Volume("box", 25) = {1};
//+
Physical Volume("cylinder", 55) = {2};