CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   nozzle boundary condition (https://www.cfd-online.com/Forums/main/14091-nozzle-boundary-condition.html)

Shuo September 14, 2007 01:19

nozzle boundary condition
 
Hi,

I am solving the 1-D Euler equation using upwind methods for flow through a divergent nozzle. Three cases were tested:subsonic flow, supersonic flow and flow with shock. The subsonic inlet boundary condition produced incorrect result for the subsonic flow.

B.C. & Density & Velocity & Pressure | Subsonic inlet & Fixed? & Float? & Fixed | Supersonic inlet & Fixed & Fixed & Fixed | Subsonic outlet & Float & Float & Fixed | Supersonic outlet & Float & Float & Float |

Can anyone please advise me on this?

Thanks,

Shuo

Gerrit Groot September 22, 2007 11:53

Re: nozzle boundary condition
 
Check your boundary conditions, in the subsonic case you need one source of information coming from the outlet. Static pressure for example. With the rest coming from the inlet, in 1D there are only 2 left, so let's say for example total pressure and velocity.


Shuo September 23, 2007 20:23

Re: nozzle boundary condition
 
For the subsonic case, I fixed P at the outlet and while letting rho, and u float. For the inlet I fixed rho and P and u.

I read from Anderson (modern compressible flow with historical perspective) that using the method of characteristics you should let one variable float (ie.u) at the inlet. i tried this and the solution was wrong. Why is this?

Shuo

Gerrit Groot September 28, 2007 06:59

Re: nozzle boundary condition
 
In the subsonic 1D case, try:

Fixing on the outlet: static pressure Fixing on the inlet: total pressure, temperature and velocity

shuo September 28, 2007 07:28

Re: nozzle boundary condition
 
Yep, it's working. Thanks Shuo


All times are GMT -4. The time now is 23:57.