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

RhoPimpleFOAM: Wind Tunnel Results Oscillate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2019, 06:26
Default RhoPimpleFOAM: Wind Tunnel Results Oscillate
  #1
New Member
 
Mustafa
Join Date: Jun 2015
Location: Aachen
Posts: 26
Rep Power: 11
stamufa is on a distinguished road
Hey Foamers,


I was testing out the rhoPimpleFoam solver and I made a simple wind tunnel box. I'm curious why the solution diverges, and the residuals oscillate wildly.



The problem is severe for lower velocities. The oscillation stops when I set the initial U to 1, but the pressure residual is very high. I can reason with that because compressible solvers probably don't do so well at lower Ma values (well, what I do know for sure is that they are slower, I'm not sure if they are unstable too).



Velocity



Code:
Uinlet          (100 0 0);

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

internalField   uniform (0 0 0);

boundaryField
{
    left
    {
        type            fixedValue;
        value           uniform $Uinlet;
    }

    right
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value           uniform (10 0 0);
    }

    bottom
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }

    top
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }

   back
    {
        type            symmetryPlane;
    }

   front
    {
        type            symmetryPlane;
    }

    #includeEtc "caseDicts/setConstraintTypes"
}

Pressure

Code:
dimensions      [1 -1 -2 0 0 0 0];

internalField   uniform 1e5;

boundaryField
{

  left
    {
        type            zeroGradient;
    }

    right
    {  type            fixedValue;
        value           $internalField;
       
    }

    bottom
    {
        type            zeroGradient;
    }

    top
    {
        type            zeroGradient;
    }

   back
    {
        type            symmetryPlane;
    }

   front
    {
        type            symmetryPlane;
    }

    #includeEtc "caseDicts/setConstraintTypes"
}


Are there any errors that are obvious?
Attached Images
File Type: png residuals.PNG (42.7 KB, 21 views)
stamufa is offline   Reply With Quote

Old   May 22, 2019, 04:14
Default
  #2
Member
 
Henrik Johansson
Join Date: Oct 2017
Location: Gothenburg
Posts: 38
Rep Power: 9
HenrikJohansson is on a distinguished road
Hi Mustafa,

For your velocity outlet you could try the pressureInletOutletVelocity B.C.
Why have you set the inital value of your outlet to (10 0 0)? Should it not be (0 0 0)?

What schemes are you using?
__________________
/ Henrik Johansson
HenrikJohansson 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
Why wind tunnel experiment and CFD domain are different? misospider OpenFOAM 1 February 6, 2017 05:31
Wind Tunnel boundary conditions kebsiali OpenFOAM Running, Solving & CFD 0 August 15, 2016 08:08
Matching CFD results and wind tunnel testing huskerwong Main CFD Forum 0 July 16, 2009 15:24
Wind Tunnel Website now online Mike Worthey Main CFD Forum 0 June 6, 2000 03:27
wind tunnel correction Arthur Chen Main CFD Forum 2 September 4, 1998 19:42


All times are GMT -4. The time now is 18:04.