CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Incompressible Navier-Stokes equations for a backward facing step (http://www.cfd-online.com/Forums/main/83554-incompressible-navier-stokes-equations-backward-facing-step.html)

werder85 January 3, 2011 12:57

Incompressible Navier-Stokes equations for a backward facing step
 
Hi!
I'm trying to write a program which calculates the velocities and the pressure for a backward facing step using a MAC grid and artificial compressibility for the continuity equation.

I'm using the non-dimensionalized equations, as a result the speed at the inflow boundary is 1.0. The problem is: which values should the velocities inside the grid have (and the pressures)? In a first, naive approach I have initialized them with zero but after just two or three time steps the values get out of control because of the big difference between the values at the inflow boundary and the values situated just to the right of the inflow boundary.

otd January 3, 2011 17:19

You might try setting up the narrow part as a channel flow (analytic solution is in Schlichting, Boundary Layer Theory. After the step (maybe one or two step heights downstream), initialize the velocities as a new channel flow starting and flowing to the outlet. Of course the recirculation region just downstream from the step is the toughest part. Don't have a good suggestion to initialize that.

I don't have experience using artificial compressibility. But a rule of thumb for starting calculations is that "if the IC values are smooth and grossly similar to the expected solution, that's good enough." Just spend a lot of time with small relaxation factors and small time steps to reduce the residuals, then gradually increase them as the flow settles out. NOTE that this is not the only "rule of thumb for starting calculations".

Good luck.

OTD


All times are GMT -4. The time now is 04:42.