CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   twoLiquidMixingFoam: alpha becomes unbounded (https://www.cfd-online.com/Forums/openfoam-solving/200091-twoliquidmixingfoam-alpha-becomes-unbounded.html)

kaaja March 23, 2018 07:45

twoLiquidMixingFoam: alpha becomes unbounded
 
Hi.
I get an alpha at 1.6.
I think alpha is supposed to be bounded between 0 and 1.
I have the following settings in fvSolutions:

Code:

"alpha.water.*"
    {
        nAlphaCorr      1;
        nAlphaSubCycles 2;
        cAlpha          1;
        icAlpha        0;

        MULESCorr      yes;
        nLimiterIter    10;
        alphaApplyPrevCorr  yes;

        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance      1e-8;
        relTol          0;
        minIter        1;
    }

Does anybody have an idea about how to solve this?

piu58 March 23, 2018 09:09

This is far to less information. We need your case for telling something valuable.

kaaja March 23, 2018 09:22

1 Attachment(s)
Quote:

Originally Posted by piu58 (Post 686315)
This is far to less information. We need your case for telling something valuable.

Hi.
Maybe a picture can explain the case somewhat. The following shows my alpha, scaled from 1 to its max value (so the problem area shows easily)

Attachment 62304

It is a flow of two fluids in a tank, and there is an obstacle at the top.
The flow is going from right to left.

Edit: I might add that the phase equal to 1 is at the bottom, so the part that is larger than 1 comes from nowhere.

Maybe not relevant, but in case:
The top BC for U infront of the obstacle is "inletOutlet" with internalField. In practice only the zeroGradient part is activiated in this area, since the flow goes up. The rest of the top as slip BC. This is a result of lots of trial and error. Slip over the whole does not work (Get blowup at a single cell at the corner of the obstacle infront cloeses to the screenm which is a symmetryPlane side). Inlet outlet over the full top gave very strange results.


All times are GMT -4. The time now is 19:00.