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

Unbounding alpha in Dambreak case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2014, 02:51
Default Unbounding alpha in Dambreak case
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Hi guys!

In the original dambreak case, alpha's outlet boundary is set as:
Code:
atmosphere
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }
I think that means water and air can get out but only air can get in. Then I revise it into:
Code:
atmosphere
    {
        type            outletInlet;
        outletValue      uniform 0;
        value           uniform 0;
    }
and make there is more water in the fields by :
Code:
defaultFieldValues
(
    volScalarFieldValue alpha.water 0
);

regions
(
    boxToCell
    {
        box (0 0 -1) (0.3 0.5 1);
        fieldValues
        (
            volScalarFieldValue alpha.water 1
        );
    }
);
Then I run interFoam in OpenFOAM 2.2.x and 2.3.0. I can see that alpha is unbounded:

2.3.0
Code:
Courant Number mean: 0.032188 max: 0.996634
Interface Courant Number mean: 0.000976763 max: 0.220003
deltaT = 7.3338e-05
Time = 0.886652

smoothSolver:  Solving for alpha.water, Initial residual = 0.0004712, Final residual = 4.5912e-09, No Iterations 1
Phase-1 volume fraction = 0.459894  Min(alpha1) = -3.87751e-11  Max(alpha1) = 143.031
MULES: Correcting alpha.water
MULES: Correcting alpha.water
Phase-1 volume fraction = 0.459894  Min(alpha1) = -8.17479e-08  Max(alpha1) = 142.755
DICPCG:  Solving for p_rgh, Initial residual = 0.000217595, Final residual = 7.50267e-06, No Iterations 2
time step continuity errors : sum local = 1.21984e-07, global = 6.70143e-09, cumulative = -0.000355408
DICPCG:  Solving for p_rgh, Initial residual = 1.75272e-05, Final residual = 8.56153e-07, No Iterations 5
time step continuity errors : sum local = 1.39203e-08, global = -6.03115e-10, cumulative = -0.000355409
DICPCG:  Solving for p_rgh, Initial residual = 5.98614e-06, Final residual = 9.99259e-08, No Iterations 22
time step continuity errors : sum local = 1.6247e-09, global = -1.64737e-10, cumulative = -0.000355409
ExecutionTime = 63.87 s  ClockTime = 64 s
2.2.x is the same.


So we can see that when the water is getting out, alpha tends to be unbounded.

My aim is keep water in this field so I modify alpha's boundary. So what should I do?

Thanks in advance
Attached Images
File Type: png alpha.PNG (18.7 KB, 62 views)
sharonyue 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
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Significance of Alpha and Solvers Application jolync OpenFOAM 2 January 31, 2011 14:40
Runing InterFoam for 3 D damBreak case Patch issue nishant_hull OpenFOAM Running, Solving & CFD 5 February 18, 2009 00:32
Turbulent Flat Plate Validation Case Jonas Larsson Main CFD Forum 0 April 2, 2004 10:25


All times are GMT -4. The time now is 08:01.