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

Newbie help: IcoFoam air duct

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2019, 09:11
Default Newbie help: IcoFoam air duct
  #1
New Member
 
Victor
Join Date: Mar 2019
Posts: 5
Rep Power: 7
Victor3 is on a distinguished road
Hi!

I'm trying to teach myself openFoam. I've been running a simple simulation using icoFoam. I want to simulate air going in at 4m/s at one end and then see the flow trough two outputs at atmospheric pressure. This should be a top view if that matters.

I've attaced a link showing my results. Can any one spot my mistake(s)? The animation looks pretty weird to me.


Video (real time):
https://betamax.video/videos/watch/1...6-4432c8b4503f



Please tell me if you need more information.



!PS bonus question How would I model a damper at one of the outlets?


transportProperties:

nu [0 2 -1 0 0 0 0] 0.000015;

p:
Code:
dimensions      [0 2 -2 0 0 0 0];
internalField   uniform 0;
boundaryField
{
    wall-4
    {
        type            zeroGradient;
    }

    velocity-inlet-5
    {
        type            zeroGradient;
    }

    velocity-inlet-6
    {
        type            fixedValue;
        value           uniform 0;
    }

    pressure-outlet-7
    {
        type            fixedValue;
        value           uniform 0;
    }

    wall-8
    {
        type            zeroGradient;
    }

    frontAndBackPlanes
    {
        type            empty;
    }
}
U:
Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    wall-4
    {
        type            noSlip;
    }

    velocity-inlet-5
    {
        type            fixedValue;
        value           uniform (-4 0 0);
    }

    velocity-inlet-6
    {
        type            zeroGradient;
    }

    pressure-outlet-7
    {
        type            zeroGradient;
    }

    wall-8
    {
        type            noSlip;
    }

    frontAndBackPlanes
    {
        type            empty;
    }
}
Victor3 is offline   Reply With Quote

Reply

Tags
#icofoam, #newbie, #openfoam


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
Air entrainment model setup for spillway oajor FLOW-3D 4 November 17, 2016 13:02
CFD analysis on wind turbine rotor Ken (Wind Turbine CFD Super Rookie) Main CFD Forum 45 February 9, 2016 15:07
air duct jlewenko STAR-CCM+ 0 May 11, 2011 10:54
TRANSIENT HEAT & BOUYANCY IN CONFINED AIR Carl CFX 1 September 25, 2006 10:48
HELP!!! Indoor air flow pattern Peter Zhang Main CFD Forum 4 November 3, 1999 03:49


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