CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   how to apply totalPressure BC for more stability? (

immortality April 8, 2013 17:13

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.

vbchris April 8, 2013 21:55

what are your other BC's? whats the mesh look like?

immortality April 9, 2013 04:50

Its a rectangular(2d) tube with large length tha initially is full of 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?

immortality April 9, 2013 16:47

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?

immortality April 10, 2013 05:54

has anyone had some experience or can help anyway or any hint or thought?!

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