|
[Sponsors] |
May 13, 2010, 05:12 |
Solution of Navier-Stokes with FEM in Matlab
|
#1 |
New Member
Vincenzo
Join Date: May 2010
Posts: 1
Rep Power: 0 |
Hello everyone,
I'm an italian student of Aerospace Engineering, and I've to do just the last exam for the bachelor degree. Unfortunately, this exam is very difficult, and so I hope that someone can help me because the professor hasn't explain this tool. I've to create a tool in Matlab that resolve Navier-Stokes equations in a square domain, using the Finite Element Method and Galerkin matrix. I've to use a staggered grid. I cannot begin this tool, and so I'm waiting for your suggestions... Thanks. |
|
May 23, 2010, 07:31 |
same problem
|
#2 | |
New Member
Amar
Join Date: May 2010
Posts: 1
Rep Power: 0 |
I also need the same information. If you got it, can you share it with me.
Amar Quote:
|
||
May 25, 2010, 10:10 |
|
#3 |
New Member
Join Date: May 2009
Posts: 28
Rep Power: 16 |
If you want to learn something: Do it for a simple mesh with paper and pen first, do not start coding right away... Start with Poisson's problem. Then Stokes and Advection-Diffusion. If you can do the stabilization of the advective term (e.g. by some upwindig like SUPG or similar) and a mixed problem, Navier-Stokes is more or less straightforward if you linearize the problem. The steps to develop a FE code are always the same. You need some mesh generation procedure or some import function for generated meshes. Then you need some piece of code to evaluate shape functions and their gradients and some transformation stuff between physical and reference geometries. The rest is just numerical integration, assembly and solving the linear system. There are a couple of books, which focus on FEM with Matlab. Maybe you can get one of those for further information.
If you just want code for your exam... Google for IFISS and see if you can understand it. There are also many other code samples available online which you can modify. In any case... understanding what you do helps. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Filtered navier stokes equation..LES:: | Palani Velladurai | Main CFD Forum | 7 | September 6, 2013 02:51 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |
Newbie:Viscoelasticity and Navier stokes equation | Rajil Saraswat | Main CFD Forum | 2 | June 9, 2003 07:21 |
need help on solution to Stokes equations | Yuksel Onsoy | Main CFD Forum | 3 | November 2, 2000 05:54 |