|
[Sponsors] |
Runge-Kutta explicit, incompressible N-S,,,Problem in Pressure |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 7, 2014, 05:23 |
Runge-Kutta explicit, incompressible N-S,,,Problem in Pressure
|
#1 |
Senior Member
Join Date: Dec 2011
Posts: 121
Rep Power: 14 |
Hi FOAMers,
I'm implementing an explicit 3rd order Runge-Kutta scheme(for temporal discretization) to solve incompressible Navier-Stokes eq. --------------- These are main steps solved 3 times in each time step (the complete steps can be found in the attachment): a) Solve momentum eq. explicitly. U' is obtained. b) Laplacian(p') = div(U') / (alpha+beta)*DeltaT c) Velocity is corrected using p' d) Pressure is corrected by : p=p+p' ---------------- Implementing the steps above in OpenFOAM (simple cavity test case, and comparing with icoFoam) provides me correct result for the velocity field, however the pressure solver is not converged (even after 1000iterations), consequently i don't get any reasonable value for pressure.(Two different algebraic solvers also have been tested for pressure). If i remove step (d), still i get correct results for velocity, but the pressure solver now is converged. Also, i get reasonable result for pressure distribution (different with icoFoam, but same distribution). This is the line for solving the pressure eq: Code:
solve( fvm::laplacian(p1) == fvc::div(U)/((alpha+beta)*runTime.deltaT()) ); Does anybody know what can be the problem? I would appreciate any hint. Last edited by fshak92; August 7, 2014 at 06:50. |
|
August 7, 2014, 12:50 |
|
#2 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
You might want to look into this thread:
http://www.cfd-online.com/Forums/ope...nge-kutta.html |
|
August 8, 2014, 05:28 |
|
#3 | |
Senior Member
Join Date: Dec 2011
Posts: 121
Rep Power: 14 |
Quote:
I've already found the problem, which lies on the accumulation of pressure by increasing the time step. If i set the pressure to zero before each time step, the pressure solver is converged, and i get nearly reasonable results. But still i wonder if setting pressure to zero is the correct way! |
||
August 8, 2014, 06:30 |
|
#4 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
I have no experience with incompressible solvers unfortunately.
|
|
August 19, 2015, 17:29 |
|
#5 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
Quote:
Could you finish developing your solver?! I am working on a LES simulation and I think a runge-kutta solver is preffered compared to an implicit solver like pisoFoam. Can you share it with me?! Thanks, Syavash |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Incompressible Flow: Retrieving Pressure from Velocity Field | lordvon | Main CFD Forum | 9 | July 6, 2013 12:24 |
1D Burgers euqation with 4th Runge Kutta | dokeun | Main CFD Forum | 3 | August 8, 2011 07:34 |
Does star cd takes reference pressure? | monica | Siemens | 1 | April 19, 2007 12:26 |
Hydrostatic pressure in 2-phase flow modeling (long) | DS & HB | Main CFD Forum | 0 | January 8, 2000 16:00 |
incompressible flow - prescribing pressure drop - how best to do it? | M. Gerritsen | Main CFD Forum | 4 | January 10, 1999 10:53 |