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

4th order Runge-Kutte & uncoupled method Navier Stokes equations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2010, 07:06
Default 4th order Runge-Kutte & uncoupled method Navier Stokes equations
  #1
New Member
 
Isabel
Join Date: Mar 2009
Posts: 4
Rep Power: 17
misabel is on a distinguished road
Hello CFD's users!

I have programmed a code in order to solve Navier-Stokes equations with Finite Element Method. In order to solve it, I use an uncoupled method (first I calculate the velocity, secondly, the PPE to obtain the pressure), to make time discretization I have applied 4th explicit Runge Kutta method.

But I don't know if I am applying rightly Runge-Kutta with the uncoupled method.

I do:

1) Calculate velocity u_n+1 doing:

1.a) k1=incrT*(-Advection_Term(n,u_n)-Difusion_Term(n,u_n)-Gradient*p_n)

1.b) k2=incrT*(-Advection_Term(n+1/2,u_n+k1/2 )-Difusion_Term(n+1/2,u_n+k1/2 )-Gradient*p_n)

1.c) k3=incrT*(-Advection_Term(n+1/2,u_n+k2/2 )-Difusion_Term(n+1/2,u_n+k2/2 )-Gradient*p_n)

1.c) k4=incrT*(-Advection_Term(n+1,u_n+k3 )-Difusion_Term(n+1,u_n+k3 )-Gradient*p_n)

In that way, we have Mu_n+1=Mu_n+k1/6+k2/3+k3/3+k4/6, where M is the mass matrix.

2) Calculate pressure p_n+1 with velocity u_n+1, throughout the Pressure Poisson Equations (PPE).

I would like to know if I am doing it in the right way, does it make sense?

Thanks in advance!
Best regards!
Isi
misabel 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
Presure range of the Navier Stokes Equations Dr. Tsimento Main CFD Forum 7 May 23, 2001 11:12
need help on solution to Stokes equations Yuksel Onsoy Main CFD Forum 3 November 2, 2000 06:54
Navier Stokes Equations J.J. Main CFD Forum 2 June 29, 2000 10:31
Laplace or Stokes equations solver by Boundary Elements Method Lemonnier Main CFD Forum 3 December 28, 1999 14:48
Computational complexity of Navier Stokes equations Marco Ellero Main CFD Forum 5 May 5, 1999 22:07


All times are GMT -4. The time now is 12:43.