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

Incremental projection method

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 15, 2018, 12:18
Default Incremental projection method
  #1
Member
 
Moshe De Leon
Join Date: Nov 2017
Location: Portugal
Posts: 31
Rep Power: 8
moshe is on a distinguished road
I am curious about the practical implementation of an incremental projection method. For pressure we have 3 time levels, P^{n+1}, \phi^{n+1}, P^{n}. In the prediction step we have

\frac{\mathbf{u}^{*} - u^{n}}{\Delta t} = - \mathbf{u}^{n} \cdot \nabla \mathbf{u}^{n} - \frac{1}{\rho} \nabla P^{n} - \nu \nabla^{2} \mathbf{u}^{n}

We solve for pressure \phi^{n+1}

\nabla^{2} \phi^{n+1} = \frac{\rho}{\Delta t} \nabla \cdot \mathbf{u}^{*}

We then project onto

\frac{\mathbf{u}^{n+1} - \mathbf{u}^{n}}{\Delta t} = - \nabla \phi^{n+1}

Finally we update pressure

P^{n+1} = P^{n} + \phi^{n+1}

In literature P^{n} is referred to as an approximate to P^{n+1}. My question is in practice how do I initialize P^{n} and then update pressure. In my code I have, after updating the velocities

Code:
Pnew(i,j) = P(i,j) + phi(i,j)
phi(i,j) = P(i,j)
I have tried setting P = Pnew, but my simulation blows up.
moshe is offline   Reply With Quote

 


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
On the alpha Eqn of VOF method when using Immersed boundary method in OpenFOAM keepfit OpenFOAM 4 January 31, 2014 14:32
Attempt to implement the Chorin Projection Method McFly OpenFOAM Programming & Development 0 October 26, 2013 06:46
Turbulence inflow generation - recycling method panda60 OpenFOAM Running, Solving & CFD 15 April 25, 2013 01:34
Fluent 6.3.26 vs 12.1 and partition method Anorky FLUENT 0 April 27, 2010 10:55
Comparison: Finite Volume Method vs. Analytic Method m-fry Main CFD Forum 1 April 20, 2010 14:40


All times are GMT -4. The time now is 08:24.