CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

interPhaseChangeFoam: pressure relaxation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hannes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2019, 05:00
Default interPhaseChangeFoam: pressure relaxation
  #1
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 123
Rep Power: 18
hannes is on a distinguished road
Hi experts,

during setup of a cavitation case, I stumbled across the fact, that there is no underrelaxation of the pressure in the interPhaseChangeFoam solver (see attached image; comparison with interFoam's pEqn.H on the right hand side).

Looks like this prevents one from using transient SIMPLE mode...

What is the reason for the removal?

Thanks for any comments...

Regards, Hannes

Auswahl_145.jpg
massive_turbulence likes this.
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

Old   February 23, 2019, 10:31
Default
  #2
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13
massive_turbulence is on a distinguished road
Quote:
Originally Posted by hannes View Post
Hi experts,

during setup of a cavitation case, I stumbled across the fact, that there is no underrelaxation of the pressure in the interPhaseChangeFoam solver (see attached image; comparison with interFoam's pEqn.H on the right hand side).

Looks like this prevents one from using transient SIMPLE mode...

What is the reason for the removal?

Thanks for any comments...

Regards, Hannes

Attachment 68563
"This is true only if the equations do not converge in that time step, meaning you are using an under-relaxation which is actually too aggressive and prevents the evolution of the solution in the number of prescribed iterations. Under-relaxation should not be applied at all in PISO-like algorithm for this reason, and in SIMPLE-like algorithm you must allow a sufficient number of iterations so that the solution actually is not affected by the under-relaxation." via Alberto Passalacqua

Suggested unsteady, implicit solver stable with arbitrarily large time steps
massive_turbulence is offline   Reply With Quote

Old   February 24, 2019, 05:01
Default
  #3
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 123
Rep Power: 18
hannes is on a distinguished road
Dear massive_turbulence,

yes, I know that transient SIMPLE needs iterations to converge in a time step. But it also needs underrelaxation.

I'm afraid I don't understand what you mean exactly by this quote. Can you elaborate?

Thanks, Hannes
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

Old   February 24, 2019, 07:08
Default
  #4
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13
massive_turbulence is on a distinguished road
Quote:
Originally Posted by hannes View Post
But it also needs underrelaxation.



Thanks, Hannes
From what I could tell about implicit methods, under-relaxation isn't (always) required because larger time steps are possible as opposed to explicit methods which require smaller time steps to converge.

Non-linear equations need iterative solutions with under-relaxation for a variable that is considered at the time-step because of divergence from the solution.

This is from another post that I found.

"Hi,

In general, people agree on the following:

- There should be no relaxation on final iteration. This can be achieved by setting relaxation factor to 1 or just removing relaxation factor from dictionary (faster variant).

- There are several mentions in presentations, that for optimal performance sum of relaxation factor for U equation and for p field should be 1.

- For PISO (or PIMPLE), in general, there is no need in relaxation.

So you start from no relaxation, if your solution diverges, you add relaxation for diverging equations. BUT relaxation is not a solution for incorrectly posed BCs." by Alexey Matveichev

About interFoam
massive_turbulence is offline   Reply With Quote

Old   February 24, 2019, 08:58
Default
  #5
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 123
Rep Power: 18
hannes is on a distinguished road
Dear Andrew,

thanks for hinting me to all these posts!

Hearing that SIMPLE works without relaxation is a bit surprising to me (as is for the colleague replying to Alexey's post). I guess, it might work, but probably not in general. So, for me it would thus make sense to let the relaxation in, if it is not hurting.

My impression is more that the relaxation is removed to avoid some kind of inconsistency. Though I'm not sure where is should come from.

Do you have experience with this solver?

Regards, Hannes
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

Old   February 24, 2019, 12:29
Default
  #6
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13
massive_turbulence is on a distinguished road
Quote:
Originally Posted by hannes View Post
Dear Andrew,

thanks for hinting me to all these posts!
Thank Google, although it still takes know how to use it, few keywords is all it takes.


Quote:
Do you have experience with this solver?
The only solver I've used a lot and have tried to modify is buoyantPimpleFoam. I've used interFoam to test a LAN with the dambreak case.

I have however looked over lots of papers related to interfoam from Chalmers, but the best way to understand interfoam is to look at MULES and PISO, as interfoam is quite advanced.
massive_turbulence is offline   Reply With Quote

Reply


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
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
Getting divergence while increasing the back pressure at pressure outlet greenfields15 FLUENT 0 March 18, 2018 23:39
pisoFOAM (LES) - internal pipe flow - convergence gu1 OpenFOAM Running, Solving & CFD 0 January 11, 2018 16:39
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 14:42
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15


All times are GMT -4. The time now is 21:02.