

How to put pressure when using cyclic boundary condition
I am using interFoam solver with cyclic BC in streamwise direction. While using cyclic BC I want to impose pressure gradient in streamwise direction . Is there any method to do so ? kinldy help .
Thanks,
Irwin
OpenFOAM


I think you can give mean velocity. Check pimpleFoam/LES/channel395 tutorial case for reference.


In order to avoid very long pipe(domain) I want to use cyclic BC . Apart from that I am also interested in instability study which require cyclic BC to be implemented in streamwise direction . regards, Irwin
Thanks for the reply , I have already explored that option . That is fvOptions that create a average velocity mentioned in the fvOptions dict. I want to put constant pressure gradient and want velocity to vary accordingly .
Thanks
Irwin
24-04-21, 2:43 p.m. irwin
Hi Irwin,
Just out of curiosity, why would you want to have a cyclic BC in the streamwise direction? From what you have stated, it looks like a defining the pressures at inlet and outlet and calculating the veleocity field through the simulation is the most appropriate setup for your problem. Of course, this, or any other pressure driven flow, setup would be unstable, but wouldn't that be closer to what you would want?
Regards,
Ashley
25-04-21, 4:12 p.m. ashleymelvin
Login to add comment