Problem with cyclic boundary conditions in parallel
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. |
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 ); |
Quote:
It works. Thank you very much. |
1 Attachment(s)
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. Attachment 68179 |
All times are GMT -4. The time now is 02:15. |