> I would like to simulate flow in a "bathtube", espcially the outflow. > Therefore I wrote a grid in ucd format which I read using GridIn. A > problem arises when the channel of outflow has a cylindrical shape. I > applied the CylinderBoundary description to the grid. This doesn't work > properly where the cylinder is connected with the cube. Can someone > explain what is happening there and if I can fix this problem?
Based on the file you sent me (off-list) it looks like all faces on the cylinder have the correct boundary_indicator set, but that some of the edges at the interface do not -- they appear to have the boundary indicator of the "tub", not the "outlet". As a consequence, when you refine, the new mid-point is put at the average of the previous two vertices of an edge, rather than pulled out onto the surface of the cylinder. You need to either add these edges to the input file, or fix this up by hand in your code after reading the mesh. Cheers W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________
