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

Symmetry plane and errors

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 18, 2013, 21:37
Default Symmetry plane and errors
  #1
New Member
 
You
Join Date: Sep 2013
Posts: 5
Rep Power: 3
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, 36 views)

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

Old   September 18, 2013, 22:42
Default Help
  #2
New Member
 
You
Join Date: Sep 2013
Posts: 5
Rep Power: 3
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, 31 views)
File Type: png mesh3.PNG (53.4 KB, 31 views)
sherandlock is offline   Reply With Quote

Old   September 19, 2013, 06:23
Default
  #3
Senior Member
 
Sasan Ghomi
Join Date: Sep 2012
Location: Iran - Tehran
Posts: 185
Rep Power: 4
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, 13:34
Default
  #4
New Member
 
You
Join Date: Sep 2013
Posts: 5
Rep Power: 3
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, 22:22
Default
  #5
New Member
 
You
Join Date: Sep 2013
Posts: 5
Rep Power: 3
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, 03:03
Default
  #6
Senior Member
 
Sasan Ghomi
Join Date: Sep 2012
Location: Iran - Tehran
Posts: 185
Rep Power: 4
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

Thread Tools
Display Modes

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 On
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 10:31
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 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 01:31


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