# water jet

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

 April 23, 2013, 09:05 water jet #1 Senior Member   stephane sanchi Join Date: Mar 2009 Posts: 300 Rep Power: 9 Dear OF-users, I am simulating a water jet in air using interFoam. The simulation runs well. To summarize my boundary conditions are: For U IN { type fixedValue; value uniform (0 150 0); OUT { type fixedValue; value uniform (0 0 0); } ATMOSPHERE { type pressureInletOutletVelocity; value uniform (0 0 0); } For p_rgh: IN { type zeroGradient; } OUT { type zeroGradient; } ATMOSPHERE { type totalPressure; p0 uniform 0; U U; phi phi; rho rho; psi none; gamma 1; value uniform 0; } My question is the following. Is it also possible to impose a fixed pressure value at the inlet IN ? Best regards, Stephane.

 April 24, 2013, 08:05 #2 Senior Member   stephane sanchi Join Date: Mar 2009 Posts: 300 Rep Power: 9 someone can help me ? Stephane.

 April 24, 2013, 10:36 #3 New Member     Ignacio Gallego Join Date: Jan 2013 Posts: 25 Rep Power: 4 Hello Stephane, I think that in the boundaries OpenFOAM uses either pressure or velocity to compute the non-defined variable. If you define velocity and pressure with fixedValue it will probably crash (at least in my case it does). If you set the velocity to fixedValue at inlet, then pressure must be zeroGradient and then OpenFOAM will calculate it with the continuity equation. Normally you would set U { boundaryField { inlet { type fixedValue; value uniform (0.76 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); } } } p { boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 2.69e5; } } } Hope this helps

 April 24, 2013, 10:56 #4 Senior Member   stephane sanchi Join Date: Mar 2009 Posts: 300 Rep Power: 9 Hi, to summarize it is not possible to define both velocity and pressure for the inlet bc. OK. What is important for incompressible flows (channel flows) is the pressure variation. Just to clarify, for my case, the bc OUT is not an outlet but a wall. It is a water jet into atmosphere with a vertical wall in front of the jet. Regards, Stephane.

 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 Attesz CFX 7 January 5, 2013 04:32 hamdy Fluent UDF and Scheme Programming 5 August 19, 2012 19:52 kim FLUENT 4 June 9, 2003 07:04 fredius,magige,tanzanian,(e.a) Main CFD Forum 0 January 27, 2002 08:10 Norberto Parreira Main CFD Forum 7 June 25, 2001 08:23

All times are GMT -4. The time now is 02:44.