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

[blockMesh] Cycle Boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2012, 08:38
Default Cycle Boundary condition
  #1
New Member
 
Roman Gášpár
Join Date: Apr 2012
Posts: 8
Rep Power: 14
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


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Radiation interface hinca CFX 15 January 26, 2014 17:11
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00


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