CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   variable pressure at inlet boundary (https://www.cfd-online.com/Forums/siemens/56770-variable-pressure-inlet-boundary.html)

Stephanie August 22, 2008 06:16

variable pressure at inlet boundary
 
the inlet temperature varies over the time. the mass flow is constant.

the inlet pressure should also vary since the temperature is varying. How to do that in Star v3 or v4?

Richard August 22, 2008 07:48

Re: variable pressure at inlet boundary
 
You do not specify the inlet pressure: the temperature and the massflow are enough to determine the solution (at least for subsonic flow). The pressure at the inlet is then part of the solution. If you were to specify the inlet pressure too, you would over-constrain the system.

James August 22, 2008 12:49

Re: variable pressure at inlet boundary
 
If you know the pressure at a point on the inlet boundary and are using an outlet boundary then you can specify one of the cells next to the boundary as the pressure reference cell.

Perhaps this will satisfy part of your goal.

Reza August 23, 2008 06:04

Re: variable pressure at inlet boundary
 
Hi,

use a user subroutine BCDEFI.f for a variable inlet boundary. In the Navigator, specify the inlet boundary to use the sub routine you have written.

since Massflow=rho*velocity*area, you should be able to find all those declared variables in nom.inc.

examples are in: Utilities--> User subroutine.

start the simulation along with the ufile directory. Then you set to go.

more on the use of ufile...please refer to the user manual.

Reza



All times are GMT -4. The time now is 01:17.