I'm trying to perform a trasient simulation of a subsonin flow over a flat plate in CFD++. I want to impose a ramp profile on the velocity at the inlet, like for instance a smooth step, and look at the evolution of the boundary layer over the plate due to this acceleration. I want to perform this simulation without pressure gradient so I'm imposing a back pressure value in outflow BC. The problem is that once I start the acceleration at the inlet it creates a pressure gradient that travels to the outlet, and since the pressure there is kept constant, the pressure wave bounces creating instabilities Does any one know how to perform this simulation without creating pressure gradients? Thanks


1 Answer 1


I don't think this is a physically reasonable problem to try to run. You can't have a ramping velocity at the inflow without pressure changes throughout the domain and at the outflow. If you want a zero pressure gradient boundary layer flow, you'll have to equilibrate it after you get the boundary layer formed.

You might be better off using a taller domain with an imposed top boundary velocity equal to your inflow velocity, and using whatever kind of outflow boundary condition CFD++ supports. In a 2-D, steady boundary layer (in the right units), the pressure obeys

$$ \frac{dp}{dx}=-\rho U \frac{dU}{dx} $$

where $U(x)$ is the x-direction velocity boundary condition at the top of the domain. This isn't true for unsteady flows, but if you ramp slowly, you may be able to have a nearly constant pressure during your ramp.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.