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

SIMPLER Algorithm

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2014, 11:13
Default SIMPLER Algorithm
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

is there a thread or paper discussed the SIMPLER algorithm and maybe its implementation into openfoam?

regards
Tobi
Tobi is offline   Reply With Quote

Old   February 2, 2021, 02:25
Default No SIMPLER in OpenFOAM
  #2
New Member
 
Join Date: Jan 2019
Posts: 10
Rep Power: 7
Simurgh is on a distinguished road
I know this thread is years old, but I am dealing with a project at hand, and OpenFOAM doesn't seem to have a SIMPLER solver. Have you found anything by any chance?
Simurgh is offline   Reply With Quote

Old   February 2, 2021, 13:56
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Nope. However, FOAM has SIMPLE and SIMPLEC
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   February 2, 2021, 15:19
Default pressure-driven simulation issues with SIMPLE and SIMPLEC
  #4
New Member
 
Join Date: Jan 2019
Posts: 10
Rep Power: 7
Simurgh is on a distinguished road
Looking at OpenFOAM SIMPLE implementation (I am looking at openfoam.com, but main openfoam from openfoam.org shouldn't be that different), the issue is that we have 1 relaxation for pressure only:

Quote:
// Explicitly relax pressure for momentum corrector
p.relax();
Because SIMPLE(C) uses an approximation for correcting velocities, and it has only 1 pressure correction step, and no velocity relaxation (equation relaxation is not the same as field relaxation) then this will cause simpleFoam to diverge quickly for pressure-driven simulations.

To the best of my understanding, the only way to solve pressure-driven simulation is to use pimpleFoam right now. And, pimpleFoam will take much longer to simulate a steady-state than SIMPLER algorithm.

Maybe I should invest some time to implement SIMPLER in OpenFOAM. You are an expert in this area, do you see a use for it?

Thanks
Simurgh is offline   Reply With Quote

Old   February 3, 2021, 01:05
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
How much relaxations you would like to have for the pressure field? I am sorry, but I don't get your issue.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   February 4, 2021, 00:53
Default
  #6
New Member
 
Join Date: Jan 2019
Posts: 10
Rep Power: 7
Simurgh is on a distinguished road
The issue is not relaxation. I can apply any level of relaxation to p field, and SIMPLEC technically doesn't need relaxation. But, simpleFoam simply diverges for laminar simulation where you have a pressure-driven simulation. SIMPLER should be more stable.

A pressure-driven simulation is when you do not specify velocity at the inlet, and instead you use a stagnation pressure boundary condition (totalPressure for example) at the inlet.

As an example, I have changed boundary condition for Pitz-Daily text book example that comes with OpenFOAM source code. If you run it as is, it will diverge after 70-80 iterations of the simpleFoam solver. If you change the totalPressure for inlet to -1 pa for example, then the solution will converge. Note that pressure relaxation is set to 0.3 here. The solver should not diverge based on small boundary condition changes.

If you use a RAS turbulance model, the simpleFoam will converge. But the advantage of using laminar is that you can see where the flow starts to separate from your surfaces while a turbulance model will hide all these details. Alternative to this (which I have not tried yet) is to use Large Eddy Simulation (LES).

A simple use case is this: imagine you are simulating enterance into a device from a plenum and you want to see where the flow separates and modify the geometry to avoid that.

Regards
Simurgh is offline   Reply With Quote

Old   February 4, 2021, 01:03
Default
  #7
New Member
 
Join Date: Jan 2019
Posts: 10
Rep Power: 7
Simurgh is on a distinguished road
sorry, the size of the attachment was too big. I just attached directory 0. The rest of the simulation is the same as pitzDaily example except turbulance model is turned off (laminar simulation).
Attached Files
File Type: gz 0.tar.gz (1.1 KB, 4 views)
Simurgh is offline   Reply With Quote

Old   February 4, 2021, 02:14
Default
  #8
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
I know what pressure driven flows are. I did a lot of simulations using pressure boundaries without specifying any velocity. I don't have any issues regarding such problems.



Regarding your problem. I cannot investigate into that as you don't provide any information. The community cannot support you by showing the boundaries. I expect that the problem you have is related to something else. A pressure difference of 10 Pa is nothing and should work out of the box.





Simple example, I am investigating into a cooling system for the Enders 3 v2 and this is only a pressure driven analysis - a bit more complex because it is a fanPressure and a fanPressureJump (as I do have two fans here). simpleFoam works out of the box and is stable. Pressure Differences are around 12 Pa (and is varying). I did not check if laminar works but if you are using a steady-state solver, the separation is not predicted correctly in any case.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   February 4, 2021, 13:01
Default
  #9
New Member
 
Join Date: Jan 2019
Posts: 10
Rep Power: 7
Simurgh is on a distinguished road
I guess at this point I will use simpleFoam with a RAS turbulance model as this works well with pressure-driven simulation. However, I still think a SIMPLER solver would be much more stable with laminar model at higher Reynolds.

The boundary condition I attached is for OpenFOAM "tutorial" pitzDaily. It is not my simulation. I just changed the following tutorial case to make it a pressure-driven case:

$FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily

If you decide to try it, you also need to make it laminar to see the issue. At 10 pa pressure difference simpleFoam will diverge. At 5 pa, it will eventually converge.

Thank you for your help
Simurgh is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Problems with pressure equation in SIMPLER algorithm Corby Main CFD Forum 0 June 17, 2013 09:24
SIMPLER Algorithm Bharath Main CFD Forum 2 July 10, 2009 10:53
Pressure BC in SIMPLER Algorithm? Mori Main CFD Forum 1 August 24, 2006 18:45
Interpolation algorithm in SIMPLER elisabet Main CFD Forum 0 December 7, 2005 04:54
SIMPLER Algorithm question Erik Main CFD Forum 1 May 23, 2004 03:57


All times are GMT -4. The time now is 20:58.