
[Sponsors] 
April 22, 2007, 08:02 
fixing pressure in some cells

#1 
Guest
Posts: n/a

Hi
How can we set gauge pressure in some cells to a desired value? Is it neccessary to write a UDF for this purpose? Thanks 

April 26, 2007, 12:59 
Re: fixing pressure in some cells

#2 
Guest
Posts: n/a

Usually you would just set the pressure at a boundary condition. Can you define the geometry you are modeling so as to help define where you would need this pressure specified.


April 27, 2007, 03:36 
Re: fixing pressure in some cells

#3 
Guest
Posts: n/a

Ok, my geometry is a 2D Mixing Elbow and there are two inlet boundary in my geometry with difference inlet gauge pressures .I did'nt find in Manual how to adjust/set difference inlet gauge pressures. For example suppose :
Gauge pressure at inlet boundary 1 is: 1barg and Gauge pressure at inlet boundary 1 is: 4barg How can I adjust this problem for instance using the Velocityinlet boundary type.Also velocities in inlet are exactly specified and equal with 1m/s. Thanks a lot . 

April 27, 2007, 08:35 
Re: fixing pressure in some cells

#4 
Guest
Posts: n/a

The way to do this is to not set your boundaries as velocity inlets, put as pressure inlets. Then you can specify the pressure at those two points. Just make sure your outlet boundary condition is also setup.


April 27, 2007, 12:05 
Re: fixing pressure in some cells

#5 
Guest
Posts: n/a

Thank you.
Yes, But there is a problem in my settings. I must set either pressure and velocity synchronously . I read Manual for setting of pressure inlet boundary condition type . I felt it is well to bring to the notice of you , the section that describes this boundary condition as follows : "Pressure inlet boundary conditions are used to define the fluid pressure at flow inlets,along with all other scalar properties of the flow. They are suitable for both incompressible and compressible flow calculations. Pressure inlet boundary conditions can be used when the inlet pressure is known but the flow rate and/or velocity is not known.This situation may arise in many practical situations, including buoyancydriven flows.Pressure inlet boundary conditions can also be used to define a "free" boundary in an external or unconfined flow." as you consider, for this boundary condition type, we can only set pressure at inlet and velocity evaluates in solution processes and it is impossible to set pressure & velocity syncronously, but inlet velocity is perfectly set to 1m/s in the my case and also I brought for you inlet pressure values in previous message. Therefore I can't use pressure inlet for this case. Can I use UDF for fixing of gauge pressure in inlet ? Have you a better idea for this problem? Thanks in advance for your kind attention. 

May 13, 2007, 12:07 
Re: fixing pressure in some cells

#6 
Guest
Posts: n/a

as far as i know, pressure inlet BC could define velocity inlet sychronously with pressure as a total pressure quantity. If we assuming the static pressure inlet equal to zero, then the total pressure will be equal with velocity pressure ==> (0.5*rho*v^2). I've been trying this and it's work, as long as we keep the pressure difference between pressure inlet and pressure outlet.
Regards 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Calculation of the Governing Equations  Mihail  CFX  7  September 7, 2014 06:27 
Neumann pressure BC and velocity field  Antech  Main CFD Forum  0  April 25, 2006 02:15 
Fixing the pressure  prakash  FLUENT  0  April 23, 2006 22:03 
Pressure interpolation between cells  Steve Moore  FLUENT  9  September 7, 2005 00:44 
physical boundary error!!  kris  Siemens  2  August 3, 2005 00:32 