Oh, logic, thank you a lot!

среда, 3 ноября 2021 г. в 17:59:30 UTC+1, Wolfgang Bangerth: 

> On 11/3/21 10:00 AM, Мария Бронзова wrote:
> > 
> > I was trying to prescribe displacement boundary conditions on a 3D model 
> > on certain faces but only for the x and y displacement components. I 
> > used to apply the interpolate_boundary_values class before,  but it 
> > demands dim+1 components inside my boundary_function (i have a mixed 
> > displacement-pressure formulation problem), when I call 
> > fe.component_mask(velocities).
> > 
> > Could you please let me know, how I can otherwise impose my Dirichlet 
> > condition for chosen displacement components?
>
> The function takes an argument that specifies which components of the 
> solution to constrain. In your case, you would provide a mask that only 
> specifies, for example, the x and y components. The input function is 
> still a dim-dimensional function, but its z component will simply be 
> ignored.
>
> Best
> W.
>
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> www: http://www.math.colostate.edu/~bangerth/
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/bf8bbb21-e442-4243-9d88-4d8634ec8228n%40googlegroups.com.

Reply via email to