Sumedh, I intend to use RT elements for my fluid flow problem and the test case > (2D) is shear flow. Consequently the I need to apply constant shear/sliding > velocity (u_x = shear_velocity, u_y = 0) at top and bottom boundaries and > velocities of form u_y = 0, u_x = y*shear_velocity for the right and left > boundaries. I came across the function > VectorTools::project_boundary_values_div_conforming > <https://www.dealii.org/developer/doxygen/deal.II/group__constraints.html#ga86427a4e8b3a7e580dabb4e473005288> > > () that helps to apply inhomogeneous dirichlet bcs but only in the normal > direction (normal to boundary face), but what I also intend to do is apply > dirichlet bcs for non-normal component (i.e. for u_x at top and bottom > boundary) for RT elements. Is there any way out? > RT elements are non-conforming and consequently you most likely want to use a DG formulation. In particular, you would normally prescribe Dirichlet boundary values in a weak sense. You might want to have a look at the DG formulation of the Poisson problem in step-39 <https://www.dealii.org/8.5.0/doxygen/deal.II/step_39.html>.
Best, Daniel -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.