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/)
-   -   Unstable Outlet Boundary Condition (https://www.cfd-online.com/Forums/openfoam-solving/236038-unstable-outlet-boundary-condition.html)

ConorMD May 11, 2021 05:33

Unstable Outlet Boundary Condition
 
4 Attachment(s)
Hello there,

Could someone please advise me about the problem I am facing as seen in the attached images?

There is clearly an error in the setting of the outlet boundary condition that is causing instability at the end of my simulation. It is ok for the majority for run. This error is also causing a general increase in overall pressure within the domain.

My geometry is a sufficient distance from the outlet.

Thanks,

See below my boundary conditions:

Velocity:
Code:


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

internalField  uniform (3.5 0 0);

boundaryField
{
inlet
{
        type            freestream;
        freestreamValue $internalField;
}

    outlet
    {
        type            freestream;
        freestreamValue $internalField;
    }

    ".*foil.*"
    {
        type            movingWallVelocity;
        value          uniform (0 0 0);
    }



"AMI.*"
{
    type  cyclicAMI;
    value  $internalField;
}

    top
    {
        type            slip;
    }

    bottom
    {
        type            slip;
    }

    "front.*"
    {
        type            slip;
    }

    "back.*"
    {
        type            slip;
    }
}

Pressure:
Code:

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

internalField  uniform 0;

boundaryField
{
    inlet
    {
        type            freestream;
        freestreamValue $internalField;
    }

    outlet
    {
        type            freestream;
        freestreamValue $internalField;
    }

    ".*foil.*"
    {
        type            zeroGradient;
    }
 
    top
    {
        type            slip;
    }

    bottom
    {
        type            slip;
    }

    "front.*"
    {
        type            slip;

    }

    "back.*"
    {
        type            slip;
    }

"AMI.*"
{
    type  cyclicAMI;
    value  $internalField;
}


}


dlahaye May 11, 2021 05:59

Please provide more details of what you are trying to accomplish.

ConorMD May 11, 2021 06:10

Sorry,

It is an external flow case of a wind turbine. I am using pimpleFoam. I am using an initial coarse timestep of 0.01. I will be seeking a max Courant number of 2 thereafter. Turbulence model is SA

I will be pressure mapping one of the foils for an FSI model. This error is causing an increase in pressure in the domain and thus is impacting this pressure map.


All times are GMT -4. The time now is 05:53.