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

boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2016, 07:11
Default boundary condition
  #1
New Member
 
Join Date: Apr 2016
Posts: 1
Rep Power: 0
saadouda is on a distinguished road
salut
i'm a user of OpenFOAM-2.4.0. i want to create a cylinder in a parallelepiped. and i want to use boundary condition, to represent a section of all the geometry, but i have problem;
cyclic cyclicRightAndLeft
(
(0 3 4 1)
(1 4 5 2)
(3 6 7 4)
(4 7 8 5)
(9 10 13 12)
(10 11 14 13)
(12 13 16 15)
(13 14 17 16)

there is no problem in paraFoam -block. but when i run paraFoam it give me:
Reading patches section
--> FOAM Warning :
From function blockMesh::createTopology(IOdictionary&)
in file blockMesh/blockMeshTopology.C at line 129
Old-style cyclic definition. Splitting patch cyclicRightAndLeft into two halves cyclicRightAndLeft_half0 and cyclicRightAndLeft_half1
Alternatively use new 'boundary' dictionary syntax.

in case of:
cyclic cyclicRightAndLeft-half0
{
type cyclic;
neighbourPatch cyclicRightAndLeft-half1;
faces
(
(0 3 4 1)
(1 4 5 2)
(3 6 7 4)
(4 7 8 5)
)
}

cyclic cyclicRightAndLeft-half1
{
type cyclic;
neighbourPatch cyclicRightAndLeft-half0;
faces
(
(9 10 13 12)
(10 11 14 13)
(12 13 16 15)
(13 14 17 16)
)
}

i got

Reading patches section


--> FOAM FATAL IO ERROR:
incorrect first token, expected '(', found on line 68 the punctuation token '{'

file: /home/pc/OpenFOAM/pc-2.4.0/run/tutorials/heatTransfer/buoyantSimpleFoam/cylindre/constant/polyMesh/blockMeshDict.patches at line 68.

From function operator>>(Istream&, List<T>&)
in file /home/openfoam/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/ListIO.C at line 132.

i replace '(', by '{': i got

Reading patches section


--> FOAM FATAL IO ERROR:
incorrect first token, expected <int> or '(', found on line 69 the word 'type'

file: /home/pc/OpenFOAM/pc-2.4.0/run/tutorials/heatTransfer/buoyantSimpleFoam/cylindre/constant/polyMesh/blockMeshDict.patches at line 69.

From function operator>>(Istream&, List<T>&)
in file /home/openfoam/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/ListIO.C at line 149.

so someone can help me. I will be very grateful
saadouda 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
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Accessing multiple boundary patches from a custom boundary condition file ripudaman OpenFOAM Programming & Development 0 October 22, 2014 18:34
Radiation interface hinca CFX 15 January 26, 2014 17:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44


All times are GMT -4. The time now is 19:56.