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

Cyclic Boundary creation, what's the meaning of "separationVector"

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2010, 11:13
Default Cyclic Boundary creation, what's the meaning of "separationVector"
  #1
Senior Member
 
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 16
panda60 is on a distinguished road
Dear all.
I want to creat cyclic boundary using a pair of patches in lateral.
I want to do channel flow simulation, my wind comes from left.
So I think my cyclic boundary should be translational, not rotational.
But I don't know the meaning of separationVector , how should I set this vector when generating cyclic boundary . who can give me a explanation, Thanks.

patches
(
{
// Name of new patch
name CYCLIC;
// Type of new patch
dictionary
{
type cyclic;
transform translational;
separationVector (0 1 0);
}
constructFrom patches;
patches (CYCLIC_LEFT CYCLIC_RIGHT);
}
);
Attached Images
File Type: jpg 未标题-1.jpg (43.6 KB, 68 views)
panda60 is offline   Reply With Quote

Old   April 9, 2023, 01:17
Default
  #2
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
sinatahmooresi is on a distinguished road
Quote:
Originally Posted by panda60 View Post
Dear all.
I want to creat cyclic boundary using a pair of patches in lateral.
I want to do channel flow simulation, my wind comes from left.
So I think my cyclic boundary should be translational, not rotational.
But I don't know the meaning of separationVector , how should I set this vector when generating cyclic boundary . who can give me a explanation, Thanks.

patches
(
{
// Name of new patch
name CYCLIC;
// Type of new patch
dictionary
{
type cyclic;
transform translational;
separationVector (0 1 0);
}
constructFrom patches;
patches (CYCLIC_LEFT CYCLIC_RIGHT);
}
);
Hello Jiang,

I have the same problem in finding the definition of separationVector. Did you find out?


Thanks,

Sina
sinatahmooresi is offline   Reply With Quote

Old   April 11, 2023, 07:03
Default
  #3
Senior Member
 
Join Date: Dec 2021
Posts: 195
Rep Power: 4
Alczem is on a distinguished road
Hello,


I believe it is the vector from cyclic patch to the other patch. So for instance, if you had two cyclic patches behaving as an inlet and outlet for a 1 meter long channel simulation in the X direction, you should type separationVector (1 0 0) and separationVector (-1 0 0) for the inlet and outlet.


Hope you figure it out
Alczem is offline   Reply With Quote

Old   April 11, 2023, 13:50
Default
  #4
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
sinatahmooresi is on a distinguished road
Hello Alczem,


Thank you for your response. I have a question regarding the "translational" option in the cyclic boundary condition in OpenFOAM. Specifically, I am wondering why it is necessary to use this option. When I apply the "cyclic" boundary condition without "translational", I get the same results as when I use it. My goal is to model a pipe flow with fully developed turbulence at the end of the pipe, which will then be released as a jet flow into a receiving domain such as a tank. To achieve this, I am using cyclic boundary conditions at the inlet and outlet of the pipe. However, my results show a fully developed laminar condition, with the maximum center value twice the inlet average. I am unsure why this is happening and would appreciate any insight you could offer.


Thank you,
Sina
sinatahmooresi is offline   Reply With Quote

Old   April 12, 2023, 04:27
Default
  #5
Senior Member
 
Join Date: Dec 2021
Posts: 195
Rep Power: 4
Alczem is on a distinguished road
Hey,


I don't use this condition too often, so I cannot point you in the right direction easily. Can you share your case? It might help someone diagnose the issue


Off the top of my mind, did you make sure your two cyclic faces are identical (same number of faces, same geometry etc)? The cyclic type works only with conformal patches (identical patches, only at different locations). If it is not the case, you might want to look into the ACMI patches I think.
Alczem is offline   Reply With Quote

Old   April 12, 2023, 18:51
Default
  #6
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
sinatahmooresi is on a distinguished road
Hello Alczem,


I'de be happy to share the case. I should mention that I made some changes to my solver (pimpleFoam) to be non-dimensional. Thus, the viscosity is changed and the every filed value is turned to unity at the inlet. How can I share the case here. looks like it is not easy to upload files larger than 100KB.



Sina
sinatahmooresi 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
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 06:58
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
how does the fluent treat the cyclic boundary ztdep FLUENT 0 October 18, 2005 09:54
cyclic boundary conditions.. Zerrin Siemens 0 June 11, 2005 14:49
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 02:54


All times are GMT -4. The time now is 07:47.