CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

cyclic multiedge BC

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 16, 2010, 03:26
Default cyclic multiedge BC
  #1
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 32
Rep Power: 8
karamiag is on a distinguished road
Hi guys,
I have a 2D mesh made with gambit and I have to set periodicity between inlet and outlet but both of them have more then one edge (in gambit). Using fluentMeshToFoam works if inlet and outlet have only one edge but if there is more than one it does not : in particular runnning checkMesh I receive the "possible face ordering problem" message.
Any one has already solved this problem?
Thanks
karamiag is offline   Reply With Quote

Old   June 30, 2010, 11:24
Default
  #2
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 32
Rep Power: 8
karamiag is on a distinguished road
Ok, it worked and this is what I have done. I had a domain like this

L3 |-------| R3
L2 |-------| R2
L1 |-------| R1

With createPatch utility, I merged edge L1 and L2 obtaining a single generic patch called L1L2, after this I merged edge L1L2 and L3 obtaining a single patch called L1L2L3; the same on the other hand, obtaining a single patch called R1R2R3. After this, I used createPatch utility to make L1L2L3 periodic with R1R2R3.
This is createPatchDict file for merging L1 and L2:

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object createPatchDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
matchTolerance 1E-7;
pointSync true;

patches
(
{
name L1L2;
type patch;

dictionary
{
type patch;
}

constructFrom patches;

patches (L1 L2);
}
);


This is my final createPatchDict file:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object createPatchDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
matchTolerance 1E-7;
pointSync true;

patches
(
{
name period;
type cyclic;

dictionary
{
type cyclic;
}

constructFrom patches;

patches (L1L2L3 R1R2R3);
}
);

Hope this can help.
Bye
karamiag 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
How to setup cyclic BCs in simpleFOAM hhuang84 OpenFOAM Running, Solving & CFD 12 July 16, 2012 07:01
Face ordering problem for nonrectangular cyclic boundary conditions cfdmarkus OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 3 August 17, 2011 15:07
Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 June 18, 2011 04:36
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08
Cyclic specification boger OpenFOAM Running, Solving & CFD 0 February 8, 2009 15:17


All times are GMT -4. The time now is 23:18.