|
[Sponsors] |
April 16, 2011, 13:15 |
rhoPimpleFoam algorithm
|
#1 | ||
New Member
Perry L. Johnson
Join Date: Feb 2011
Location: Orlando, FL, USA
Posts: 17
Rep Power: 15 |
I am working in OF v1.7.1 and have a couple quick questions regarding the implementation of the compressible PISO-SIMPLE algorithm:
1) On line 00095 of the rhoPimpleFoam/pEqn.H code: Why is the if statement commented out? Should the relaxation of pressure really be allowed in the final outer iteration? Quote:
Quote:
|
|||
April 18, 2011, 03:57 |
|
#2 |
Senior Member
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18 |
Hi,
you are correct, there should be no relaxation in the last iteration because otherwise you get a continuity error (which is very large if you look at the tutorial case). I'm not sure about the energy equation but would be interested in your result. Regards, Christian |
|
April 18, 2011, 20:22 |
|
#3 | ||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Quote:
However this aspect might influence convergence rate, but it should not affect the results. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|||
April 20, 2011, 10:40 |
|
#4 |
New Member
Perry L. Johnson
Join Date: Feb 2011
Location: Orlando, FL, USA
Posts: 17
Rep Power: 15 |
Alberto and Christian,
Thank you for entertaining my curiosities. I will let you know anything I find through experimentation, though it seems as if Alberto does not expect much difference on either point. For the interested foamer stumbling across this thread, I suggest reviewing the following thread for a more involved discussion of relaxation http://www.cfd-online.com/Forums/ope...ime-steps.html Regards, Perry |
|
April 20, 2011, 22:56 |
|
#5 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Yes, I do not expect any difference on the solution.
Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
July 27, 2015, 11:16 |
|
#6 | |
Member
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 15 |
Quote:
this commented-out IF statement has been removed from OF v.2.4, as can be seen here: https://github.com/OpenFOAM/OpenFOAM...oam/pEqn.H#L92 I am getting massive timestep continuity errors and no pressure convergence for what should be a very straightforward problem of orthogonal mesh and subsonic gas flow. After searching a lot in this forum (and it is quite hard to get the keywords right!) I think that if I don't relax the pressure in the last outer iteration my solution may converge. Has anyone tried to do this in newer versions of OF? Anyone know why the commented out section was removed? Can you please guide me to where OF explains changes from one version to the next? Thanks, Christa |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
About Poisson equation's B.C. in SMAC algorithm | snakejoe | Main CFD Forum | 0 | April 7, 2009 06:58 |
VOF methods and the Simplre algorithm | Jeff Yanke | Main CFD Forum | 6 | August 25, 2008 01:32 |
About Phase Coupled SIMPLE (PC-SIMPLE) algorithm | Yan Kai | Main CFD Forum | 0 | April 18, 2007 04:48 |
About Phase Coupled SIMPLE (PC-SIMPLE) algorithm | Yan Kai | FLUENT | 0 | April 14, 2007 00:17 |
mach-uniform algorithm for LES/DNS | ilyas | Main CFD Forum | 0 | February 22, 2007 11:53 |