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

boundary condition

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

Reply
 
LinkBack Thread Tools 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

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
Centrifugal fan j0hnny CFX 12 January 7, 2016 03:44
sliding mesh problem in CFX Saima CFX 45 September 22, 2015 10:53
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 18:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44


All times are GMT -4. The time now is 08:16.