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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2010, 09:13
Default 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
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!

Claus
idrama is offline   Reply With Quote

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


All times are GMT -4. The time now is 10:13.