CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Solution of Navier-Stokes with FEM in Matlab

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2010, 05:12
Default Solution of Navier-Stokes with FEM in Matlab
  #1
New Member
 
Vincenzo
Join Date: May 2010
Posts: 1
Rep Power: 0
vincial is on a distinguished road
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.
vincial is offline   Reply With Quote

Old   May 23, 2010, 07:31
Default same problem
  #2
New Member
 
Amar
Join Date: May 2010
Posts: 1
Rep Power: 0
amar raza is on a distinguished road
I also need the same information. If you got it, can you share it with me.

Amar

Quote:
Originally Posted by vincial View Post
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.
amar raza is offline   Reply With Quote

Old   May 25, 2010, 10:10
Default
  #3
New Member
 
Join Date: May 2009
Posts: 28
Rep Power: 16
walli is on a distinguished road
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.
walli is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 05:37.