# Dirichlet boundary condition

**URL:** https://community.freefem.org/t/dirichlet-boundary-condition/1639
**Category:** General Discussion
**Created:** [April 2, 2022, 11:33am UTC](https://community.freefem.org/t/dirichlet-boundary-condition/1639 "2022-04-02T11:33:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Qianrui](https://avatars.discourse-cdn.com/v4/letter/q/9fc348/32.png) [@Qianrui](https://community.freefem.org/u/Qianrui)
#### Post date: [April 2, 2022, 11:33am UTC](https://community.freefem.org/t/dirichlet-boundary-condition/1639/1 "2022-04-02T11:33:28Z")

</div>

My program boundary condition is also u = 0 on the boundary; The default setting of tgv is tgv = 1e30, but in fact, according to the obtained finite element solution, the value on the boundary is not equal to 0.

 ![屏幕截图 2022-04-02 173933](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/7/7b320de4abf05a1e6391fbe4ad5f89b69c61c9f8.png)  
 ![屏幕截图 2022-04-02 174024](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/9/9316f5bbc3e5e5fe1df577bc07b5f7b8078d1cf8.png)
