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

Inlet and Outlet

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2011, 14:49
Default Inlet and Outlet
  #1
New Member
 
Luis Blanes
Join Date: Mar 2011
Location: Cardiff. UK.
Posts: 12
Rep Power: 15
lmblanes is on a distinguished road
Hi All

I am trying to setup a simple case with an Inlet and an Outlet.

I am used to WinAir, where you only input a Volumetric Flow (m3/s) and a directional Vector.

I am reviewing the Derived Patch Field Types...but I am confused about which one to use.

Could anyone help me on that?

Thanks

Another question I have is about the relationship between solvers and the different Patch Field Types.( I am using buoyanBoussinesqSimpleFoam, and the other steady state solver dealing with heat Transfer for buoyancy driven flows...)
Can I use anyone of the patch fields described in page U-133 ? or are they linked to a precise solver?

Thanks

Luis Blanes
lmblanes is offline   Reply With Quote

Old   April 11, 2011, 16:13
Default Errors regarding Inlet and Outlet
  #2
New Member
 
Luis Blanes
Join Date: Mar 2011
Location: Cardiff. UK.
Posts: 12
Rep Power: 15
lmblanes is on a distinguished road
Hello all
I tried to run a simulation with the following values at the U/0 directory

boundaryField
{
warm
{
type fixedValue;
value uniform (0 0 0);
}

cool
{
type fixedValue;
value uniform (0 0 0);
}

defaultFaces
{
type fixedValue;
value uniform (0 0 0);
}
inlet
{
type fixedValue;
value uniform (0 0 -1);
}

outlet
{
type fixedValue;
value uniform (0 0 1);



And I got that error.
Can somebody please help me?
Thanks
Can I input just two velocities in a patch just typing that in the U/0 directory??
Can the velocity vector point outside the domain??
Thanks


Starting time loop

Time = 0.1

DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.00451649, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 8.88538e-17, No Iterations 1
#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam:ILUPreconditioner::calcReciprocalD(Foam::Fi eld<double>&, Foam::lduMatrix const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#4 Foam:ILUPreconditioner:ILUPreconditioner(Foam: :lduMatrix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#5 Foam::lduMatrix:reconditioner::addasymMatrixCons tructorToTable<Foam:ILUPreconditioner>::New(Foam ::lduMatrix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#6 Foam::lduMatrix:reconditioner::New(Foam::lduMatr ix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#7 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#8 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libfiniteVolume.so"
#9
in "/opt/openfoam171/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
#10 __libc_start_main in "/lib/libc.so.6"
#11
in "/opt/openfoam171/applications/bin/linuxGccDPOpt/buoyantBoussinesqSimpleFoam"
Floating point exception
;
lmblanes is offline   Reply With Quote

Old   April 12, 2011, 06:49
Default
  #3
Member
 
Arnout
Join Date: Nov 2010
Posts: 46
Rep Power: 16
The King is on a distinguished road
Try to use zeroGradient for your outflow. Is the direction of the velocity in your inlet ok?
The King is offline   Reply With Quote

Old   April 12, 2011, 07:09
Default
  #4
New Member
 
Luis Blanes
Join Date: Mar 2011
Location: Cardiff. UK.
Posts: 12
Rep Power: 15
lmblanes is on a distinguished road
Quote:
Originally Posted by The King View Post
Try to use zeroGradient for your outflow. Is the direction of the velocity in your inlet ok?
Thanks The King.
Yes, the direction in the Inlet makes no sense.

I guess that you only need to input a velocity in the inlet and zeroGradient in the outlet.

Thanks
lmblanes is offline   Reply With Quote

Old   April 12, 2011, 07:51
Default Inlet velocity is ok....
  #5
New Member
 
Luis Blanes
Join Date: Mar 2011
Location: Cardiff. UK.
Posts: 12
Rep Power: 15
lmblanes is on a distinguished road
I have checked the case again...
I use buoyantBoussinesqSimpleFoam

Can anyone tell me how to input a simple Inlet and Outlet in using heatTransfer solvers?

U at inlet is ok (0 0 -1) as it is pointing inside the domain (can I use negative numbers?)

Thanks in advance
-----------------------------------------------------
boundary file

5
(
warm
{
type wall;
nFaces 390;
startFace 90580;
}
cool
{
type wall;
nFaces 390;
startFace 90970;
}
inlet
{
type patch;
nFaces 1;
startFace 91360;
}
outlet
{
type patch;
nFaces 1;
startFace 91361;
}
defaultFaces
{
type wall;
nFaces 5270;
startFace 91362;
}
----------------------------------------------------
U/0

dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
warm
{
type fixedValue;
value uniform (0 0 0);
}
cool
{
type fixedValue;
value uniform (0 0 0);
}
defaultFaces
{
type fixedValue;
value uniform (0 0 0);
}
inlet
{
type fixedValue;
value uniform (0 0 -1);
}
outlet
{
type zeroGradient;
{
}
----------------------------------------------------

p/0

dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
warm
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
cool
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
defaultFaces
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
inlet
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
outlet
{
type buoyantPressure;
rho rhok;
value uniform 0;
}
}
lmblanes is offline   Reply With Quote

Old   April 13, 2011, 06:47
Default
  #6
New Member
 
Dominic
Join Date: Jan 2011
Location: Leeds, UK
Posts: 25
Rep Power: 15
351Cleveland is on a distinguished road
Hi lmblanes

Just wondering a little about your pressure setup. You might try keeping the outlet/internalField at uniform 0 and setting the rest to zeroGradient. My experience is only really with simpleFoam, so I hope this helps.
Also, yes you can use negative numbers for velocity as long as you're sure its in the right direction.

Dom
351Cleveland is offline   Reply With Quote

Old   April 13, 2011, 06:57
Default
  #7
New Member
 
Luis Blanes
Join Date: Mar 2011
Location: Cardiff. UK.
Posts: 12
Rep Power: 15
lmblanes is on a distinguished road
Thanks!
I have seen lots of cases where there is an Inlet and the "Outlet" is just a free pressure boundary...

What do you mean with "in the right direction"? Is there some rule?

I wonder if I can do something like this

________________
I I
I I
Inlet(1m3/s) ---> Outlet(0.9 m3/s) --->
I I
I I
I Opening to atmosphere
I_______________ I

Thanks
lmblanes is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Pulsatile pressure inlet with pressure outlet a.lynchy FLUENT 3 March 23, 2012 14:45
total pressure boundary problem ==> flow from outlet to inlet!! mrshb4 OpenFOAM 0 November 20, 2010 13:41
steam flow in a pipe driven by a pressure gradient between inlet and outlet SalvoCalvo COMSOL 0 March 11, 2010 07:52
VOF Outlet boundary condition in cfd - ace JM Main CFD Forum 0 December 15, 2006 09:07
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


All times are GMT -4. The time now is 08:19.