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

[Technical] Application of cyclic patches

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2005, 15:09
Default Application of cyclic patches
  #1
New Member
 
Klaus Wittig
Join Date: Mar 2009
Posts: 20
Rep Power: 17
klaus is on a distinguished road
Dear OpenFoam friends,

can somebody tell me if i can use the boundary type "cyclic" for 3D
axi-symmetic cases. I know that there is the "wedge" type, but this is only
for 2D. Please see the scetch for clarification. Or is there some other way?



Greetings,
Klaus
klaus is offline   Reply With Quote

Old   August 8, 2005, 15:27
Default Yes you can and should use "cy
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Yes you can and should use "cyclic" for this case.
henry is offline   Reply With Quote

Old   December 9, 2005, 15:23
Default Dear WonderFoam friends! Pl
  #3
Member
 
Wladimyr Mattos da Costa Dourado
Join Date: Mar 2009
Location: Sao Jose dos Campos, SP, Brazil
Posts: 36
Rep Power: 17
mattos is on a distinguished road
Send a message via Skype™ to mattos
Dear WonderFoam friends!

Please, I need some help.
1) Case:
I'm testing a very simple axi-symmetric teste case. It's a sector of a cylinder with 50 mm of radius and 300 mm long. The angle is 15 degree because the converter crashes announcing very small angle between the faces when I define a 5 deg sector. And the mesh have only one division in the circumferencial direction, as explained in the UG man. The front and back planes are imposed as imposed as wedge type BC and all fluid properties (U T p etc) connected with these patches have been their BC type assigned as "wedge".

The velocity at inlet has their value assined as "(1 0 0.5)" bacause U would like to test if Foam is able to capture the swirl effect. In the Paraview visualisation, the calculations do not present the velocity vectors with circumferential components (They are zero).

Q1: Why can't I see the circumferential component velocity?

Q2: Should I do something more to have the circumferential velocity?

However, I just checked my lastTime U file and the Z component velocity is prsent and amost equal to the inlet values. Is it related with paraFoam limitations?

Q3: What the minimum angle allowed to the edge in order to have success in the checkmesh and mesh converter? (I read the previous discussion in the board.)

Q4: This is a stupid question and out of scope of this topic, but I need! How can us to attach a file or picture in this message board?

Many Tanks in advance for your help!

Wladimyr
mattos is offline   Reply With Quote

Old   December 9, 2005, 15:26
Default Dear WonderFoam friends! Pl
  #4
Member
 
Wladimyr Mattos da Costa Dourado
Join Date: Mar 2009
Location: Sao Jose dos Campos, SP, Brazil
Posts: 36
Rep Power: 17
mattos is on a distinguished road
Send a message via Skype™ to mattos
Dear WonderFoam friends!

Please, I need some help.
1) Case:
I'm testing a very simple axi-symmetric teste case. It's a sector of a cylinder with 50 mm of radius and 300 mm long. The angle is 15 degree because the converter crashes announcing very small angle between the faces when I define a 5 deg sector. And the mesh have only one division in the circumferencial direction, as explained in the UG man. The front and back planes are imposed as imposed as wedge type BC and all fluid properties (U T p etc) connected with these patches have been their BC type assigned as "wedge".

The velocity at inlet has their value assined as "(1 0 0.5)" bacause U would like to test if Foam is able to capture the swirl effect. In the Paraview visualisation, the calculations do not present the velocity vectors with circumferential components (They are zero).

Q1: Why can't I see the circumferential component velocity?

Q2: Should I do something more to have the circumferential velocity?

However, I just checked my lastTime U file and the Z component velocity is prsent and amost equal to the inlet values. Is it related with paraFoam limitations?

Q3: What the minimum angle allowed to the edge in order to have success in the checkmesh and mesh converter? (I read the previous discussion in the board.)

Q4: This is a stupid question and out of scope of this topic, but I need! How can us to attach a file or picture in this message board?

Many Tanks in advance for your help!

Wladimyr
mattos is offline   Reply With Quote

Old   April 23, 2007, 17:36
Default I have an axisymmetric geometr
  #5
New Member
 
Steffen Jahnke
Join Date: Mar 2009
Posts: 14
Rep Power: 17
steja is on a distinguished road
I have an axisymmetric geometry, i.e. a blade passage where I want to use cyclics for the BC of the rotational periodicity. My problem is, that the faceList of both cyclic patches is not numbered in the way OF needs it.

So, I wonder if there is a simple possibility to perform the mapping of both non-planar patches which are defined by one rotation about a coordinate axis and thus define the renumbering with the 1-to-1 mapping. I know that couplePatches is not able to handle this problem because the patches are not planar.

1)
Could you point me to some effective coding in order to get the correct faceList by mapping the one patch to the other with some tolerance and a predefined rotation.
The transformation is not the problem, but what mesh manipulation methods are available to handle the numbering of the faceList?

2) Is it enough to reorder the faceList or are there further connections I have to think about?

Thanks for your answers/help
steja is offline   Reply With Quote

Old   April 24, 2007, 10:43
Default Looking into the code of coupl
  #6
New Member
 
Steffen Jahnke
Join Date: Mar 2009
Posts: 14
Rep Power: 17
steja is on a distinguished road
Looking into the code of couplePatches & cyclicPolyPatch I found that maybe for none-planar rotational cyclics instead of using n0 and n1 to define the rotation tensor it might be a solution to simply define the rotation tensor manually because it is known for such configurations.

Thus it is not necessary to have planar cyclics. Can someone comment on this.
steja is offline   Reply With Quote

Old   January 16, 2008, 13:22
Default I have been having problems wi
  #7
New Member
 
Robert Magnan
Join Date: Mar 2009
Location: Varennes, Quebec, Canada
Posts: 4
Rep Power: 17
rmagnan is on a distinguished road
I have been having problems with some Foam meshes imported through CGNS. These meshes have (rotational) cyclic patches and their faceList are defined in the proper order (face i matches face n/2+i). However, I found that some Foam classes (see globalPoints and cyclicPolyPatch) also requires that the first vertex of each face matches the first vertex of its corresponding face. When this requirement is not met, checkMesh does not complain, almost everything in Foam works fine but I get bad results from paraFoam and volPointInterpolation.

I would like to know if this vertex ordering is actually a requirement on Foam meshes or should that be taken care of "on the fly" within Foam when loading a mesh.

Thanks for your help.
rmagnan is offline   Reply With Quote

Old   January 17, 2008, 15:35
Default It is a requirement for anythi
  #8
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
It is a requirement for anything 'to do with points' (e.g. volPointInterpolation, mesh motion).

Take 1.4.1 'couplePatches', replace line 107 with meshChanged=true. (since operator= of face does not detect rotation of the vertices)

See if running that couplePatches helps.
mattijs is offline   Reply With Quote

Old   January 17, 2008, 18:59
Default Great! Yes, this solves my pro
  #9
New Member
 
Robert Magnan
Join Date: Mar 2009
Location: Varennes, Quebec, Canada
Posts: 4
Rep Power: 17
rmagnan is on a distinguished road
Great! Yes, this solves my problem.
However, isn't this sort of thing something which should be done on the fly when reading a mesh with cyclics? Especially, if the mechanics to do it is already in there.

Many thanks
rmagnan is offline   Reply With Quote

Old   January 18, 2008, 04:28
Default > which should be done .. P
  #10
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
> which should be done ..

Pro: it does not change the mesh. No addressing changes apart from the start of the face.
Against: it can fail. It uses a geometric tolerance on point locations. Also it is reasonably time consuming and would need to be done every time the mesh gets loaded.
mattijs is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using AMI vinz OpenFOAM Running, Solving & CFD 298 November 13, 2023 08:19
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 08:00
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
Possible createPatch/createBaffles bug? simpomann OpenFOAM Bugs 2 July 15, 2014 07:07
Cyclic boundary conditions - not parallel patches Villo OpenFOAM Running, Solving & CFD 3 July 14, 2014 22:50


All times are GMT -4. The time now is 22:38.