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

Cycle Boundary condition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 15, 2012, 08:38
Default Cycle Boundary condition
  #1
New Member
 
Roman Gášpár
Join Date: Apr 2012
Posts: 6
Rep Power: 5
roman.gaspar is on a distinguished road
Hello Foamers.
Can anybody explain me how that cyclic BC work. I read the user guide, internet and looked through some tutorials in OF how it works, but if I want to use it does'n works... May i miss some important part from tutorials (e.g. dnsFoam) and i try to realize it,but... I try to make a simple geometry by blockMesh...code is bottom...blockMesh works, but if I open it paraFoam, I dont see the hole geometry. Can anybody explain me what kind of mistake I do?
Thanks for your time...regards
Roman
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

vertices
(


    (0 0 0) //cylinder
    (6.03 0 110.3)
    (60.37 0 92.5)
    (0 45 0)
    (6.03 45 110.3)
    (60.37 45 92.5)


    (6.03 0 110.3) // big blade
    (7.03 0 110.3)
    (1 0 212.5)
    (0 0 212.5)
    (6.03 45 110.3)
    (7.03 45 110.3)
    (1 45 212.5)
    (0 45 212.5)

    (64.11 0 135.6) // Small blade
    (65.1 0 135.4)
    (56 0 205)
    (55 0 205)
    (64.11 45 135.6)
    (65.1 45 135.4)
    (56 45 205)
    (55 45 205)

);

blocks
(
    hex (0 2 1 0 3 5 4 3) (20 10 1) simpleGrading (1 1 1)
    hex (6 9 8 7 10 13 12 11) (20 1 1) simpleGrading (1 1 1)
    hex (14 17 16 15 18 21 20 19) (20 1 1) simpleGrading (1 1 1)
   
);

edges
(
    arc 1 2 (28.60 0 106.73)
    arc 4 5 (28.60 45 106.73)

    arc 6 9 (27.76 0 161)
    arc 7 8 (28.76 0 161)

    arc 10 13 (27.76 45 161)
    arc 11 12 (28.76 45 161)

    arc 14 17 (68.5 0 148.3)
    arc 15 16 (69.4 0 148.1)
    arc 18 21 (68.5 45 148.3)
    arc 19 20 (69.4 45 148.1)
  );

boundary
(
     front
     { 
           type 	  cyclic; 
           neighbourPatch back;
           faces  
           (
               (0 1 4 3)


           );
      }

     back
     { 
           type 	  cyclic; 
           neighbourPatch front;
           faces  
           (
               (0 3 5 2)

           );
      }

);

mergePatchPairs
(

);
roman.gaspar 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
Can anyone give me some hint on how to make traction free boundary condition? poplar OpenFOAM 3 January 14, 2015 03:37
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 05:05
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 04:23
Domain Imbalance HMR CFX 3 March 6, 2011 21:10
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 12:44


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