# Boundary conditions

**URL:** <https://discourse.julialang.org/t/boundary-conditions/54609>\
**Category:** General Usage\
**Tags:** question, juafem\
**Created:** [February 4, 2021, 10:39am UTC](https://discourse.julialang.org/t/boundary-conditions/54609 "2021-02-04T10:39:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rony](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@Rony](https://discourse.julialang.org/u/Rony)\
**Post date:** [February 4, 2021, 10:39am UTC](https://discourse.julialang.org/t/boundary-conditions/54609/1 "2021-02-04T10:39:41Z")

</div>

I want to select particular nodes in my 2D mesh to apply boundary conditions and traction. I saw the examples where the entire left face have been selected.

My mesh looks like this. I want to apply constraint in node 1 and 8. In node 1 both x and y displacements are restricted and in node 8 only x displacement is restricted. Can someone help? ![mesh](https://global.discourse-cdn.com/julialang/original/3X/5/5/55ca3a009d936f40c53a25ce769cb9148189df32.png)
