|
[Sponsors] |
September 18, 2013, 22:37 |
Symmetry plane and errors
|
#1 |
New Member
You
Join Date: Sep 2013
Posts: 5
Rep Power: 13 |
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? Last edited by sherandlock; September 18, 2013 at 23:39. |
|
September 18, 2013, 23:42 |
Help
|
#2 |
New Member
You
Join Date: Sep 2013
Posts: 5
Rep Power: 13 |
Attached is my mesh.
I would appreciate your help very much! |
|
September 19, 2013, 07:23 |
|
#3 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
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; } } // ************************************************************************* // Hope this helps. P.S. Also take a look at this thread : http://www.cfd-online.com/Forums/ope...-cylinder.html |
|
September 19, 2013, 14:34 |
|
#4 |
New Member
You
Join Date: Sep 2013
Posts: 5
Rep Power: 13 |
Hi sasanghomi,
Thank you very much! I follow your instruction and have fixed the problem! Best regards Sherlock |
|
September 19, 2013, 23:22 |
|
#5 | |
New Member
You
Join Date: Sep 2013
Posts: 5
Rep Power: 13 |
Quote:
Is the top and down also type of wall in this case? I still get numerical problem and I set them all as wall |
||
September 20, 2013, 04:03 |
|
#6 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
Hi,
Yes , they are walls . your domain should be big.Paste the error command here. |
|
|
|
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 |