CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   simple geometry and potentialFoam? (http://www.cfd-online.com/Forums/openfoam/103629-simple-geometry-potentialfoam.html)

Tobi June 21, 2012 16:39

simple geometry and potentialFoam?
 
3 Attachment(s)
Hi all,

I have a problem with my project. I wanna make a combustion simulation with the flamelet solver but the solver is not working (no convergence - break down). So after that I decided to try it with the rhoSimpleFoam to get the flow field for the flamlet solver.

Here the solver is still not running and I wanted to initialise the field with the potentialFoam but there are just uncorrect physical solutions (U > 1e6). Well I changed the geometry and simplifyed it till I reached a simple pipe (picture).

But I cant initialise it with the potentialFoam and now i am wondering why? :(
Its for my masterthesis and I am working on that problem since last friday. I thought there is a problem with my OF version or sth like that on my workstation but at home there is the same problem.

Do someone have some ideas?
potentialFoam can initialise the rhoSimplecFoam tutorial so it should be possible to initialise that simple pipe.


Here my bc for U

Code:

dimensions      [0 1 -1 0 0 0 0];

internalField  uniform (0 0 0);

boundaryField
{
    inlet
    {
        type            flowRateInletVelocity;
        flowRate        constant 0.002;
        value          uniform (0 -0 0.389333);
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value          uniform (0 0 0);
    }
    wall
    {
        type            fixedValue;
        value          uniform (0 0 0);
    }
}

For p
Code:

dimensions      [0 2 -2 0 0 0 0];

internalField  uniform 1e5;

boundaryField
{
    outlet
    {
        type            fixedValue;
      value        uniform 1e5;
    }

    inlet
    {
        type            mixed;
        refValue        uniform 1e5;
        refGradient    uniform 0;
        valueFraction  uniform 0.3;
    }

    wall
    {
        type            zeroGradient;
    }


Hope for some help.
Thanks in advance
Tobi


PS: I solved complex 2phase simulations and now I am not able to solve that problem. I do not know if I should cry or laugh about that situation :D


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