|
[Sponsors] |
January 15, 2016, 11:10 |
Fraction Step Method Question
|
#1 |
New Member
Matthew de Haast
Join Date: Aug 2014
Location: Cape Town
Posts: 9
Rep Power: 12 |
Hello
Just got a quick question that I seem to be conflicted on. With the classic projection method will the always satisfy the incompressibility constraint? ie the divergence of the velocity field after each step be zero? Further is this true even when starting with an arbitrary initial field? Thanks Matt |
|
January 15, 2016, 11:51 |
|
#2 |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
The projection method typically assumes that the previous timestep velocity field satisfies the divergence-free condition. This includes the initial conditions. You see this when you take the divergence of the time-discretized momentum equation...div(U_n) (and div(U_n-1), etc if you use a multi-level time discretization) will be assumed to be zero. Then div(U_n+1) is forced to zero by solution of the pressure(-like) field.
If you specify an initial velocity field that is NOT divergence free, I don't think that you have a well-posed problem. Having said that, the momentum equation will not care that the initial velocity field has a non-zero divergence and it will update the provisional velocity to the new time level. The projection method will remove the divergent portion of the provisional velocity field, so you should end up with a U_n+1 that is div() = 0. But, this will depend on the exact implementation of the fractional step method that you use. TL;DR version. Don't specify non-physical initial conditions. |
|
January 15, 2016, 13:13 |
|
#3 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
You can find many papers about these methods |
|
January 16, 2016, 03:18 |
|
#4 |
New Member
Matthew de Haast
Join Date: Aug 2014
Location: Cape Town
Posts: 9
Rep Power: 12 |
Thank you both for your reply. I believe I understand much better now. The real issue I am having, which I suspect it was/is to do with not satisfying the incompressibility constraint, is that for Lid Cavity I am getting really weird issues in the top corners.
Please see the attachment to see what I am talking about. Has anyone see/had this issue before? Last edited by matdehaast; January 16, 2016 at 03:20. Reason: grammar fix |
|
January 16, 2016, 04:32 |
|
#5 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
you did not add any scale for the values....
1) what about the spatial discretization you use? 2) what about the grid arrangement? 3) how do you compute Div vn+1 for the plot? is the same type of discretization used for the Div Grad p term? 4) has the pressure solver converged? what about the BC.s you set? |
|
January 16, 2016, 16:02 |
|
#6 | |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
Quote:
|
||
January 17, 2016, 11:39 |
|
#7 |
Member
Kaya Onur Dag
Join Date: Apr 2013
Posts: 94
Rep Power: 13 |
ps. plotting without interpolations would provide more insight
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiphase turbulance case floating error | harsha_kulkarni | OpenFOAM Running, Solving & CFD | 3 | February 18, 2016 06:06 |
time step directories naming issue | Andrea_85 | OpenFOAM | 3 | April 3, 2014 09:38 |
Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 11:08 |
InterFoam negative alpha | karasa03 | OpenFOAM | 7 | December 12, 2013 04:41 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 23:40 |