CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Fixing the alpha1 min/max under/overshoots in interFoam.C solver.

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2010, 08:13
Default Fixing the alpha1 min/max under/overshoots in interFoam.C solver.
Senior Member
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 17
idrama is on a distinguished road
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!

idrama is offline   Reply With Quote

Old   January 27, 2010, 19:34
New Member
Matt Roesle
Join Date: Jun 2009
Location: Minneapolis, MN, USA
Posts: 1
Rep Power: 0
Mattasmack is on a distinguished road
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)
Mattasmack is offline   Reply With Quote


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
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
Getting too many iterations by velocity solving (aborting). Changing U - Solver? suitup OpenFOAM Running, Solving & CFD 0 January 20, 2010 07:45
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 16:25

All times are GMT -4. The time now is 07:17.