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

Wall boundary is ignored when using wedge

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2010, 06:58
Default Wall boundary is ignored when using wedge
  #1
New Member
 
Join Date: Apr 2010
Posts: 2
Rep Power: 0
Wedge is on a distinguished road
Hi,

I have build a nozzle using the wedge method.
It also looks like it is supposed to.
But when I run the case and view it in paraview it looks like the wall boundary gets ignored.
I am not sure if it is a visualization problem or if also openfoam ignores it. It seems to happen everytime I use wedge for creating cases.
If I use a tinier grid at the wall the velocity goes down but it doesn reach zero.
Maybe someone of you knows this situation and can help.problem
Code:
/*--------------------------------*- C++ -*----------------------------------*\ 
| =========                 |                                                 | 
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           | 
|  \\    /   O peration     | Version:  1.5                                   | 
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               | 
|    \\/     M anipulation  |                                                 | 
\*---------------------------------------------------------------------------*/ 
FoamFile 
{ 
    version     2.0; 
    format      ascii; 
    class       dictionary; 
    object      blockMeshDict; 
} 
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 
 
convertToMeters 0.001; 
 
vertices 
( 
    ( -200.00   299.71    13.09) //  0 inlet top 1 
    ( -200.00   299.71   -13.09) //  1 inlet top 2 
    ( -200.00     0.00     0.00) //  2 tip 
    (    0.00   299.71    13.09) //  3 nozzle inlet top 1 
    (    0.00   299.71   -13.09) //  4 nozzle inlet top 2 
    (    0.00     0.00     0.00) //  5 tip 
    (  660.00    94.91     4.14) //  6 nozzle outlet top 1 
    (  660.00    94.91    -4.14) //  7 nozzle outlet top 2 
    (  660.00     0.00     0.00) //  8 tip 
    ( 1000.00    94.91     4.14) //  9 outlet top 1 
    ( 1000.00    94.91    -4.14) // 10 outlet top 2 
    ( 1000.00     0.00     0.00) // 11 tip 
); 
 
edges 
( 
 
); 
 
blocks           
( 
    //before nozzle 
    hex (2 5 4 1 2 5 3 0) (15 20 1) simpleGrading (1 0.1 1) 
    //nozzle 
    hex (5 8 7 4 5 8 6 3) (73 20 1) simpleGrading (0.3333 0.1 1) 
    //after nozzle 
    hex (8 11 10 7 8 11 9 6) (70 20 1) simpleGrading (1 0.1 1) 
); 
 
patches 
( 
    wall SURF_WALL 
    ( 
        (0 3 4 1) 
        (3 6 7 4) 
        (6 9 10 7) 
    ) 
    symmetryPlane AXIS  
    ( 
        (2 5 5 2) 
        (5 8 8 5) 
        (8 11 11 8) 
    ) 
    patch SURF_INFLOW 
    ( 
        (2 2 1 0) 
    ) 
    patch SURF_OUTFLOW 
    ( 
        (11 11 9 10) 
    ) 
    wedge SURF_BACK 
    ( 
        (2 1 4 5) 
        (5 4 7 8) 
        (8 7 10 11) 
    ) 
    wedge SURF_FRONT 
    ( 
        (2 5 3 0) 
        (5 8 6 3) 
        (8 11 9 6) 
    ) 
); 
 
mergePatchPairs 
( 
); 
 
// ************************************************************************* //
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.6                                   |
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform (0 0 0);

boundaryField
{
    SURF_INFLOW
    {
        type            fixedValue;
        value           uniform (50 0 0);
    }

    SURF_OUTFLOW
    {
    type        zeroGradient;
    }

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

    SURF_FRONT
    {
        type            wedge;
    }

    SURF_BACK
    {
        type            wedge;
    }

    AXIS
    {
        type            symmetryPlane;
    }
}

// ************************************************************************* //
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.6                                   |
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform 0;

boundaryField
{
    SURF_INFLOW
    {
        type            zeroGradient;
    }

    SURF_OUTFLOW
    {
        type            fixedValue;
        value           uniform 0;
    }

    SURF_WALL
    {
        type            zeroGradient;
    }

    SURF_FRONT
    {
        type            wedge;
    }

    SURF_BACK
    {
        type            wedge;
    }

    AXIS
    {
        type            symmetryPlane;
    }
}

// ************************************************************************* //




Wedge is offline   Reply With Quote

Old   February 7, 2011, 07:20
Default same problem
  #2
New Member
 
Join Date: Jul 2010
Posts: 10
Rep Power: 16
noramat is on a distinguished road
hello, i have exactly the same problem. Did you already find a solution? Thanks noramat
noramat 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
isothermal wall boundary condition Neil Main CFD Forum 3 November 9, 2015 03:34
Heat Flux Wall Boundary Confusion. Joee FLUENT 1 August 21, 2010 13:20
moving and slip wall boundary hongchun FLUENT 4 July 9, 2010 12:29
CFX doesn't continue calculation... mactech001 CFX 6 November 15, 2009 22:25
Wall Boundary Condition in k - epsilon model abhijeet vaidya Main CFD Forum 0 July 14, 2002 04:18


All times are GMT -4. The time now is 02:49.