# Stokes equation

**URL:** <https://community.freefem.org/t/stokes-equation/1855>\
**Category:** General Discussion\
**Created:** [June 28, 2022, 8:58pm UTC](https://community.freefem.org/t/stokes-equation/1855 "2022-06-28T20:58:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamal](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/jamal/32/1527_2.png) [@Jamal](https://community.freefem.org/u/Jamal)\
**Post date:** [June 28, 2022, 8:58pm UTC](https://community.freefem.org/t/stokes-equation/1855/1 "2022-06-28T20:58:40Z")

</div>

Hello everyone;  
I am looking for an example to solve the Stokes equation with the Neumann condition.  
In the examples folder I just find the Dirichlet condition.

---

<div class="post-metadata">

**Author:** ![ramrebol](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/ramrebol/32/1227_2.png) [@ramrebol](https://community.freefem.org/u/ramrebol)\
**Post date:** [July 1, 2022, 9:33pm UTC](https://community.freefem.org/t/stokes-equation/1855/2 "2022-07-01T21:33:58Z")

</div>

Hello Jamal.

In short, if the Neumann boundary condition is zero: You only impose the condition on the Dirichlet boundary condition, and in the Neumann boundary you do not impose anything. And don’t forget that if part of the boundary is Neumann, then you shouldn’t force the mean pressure to be zero.
