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

Outlet problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2020, 14:26
Default Outlet problem
  #1
New Member
 
Joe
Join Date: Oct 2016
Posts: 15
Rep Power: 9
OOTB is on a distinguished road
Hi everyone.


Im running a 2D multiphase (interFoam) case of a dam spillway (k-e turbulence model). The results at the outlet patch is not correct. Attached the result. Water is entering from the left. The inlet is from the bottom patch left of the ogee spillway. Water flows to the right and shoots up the sk-jump. The outlet is the right hand side vertical patch as well as the 45 degrees corner patch. Below some of the BC's.


The water is supposed to just flow out of the domain and not shoot vertically upwards. Gravitational acc. is in the -x direction.


Does someone know what am I doing wrong?



alpha.water:


inlet
{
type fixedValue;
value uniform 1;
}

outlet
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;

}

atm
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}

symm
{
type symmetryPlane;
}

floor
{
type zeroGradient;
}

bottomEmptyFaces
{
type empty;
}

topEmptyFaces
{
type empty;
}


p_rgh:

inlet
{

type zeroGradient;

}

outlet
{

type totalPressure;
p0 uniform 0;
}

atm
{
type totalPressure;
p0 uniform 0;

}

floor
{
type fixedFluxPressure;
value uniform 0;
}

symm
{
type symmetryPlane;
}

bottomEmptyFaces
{
type empty;
}

topEmptyFaces
{
type empty;
}


U:



inlet
{
type fixedValue;
value uniform (0.427 0 0);
}

outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}

atm
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}

floor
{
type noSlip;
}

symm
{
type symmetryPlane;
}


bottomEmptyFaces
{
type empty;
}

topEmptyFaces
{
type empty;
}
Attached Images
File Type: jpg spillway.jpg (20.5 KB, 12 views)
OOTB is offline   Reply With Quote

Old   March 3, 2020, 15:10
Default
  #2
New Member
 
Akash Patel
Join Date: Dec 2018
Location: Champaign, IL, USA
Posts: 20
Rep Power: 7
akashpatel95 is on a distinguished road
Quote:
Originally Posted by OOTB View Post






U:



inlet
{
type fixedValue;
value uniform (0.427 0 0);
}

outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value $internalField;
}


atm
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}

floor
{
type noSlip;
}

symm
{
type symmetryPlane;
}


bottomEmptyFaces
{
type empty;
}

topEmptyFaces
{
type empty;
}

Try making this change in velocity initial field. Instead of setting outlet value to zero, you should be using internalField value solved at each timestep. Similarly change value of inletOutlet BC in other fields as well.
__________________
We are developing an open-source software for constructing reduced order models for your CFD simulations in OpenFOAM that runs several magnitude faster. Visit the link below to learn more.
AccelerateCFD - OpenFOAM based reduced order model solver for CFD using Proper Orthogonal Decomposition.
akashpatel95 is offline   Reply With Quote

Old   March 4, 2020, 11:17
Default Outlet Problem
  #3
New Member
 
Joe
Join Date: Oct 2016
Posts: 15
Rep Power: 9
OOTB is on a distinguished road
Thank you Akash!

That worked.. but I had to change the bc for p_rgh at the outlet to zeroGradient.

Thank you for your time it helped me alot.
OOTB is offline   Reply With Quote

Reply

Tags
boundary conditions, outlet


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
Problem with Pressure Outlet and Openchannelflow sebebo Fluent Multiphase 1 September 29, 2015 08:56
Pressure Outlet Boundary udf problem! ayushmorx ANSYS 0 September 23, 2015 06:06
Problem with rhoSimpleFoam : exploding enthalpy and density at the walls david39 OpenFOAM Running, Solving & CFD 6 January 18, 2011 11:49
outlet problem FabOr OpenFOAM 0 May 28, 2010 08:19
Problem with the pressure outlet sami FLUENT 6 July 11, 2007 17:33


All times are GMT -4. The time now is 09:28.