how to apply totalPressure BC for more stability?
I have an inlet patch that want to total pressure be constant on it.
but the pressure goes very low and velocity goes very high. how to correct this situation? is there another way to apply constant total pressure without this instability problem? experiences are appreciated.thanks. 
what are your other BC's? whats the mesh look like?

hi
Its a rectangular(2d) tube with large length tha initially is full of air.one side opens to high pressure fluid and i expect a shock wave to originate (like shock tube) I want to write total pressure code by myself. But i'm not sure about which variables should be read from domain(extrapolate from internal domain) and which should set a formula for them. I assumed so far that velocity be read from internal domain at have set isentropic relations for pressure and temperature(by knowing total values of p and T) But it seems somewhat unstable. I read a thesis and it seems that p should be extrapolated from inside.but i think in this manner may no shock comes to existence because pressure on patch and internal domain will be the same. Which combination is true and i should assign? Thanks. 
i tested second scenario when p is zeroGradient.but its like U zeroGradient and U goes very high.
How should use total pressure then? Has anyone any experience to share? 
has anyone had some experience or can help anyway or any hint or thought?!

All times are GMT 4. The time now is 14:13. 