CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   2-D HVAC problem (http://www.cfd-online.com/Forums/main/985-2-d-hvac-problem.html)

 David July 4, 1999 15:51

2-D HVAC problem

In my line of business, plant facilities, I have little need for CFD, but a couple of years ago, I wrote a small bit of code based on the Stream-Function/Vorticity Formulation. This worked well enough, and have not needed and CFD since. However, I would like to simulate a problem where pressure is taken into account. Specifically, I need to simulate air flow in a long, pressurized, ceiling plenum for a cleanroom. From what I have read, introducing a pressurization function into my current code is not reccommended. I'm a rank-amateur at CFD, and my company wont pay \$ thousands a year for a commercial program that will seldom be used. I'm not interested in heat transfer, just the fluid dynamics. I guess what I'm looking for is some advice on how to formulate the algorithm. I using a PC, and writing in powerbasic. What method would be best for a novice like me?

 T.J. Wanat July 4, 1999 19:41

Re: 2-D HVAC problem

Check out "Numerical Heat Transfer and Fluid Flow" by Patankar. It's got a layman's description of how the method is derived and works.

 John C. Chien July 4, 1999 20:37

Re: 2-D HVAC problem

(1). I think you are happy with your 2-D incompressible world. The real world is too complicated and there is no real interest from the company side. So, the solution has to be simple. (2). The solution is: you can still use your 2-D stream function/ vorticity formulation. All you need to do is to integrate the momentum equation to get the pressure distribution. (3). After you have obtained the converged solution from the stream function/vorticity equations, you should have the velocity distribution (u and v are related to the stream function through the definition). The next step to do is to integrate the momentum equation, say x-momentum equation, from the inlet (where the pressure is specified) to the exit. This can be done along the grid line in the middle of the channel, or through every grid lines. (4). At the end of the integration process, you should have the pressure distribution from the inlet to the exit.

 Md. Ziaul Islam July 6, 1999 18:48

Re: 2-D HVAC problem

It seems like you are working on viscous incompressible flows. The solution of the Navier-Stokes equations for a viscous incompressible fluid in terms of pressure is given below.

C = (1/density of air)(kinematic viscosity/r)**2