I need some help on this. I have written a bit of code that has to go into a program that simulates the interior of a solid rocket motor. It basically follows the regressing surface of the combustible. The way I coded this is taht I have a solid that describes the interior of the empty motor and several solids that describe the blocks of propellent. At every time step I shrink the blocks and cut them from the motor solid. The resulting solids is fed to a mesher and the mesh than goes to a solver. This all works fine except for the fact that I can't find a way to tag the different faces of the resulting solid to apply boundary conditions (Wall everywhere except for the faces resulting from the cutting out the propellent, these face have another tag). All ideas are more than welcome.
I tried to find the faces connected to the list of edges that result from BRepAlgoAPI_Cut.SectionEdges() but I can't find how to do this.
Thanks in advance,