|
[Sponsors] |
Fractional Step Method with Dirichlet Pressure Boundary Conditions ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 8, 2013, 11:29 |
Fractional Step Method with Dirichlet Pressure Boundary Conditions ?
|
#1 |
Member
Osman
Join Date: Oct 2012
Location: Japan
Posts: 53
Rep Power: 14 |
Please please please
Could any one tell me how to apply Dirichlet Pressure Boundary Conditions while using fractional step method. All the paper says that the Poisson equation has to be solved with Neumann BC, what about Dirichlet B.C!!! Please help me it is urgent |
|
August 8, 2013, 12:14 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
n.v* = n.v^n+1 + n.Grad Phi therefore if you fix the pressure at the outlet you have to discretize the normal derivative and use the pressure value. Furthermore, the velocities must be somehow computed. I remember a post that already treated this topic |
||
August 8, 2013, 12:27 |
|
#3 |
Member
Osman
Join Date: Oct 2012
Location: Japan
Posts: 53
Rep Power: 14 |
So, you mean that the Poisson eq will be solved with Neumann B.C, and the Dirichlet Pressure B.C will be included implicitly in the intermediate velocity B.C ???
If my understanding is true , the question arises will be How can i now v^n+1 ??? |
|
August 8, 2013, 12:49 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
Just as example, see http://www.aeromech.usyd.edu.au/~kir...eld-ctac08.pdf |
||
October 24, 2013, 09:15 |
|
#5 |
New Member
subhendu
Join Date: May 2012
Posts: 10
Rep Power: 14 |
Hello,
I am using a pseudospectral code that uses fractional step algorithm with mixed RK3/CN . It works fine . But I have to modify my velocity field with newton method for some of my problems. After that I would like to recompute the pressure using that velocity field. To verify my poisson solver I used this method : 1. Do a long dns save velocity and pressure(P) 2. Use this velocity to compute pressure using laplacian(P)= -div(convetive terms) with dp/dy =1/Re(d2v/dy2) as my B.c's . Here I get P' 3. L2norm(grad(P'-P))/L2norm(grad(P)) ~ 1e-2. 4. But to my surprise original pressure P from DNS does not satisfy this laplacian(P)= -div(convetive terms) . I mean this should be staisfied atleast upto machine precision . In short the gradient is same for P and P' but P does not satisfy pressure poisson equation . Can anyone explain this to me what is the reason behind this |
|
October 24, 2013, 09:35 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
I think your are not ensuring the continuity constraint at all... I suggest starting from the Hodge decomposition v* = vn+1 + Grad phi, then substitute in the continuity equation to get the elliptic problem Div (v* = vn+1 + Grad phi) => Div Grad phi = Div v* To be well posed the problem, you must prescribe the normal component of the Hodge decomposition on the boundary. When that is correctly done, the divergence-free constraint is ensured to machine precision in case of exact projection method (as happens in the MAC method) or up to the local truncation error magnitude for the approximate projection method (as it happens using colocated variable). |
||
October 28, 2013, 05:32 |
|
#7 |
New Member
subhendu
Join Date: May 2012
Posts: 10
Rep Power: 14 |
Hello ,
Thanks for your reply . I checked my calculation . The (0,0) harmonic of pressure is not calculated properly by poisson's equation . Here from Poisson I mean not the one in the fractional step , but a seprate subroutine that uses the velocity field computed from the DNS and attempt to recompute the pressure. The problem now is : 1. For the zero zero harmonic the poisson is d2p/dy2 = -RHS(u) . To solve this I need 2 BC's . On the lower wall I apply Drichlet and homogeneous Neuman on the upper wall . 2. When I see the result close to the upperwall my pressure mathches the one from the DNS. But close to the lower wall its wrong . If you apply Drichlet on uuper wall and homogeneous Neuman on lower wall . The results are opposite. 3. I can't apply Neumann on both the walls the matrix becomes singular. How can I solve this issue . Thank you |
|
October 28, 2013, 05:40 |
|
#8 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
- The pressure equation produces a singular matrix, this is congruent to the fact that the pressure solution is defined apart a constant.
- The system is solvable due to the fact that the compatibility constraint is satisfied. Therefore, your BC must be such as to fulfill this relation, otherwise you do not have a solution. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
CFX13 Post Periodic interface | EtaEta | CFX | 7 | December 8, 2011 18:15 |
Proper Pressure Boundary Conditions for Buoyant Flow | mchurchf | OpenFOAM | 0 | March 25, 2010 13:16 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Pressure boundary conditions in MAC method | Ravi | Main CFD Forum | 4 | January 21, 2000 14:50 |