Hello everyone.
I'm working on a 2D wavy channel and simulating a fluid flow.
I wrote a time_varying pressure equation code at the inlet boundary condition of P file in openfoam and set the zero value for outlet.
The equation is:
P=p0+A*cos(wt)
So the pressure fluctuates at the inlet over the times and i want the velocity to be depended on the pressure code that i wrote it at inlet of pressure and fluctuates.
I useed "zeroGradient" , "pressureInletOutletVelocity" , "pressureInletVelocity" for inlet of velocity but i didn't receive and peoper results.
What boundary conditions shall i set for inlet of velocity?
Please guid me in this respect.thanks