Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

how write Stokes equation in mathematica?

the Stokes equation is in in this link http://en.wikipedia.org/wiki/Navier-Stokes_Equations

share|improve this question

closed as unclear what you're asking by m_goldberg, RunnyKine, Öskå, Vitaliy Kaurov, Michael E2 Aug 15 '14 at 14:22

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

What have you tried? There is a simple example in the What's New in Mathematica 10, just plug into the Navier-Stokes instead of pure Stokes flow. –  m0nhawk Aug 15 '14 at 7:25
Change the equation to Indicial notation and follow mathematica.stackexchange.com/questions/15307/… and mathematica.stackexchange.com/questions/14654/… –  Algohi Aug 15 '14 at 7:40

1 Answer 1

This blog is a good start:

Using Mathematica to Simulate and Visualize Fluid Flow in a Box

It fully solves 2D problem of one moving boundary

enter image description here

and gets nice vertex flows:

enter image description here

enter image description here

There are detailed descriptions of proper equations and numerical discretization. You can generalize to 3D. I would look also in latest V10 functionality to see if anything can be used there to upgrade the methods of the blog - it was written before V10 came out. For instance, take a look at this Stokes Flow example which is a simplification of NS:

enter image description here

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.