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

projection method

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2003, 17:55
Default projection method
  #1
ilker basol
Guest
 
Posts: n/a
hi,

I am trying to implement projection 2 algorithm of Gresho using finite element method. I would like to discuss some points with anybody who already implemented this scheme. I would be very happy if you can contact me.
  Reply With Quote

Old   January 16, 2003, 20:24
Default Re: projection method
  #2
Tony
Guest
 
Posts: n/a
Do you mean the incremental scheme? What are your questions?
  Reply With Quote

Old   January 17, 2003, 06:22
Default Re: projection method
  #3
ilker basol
Guest
 
Posts: n/a
I am talking about the projection 2 that gresho presents in his paper " on the theory of semi-implicit projection methods for viscous incompressible flow and its implementation via a finite element method that also introduces a nearly consistent mass matrix Part 2: implementation "

I try to implement the scheme using a Q2Q1 element (quadratic shape functions for velocities and linear shape functions for pressure). I am trying to debug it using a test problem. It is the classical channel flow with parabolic velocity profile. but i don't get logical results for the velocities at the first time step. the pressures look quite logical because pressure is linearly decreasing starting from inlet to outlet as it is in the analytical results. but I wonder why it doesn't give logical results for the velocities. my first question is do you any boundary condition for the solution of laplace equation (CT*ML-1*C)*PHI=CT*U~n+1-gn+1 (in discrete form as it appears in his paper) second question is about the term (CT*ML-1*C). How does it look like for one element, or if you already implemented this scheme is it possible to verify it for one element from the results of your code. In fact I still have some tiny questions in my mind but i keep them for my self.

  Reply With Quote

Old   January 17, 2003, 15:07
Default Re: projection method
  #4
Tony
Guest
 
Posts: n/a
I will try to answer your questions, though I have not personally used Q2Q1.

(CT*ML-1*C) is the so-called consistent Laplace matrix with M usually being properly diagnosed or lumped, since otherwise it is computationally unfeasible. Even using lumped M, the entries of this matrix are larger than the traditional Laplace matrix. I am not sure that it can be assembled in the element level. For example, for a given node, its support for the traditional Laplace is the intermediate neighbor nodes though element connectivity as we all know. But for the consistent matrix, the support involves one more level of the elements. This probably answers your second question.

The implied boundary condition for the pressure is dPHI/dn=0 where n the unit vector normal to the boundary. Since PHI is the increment of pressure (probably scaled by dt), this condition means dP^n+1/dn = dP^n/dn.

Hope this helps.

Tony
  Reply With Quote

Old   January 18, 2003, 09:13
Default Re: projection method
  #5
ilker basol
Guest
 
Posts: n/a
thanks for your suggestions and directions... what i have done up to now is to consider no boundary condition for the pressure poisson equation (CT*ML-1*C)*PHI = CT*U~n+1 - g_n+1 because in gresho's and chorin's paper and also in gresho book, it says that the boundary conditions are automatically built in this equation, therefore i don't implement any boundary condition for this equation. and the laplace operator i compute it globally as it is mentioned in the appendix of gresho's book not in element level...

another thing that i wonder about is the g term. it say that g term is the complete gradient matrix tranposed times the u_n+1 g_n+1 = CT * u_n+1. i would like to know why it appears in all of the gresho's papers but not in others. and what does it physically represent.. and did you also implement this term in your code..

and lastly i would like to know which discretization did you implemeted in your code, i guess Q1Q0 ??

thanks a lot

ilker
  Reply With Quote

Old   January 20, 2003, 15:50
Default Re: projection method
  #6
Tony
Guest
 
Posts: n/a
Ilker,

My experience with this issue was using Taylor-Hood type elements (P2P1). The consistent matrix was tested as the pressure preconditioner in Uzawa iteration. It worked fine.

I bet the ¡°g¡± term is related to some BC¡¯s, and you may ignore it in your case.

As you mentioned earlier that the pressure seems correct but the velocity does not. My guess is that something might be wrong with the gradient operator in the projection step.

Also do not forget to check if the prescribed velocity (no-slip?) BC is enforced.

Good luck.
  Reply With Quote

Old   January 22, 2003, 11:29
Default Re: projection method
  #7
ilker basol
Guest
 
Posts: n/a
Probably, i found the major error... up to now i was calculating the A matrix (CT*ML-1*C) after reducing the dirichlet boundary conditions from the C and lumped mass matrix (the contributions of the boundary nodes to gradient operator and lumped mass matrix are not taken into account ). But this should be done just before reducing the dirichlet boundary conditions from the equations.. at the end we get the same dimension for A either i calculate without reducing the C or after reducing the C. but the final matrices for A in both cases are totaly different. now for the first time step the velocity values look better than before ..

thanks for your suggestions

ilker basol
  Reply With Quote

Old   January 28, 2003, 11:51
Default Re: projection method
  #8
ilker basol
Guest
 
Posts: n/a
hi Tony,

Now i have some improvements in the results but i still have problems and questions. My question is about the K (viscous term). I checked Mark A.Christon's paper named "Dealing with pressure:FEM solution strategies for the pressure in the time-dependent Navier-Stokes equations" and he says that he uses K which is augmented by balancing tensor diffusivity (BTD) and uses trapezoidal rule for this term as below; (M+dt/2*K)U~n+1 = (M-dt/2*K)Un + dt*(.......) did you also augmented the K term and also implemented the trapezoidal rule. and the last question is whether you can solve with any reynolds number. Did you ever try reynolds number of one for example?

best regards, ilker
  Reply With Quote

Old   January 28, 2003, 15:51
Default Re: projection method
  #9
Tony
Guest
 
Posts: n/a
Yes, I did try very low Reynolds numbers. It is very stable as long as you treat the viscous term implicitly, like the Crank Nicolson as you mentioned above.

I believe the trapezoidal rule is good enough for integrating the viscous term.

Good luck.
  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
projection method for helical pipe(3D) ehsan_am86 Main CFD Forum 0 August 14, 2010 22:30
projection method sudhakar Main CFD Forum 4 December 8, 2007 02:25
FDM projection method for steady-state ma Main CFD Forum 2 October 17, 2005 15:57
Multiphase Flow with Chorin's Projection Method Stefan Leschka Main CFD Forum 2 August 20, 2002 16:46
A Second-Order Projection Method for Incompressibl Ivan Main CFD Forum 5 April 29, 2001 08:27


All times are GMT -4. The time now is 04:34.