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

Symmetry plane and errors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2013, 22:37
Default Symmetry plane and errors
  #1
New Member
 
You
Join Date: Sep 2013
Posts: 5
Rep Power: 13
sherandlock is on a distinguished road
I am running a cylinder flow case with icofoam. In the tutorial, it gives a symmetry problem. But now I am running the whole geometry. I set the top and bottom boundary as symmetry plane as in the tutorial. But I got a time step continuity error.

I am a starter for Openfoam and I don't know how to set the boundary conditions in this case. could someone enlighten me on the boundary condition a little bit?
Attached Images
File Type: png Sememtry plane.PNG (8.0 KB, 89 views)

Last edited by sherandlock; September 18, 2013 at 23:39.
sherandlock is offline   Reply With Quote

Old   September 18, 2013, 23:42
Default Help
  #2
New Member
 
You
Join Date: Sep 2013
Posts: 5
Rep Power: 13
sherandlock is on a distinguished road
Attached is my mesh.

I would appreciate your help very much!
Attached Images
File Type: jpg mesh2.jpg (90.4 KB, 58 views)
File Type: png mesh3.PNG (53.4 KB, 52 views)
sherandlock is offline   Reply With Quote

Old   September 19, 2013, 07:23
Default
  #3
Senior Member
 
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15
sasanghomi is on a distinguished road
Hi ,

I have done this simulation. Correct your boundary conditions as follow :

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM Extend Project: Open Source CFD        |
|  \\    /   O peration     | Version:  1.6-ext                               |
|   \\  /    A nd           | Web:      www.extend-project.de                 |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform 0;

boundaryField
{
    cylinder
    {
        type            zeroGradient;
    }

    //up
    shadow-6
    {
        type            zeroGradient;
    }

    //down
    periodic
    {
        type            zeroGradient;
    }

    inlet
    {
        type            zeroGradient;
    }

    outlet
    {
        type            fixedValue;
        value            uniform 0;
    }
    frontAndBackPlanes
    {
        type            empty;
    }
    
}

// ************************************************************************* //
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM Extend Project: Open Source CFD        |
|  \\    /   O peration     | Version:  1.6-ext                               |
|   \\  /    A nd           | Web:      www.extend-project.de                 |
|    \\/     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
{
    cylinder
    {
        type            fixedValue;
        value            uniform (0 0 0);

    }

    //up
    shadow-6
    {
        type            fixedValue;
        value            uniform (0 0 0);
    }

    //down
    periodic
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }

    inlet
    {
        type            fixedValue;
        value           uniform (1 0 0);
    }

    outlet
    {
        type            zeroGradient;
    }
    frontAndBackPlanes
    {
        type            empty;
    }
      
}

// ************************************************************************* //
The boundary of circular cylinder is wall It is Not symmetry !!!

Hope this helps.

P.S. Also take a look at this thread :
http://www.cfd-online.com/Forums/ope...-cylinder.html
sasanghomi is offline   Reply With Quote

Old   September 19, 2013, 14:34
Default
  #4
New Member
 
You
Join Date: Sep 2013
Posts: 5
Rep Power: 13
sherandlock is on a distinguished road
Hi sasanghomi,

Thank you very much!

I follow your instruction and have fixed the problem!

Best regards

Sherlock
sherandlock is offline   Reply With Quote

Old   September 19, 2013, 23:22
Default
  #5
New Member
 
You
Join Date: Sep 2013
Posts: 5
Rep Power: 13
sherandlock is on a distinguished road
Quote:
Originally Posted by sasanghomi View Post
Hi ,

I have done this simulation. Correct your boundary conditions as follow :

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM Extend Project: Open Source CFD        |
|  \\    /   O peration     | Version:  1.6-ext                               |
|   \\  /    A nd           | Web:      www.extend-project.de                 |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform 0;

boundaryField
{
    cylinder
    {
        type            zeroGradient;
    }

    //up
    shadow-6
    {
        type            zeroGradient;
    }

    //down
    periodic
    {
        type            zeroGradient;
    }

    inlet
    {
        type            zeroGradient;
    }

    outlet
    {
        type            fixedValue;
        value            uniform 0;
    }
    frontAndBackPlanes
    {
        type            empty;
    }
    
}

// ************************************************************************* //
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM Extend Project: Open Source CFD        |
|  \\    /   O peration     | Version:  1.6-ext                               |
|   \\  /    A nd           | Web:      www.extend-project.de                 |
|    \\/     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
{
    cylinder
    {
        type            fixedValue;
        value            uniform (0 0 0);

    }

    //up
    shadow-6
    {
        type            fixedValue;
        value            uniform (0 0 0);
    }

    //down
    periodic
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }

    inlet
    {
        type            fixedValue;
        value           uniform (1 0 0);
    }

    outlet
    {
        type            zeroGradient;
    }
    frontAndBackPlanes
    {
        type            empty;
    }
      
}

// ************************************************************************* //
The boundary of circular cylinder is wall It is Not symmetry !!!

Hope this helps.

P.S. Also take a look at this thread :
http://www.cfd-online.com/Forums/ope...-cylinder.html
Hi, Sasan,

Is the top and down also type of wall in this case?

I still get numerical problem and I set them all as wall
sherandlock is offline   Reply With Quote

Old   September 20, 2013, 04:03
Default
  #6
Senior Member
 
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15
sasanghomi is on a distinguished road
Hi,
Yes , they are walls . your domain should be big.Paste the error command here.
sasanghomi 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
DSMC errors at inflow and outflow boundary wenjie OpenFOAM 5 February 21, 2013 00:27
Numerical errors in nested domain with pre-calculated boundary values Arnoldinho OpenFOAM Running, Solving & CFD 3 April 4, 2012 11:31
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
pipe flow with heat transfer Fabian OpenFOAM 2 December 12, 2009 05:53
Could someone please assist? Plane Waves Bob Main CFD Forum 8 April 11, 2007 02:31


All times are GMT -4. The time now is 20:07.