|
[Sponsors] |
Fixing the alpha1 min/max under/overshoots in interFoam.C solver. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 23, 2010, 09:13 |
Fixing the alpha1 min/max under/overshoots in interFoam.C solver.
|
#1 |
Senior Member
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 18 |
Hey Fomers,
I don't know if it is meaningful, therefore I like to ask you for your opinion. When the interFoam solver is running then the min/max values for alpha1 deceeds/exceeds zero and one. My idea is it to add in alphaEqnSubCycle.H a code sequence that the alpha1 values which are out of [0,1] to set the corresponding image values, i.e.: min: alpha1=-1.0324e-20 set to alpha1 = 0, max: alpha1=1.0045 set to alpha1 = 1. There are any things which are opposed to do so? Kinda regards! Claus |
|
January 27, 2010, 20:34 |
|
#2 |
New Member
Matt Roesle
Join Date: Jun 2009
Location: Minneapolis, MN, USA
Posts: 1
Rep Power: 0 |
Hi,
I'm no expert, but here is my two cents: I tried doing this in a custom solver I was working on (not interFoam) but eventually decided it is a bad idea. Very small overshoots should not really cause problems. But if there are large or persistent overshoots, it indicates something is wrong and you need to know about it. (clipping alpha1 to between 0 and 1 would mask the problem but doesn't fix it) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
Getting too many iterations by velocity solving (aborting). Changing U - Solver? | suitup | OpenFOAM Running, Solving & CFD | 0 | January 20, 2010 08:45 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |
Setting a B.C using UserFortran in 4.3 | tokai | CFX | 10 | July 17, 2001 17:25 |