CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Setting Pressure on an Outlet Boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2001, 06:43
Default 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?
  Reply With Quote

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

Gert-Jan
  Reply With Quote

Old   April 12, 2001, 07:35
Default 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.
  Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple model, difficult outlet Eric CFX 7 May 23, 2014 09:13
Static pressure boundary condition at outlet jennz CFX 4 February 11, 2014 04:29
Setting Pressure outlet boundary for simulation of Radial impeller Mukund Pondkule Main CFD Forum 1 April 5, 2011 10:24
Using pressure outlet BC Shreyansh FLUENT 0 November 5, 2010 15:57
Turbulent intensity for pressure Outlet Boundary condition Mohsin FLUENT 1 April 30, 2010 11:36


All times are GMT -4. The time now is 05:42.