Boundary conditions
Hi,
I'm taking a CFD class at university and have to write a code (in matlab) to solve the flow in a 2-D nozzle.The nozzle is symmetric so i'm solving only halve. What i'm not sure of now is how exactly to write the boundary conditions on the symmetry plane. is it enough to say that the pressure (and u,v,rho) on the symmetry plane are the same as on one 'line' above? rho(i_max,:)=rho(i_max-1,:)? Does any one know of a code that I can look at and compare (i'm using Beam & Warming method)? Thanks. |
It would seem that the symmetry condition requires no mass flow across the symmetry boundary (velocity normal to boundary = 0). In some algorithms that may imply the pressure gradient = 0, very similar to making the pressure the same on either side of the symmetry plane.
|
All times are GMT -4. The time now is 12:42. |