# Setting Pressure on an Outlet Boundary

 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 11, 2001, 05:43 Setting Pressure on an Outlet Boundary #1 Richard Pemberton Guest   Posts: n/a I'm currently trying to solve a (very simple?) 2 phase problem in CFX. I have a box with the air in the top half and water in the bottom half and there is a flow through the box. I'm trying to set the pressure on the outlet to be hydrostatic in the water part. This is proving to be far more difficult than it should be. In subroutine USRBCS I use CALL GETVAR('USRBCS','P ',IVAR) and then after calling subroutine IPREC for the outlet. VARBCS(IVAR,1,INODE) = RHOW*GRAVITY*(0.52 - ZP(INODE)) where 0.52 - ZP(INODE) is the height term. I've written data to a file within this routine, I know that the IPREC gets the outlet, I calculate the correct value for pressure, but when I look at the values of P(INODE,1) across the outlet they are all zero. It's confusing me no end, can anyone help?

 April 11, 2001, 07:52 Re: Setting Pressure on an Outlet Boundary #2 Gert-Jan van der Gulik Guest   Posts: n/a Have you set IUBCSF correctly? Gert-Jan

 April 12, 2001, 06:35 Re: Setting Pressure on an Outlet Boundary #3 Darcy Jiang Guest   Posts: n/a Richard It is not necessary to use GETVAR because the utility gives you the variable value throughout the computation domain. You can just use the IPREC to get the variable pointer(IPT) on boundaries. These pointer help you get variable location you desired. ex. P(ipt(i),iphase) = roh * zc(ipt(i)) try it. Darcy.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Eric CFX 7 May 23, 2014 08:13 jennz CFX 4 February 11, 2014 04:29 Mukund Pondkule Main CFD Forum 1 April 5, 2011 09:24 Shreyansh FLUENT 0 November 5, 2010 15:57 Mohsin FLUENT 1 April 30, 2010 10:36

All times are GMT -4. The time now is 10:24.