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

Problem with cyclic boundary conditions in parallel

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By ChristianR1988

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2014, 09:36
Default Problem with cyclic boundary conditions in parallel
  #1
New Member
 
ttttoor
Join Date: Feb 2014
Posts: 10
Rep Power: 12
meng9019 is on a distinguished road
Hi, all
I am simulating a fluid flow in a periodic cylinder pipe using OpenFOAM.

The 0/U and 0/p files are set as following:

0/U
inlet
{
type cyclic;
value uniform (0 0 0);
}
outlet
{
type cyclic;
value uniform (0 0 0);
}
wall
{
type fixedValue;
value uniform (0 0 0);
}

0/p
inlet
{
type fan;
patchType cyclic;
f List 1 (-0.0128);
value uniform 0;
}
outlet
{
type fan;
patchType cyclic;
f List 1 (-0.0128);
value uniform 0;
}
wall
{
type zeroGradient;
}

It works well.
But when I run the simulation in parallel, the pressure field and the velocity field become zero in the first time step.

Do you have any idea for the reason? Thanks in advance.
meng9019 is offline   Reply With Quote

Old   March 4, 2014, 11:26
Default
  #2
New Member
 
Christian
Join Date: Nov 2013
Posts: 7
Rep Power: 13
ChristianR1988 is on a distinguished road
are you running the cyclic-patches on the same processor?i think you can fix the by editing the decomposition-file.

for example:

method simple;

preservePatches
(
LEFT
RIGHT
);
fumiya, ingarcia1703 and xinsui178 like this.
ChristianR1988 is offline   Reply With Quote

Old   March 6, 2014, 04:04
Default
  #3
New Member
 
ttttoor
Join Date: Feb 2014
Posts: 10
Rep Power: 12
meng9019 is on a distinguished road
Quote:
Originally Posted by ChristianR1988 View Post
are you running the cyclic-patches on the same processor?i think you can fix the by editing the decomposition-file.

for example:

method simple;

preservePatches
(
LEFT
RIGHT
);
Hello, Christian
It works. Thank you very much.
meng9019 is offline   Reply With Quote

Old   February 5, 2019, 10:11
Default
  #4
Senior Member
 
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 133
Rep Power: 10
kk415 is on a distinguished road
Hello


I am working with cyclic boundary condition as well. The test case I am solving is a static bubble in a quiescent flow. It is a 2D case with all sides periodic i.e. left,right,top,bottom all. I am getting unphysical velocities at corners in parallel run after doing the modification as suggested Christian.
U.jpg
kk415 is offline   Reply With Quote

Reply

Tags
cyclic boundary, openfoam, parallel


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
cyclic boundary conditions and moveMesh gtg258f OpenFOAM 2 November 21, 2013 10:13
Boundary Conditions problem o_mars_2010 Main CFD Forum 2 July 8, 2013 03:10
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
snnappyHexMesh with cyclic boundary conditions longamon OpenFOAM 2 May 9, 2011 13:28
Cyclic boundary conditions in parallel thibault_pringuey OpenFOAM Bugs 1 April 2, 2011 16:21


All times are GMT -4. The time now is 17:03.