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

Flow not coming out of model

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2025, 09:50
Default Flow not coming out of model
  #1
New Member
 
Cristopher Medina Samanez
Join Date: Jul 2023
Posts: 6
Rep Power: 4
stopherkri is on a distinguished road
Hello guys,

I'm trying to model a 3d spillway using the interFoam solver, everything is running smoothly until the point when water reaches the outlet. It seems like it's not flowing out freely, it appers to be bouncing back at the outlet, I'm getting negative outflow at the patch.
Maybe I'm not setting correctly my boundary conditions. Hope you can help me out.

This are my initial conditions

alpha.water
boundaryField
{
inlet
{
type fixedValue;
value uniform 1;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
walls
{
type zeroGradient;
}
}

U
boundaryField
{
inlet
{
type flowRateInletVelocity;
volumetricFlowRate constant 0.015811388;
}
outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value $internalField;
}

walls
{
type noSlip;
}
atmosphere
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}

}

p_rgh
boundaryField
{
inlet
{
type fixedFluxPressure;
value uniform 0;
}

outlet
{
type totalPressure;
p0 uniform 0;
value uniform 0;
}

walls
{
type fixedFluxPressure;
value uniform 0;
}
atmosphere
{
type totalPressure;
p0 uniform 0;
value uniform 0;
}
}
stopherkri is offline   Reply With Quote

Old   November 7, 2025, 12:49
Default
  #2
New Member
 
Michael Häckel
Join Date: Nov 2025
Posts: 16
Rep Power: 2
michael_h is on a distinguished road
You have specified zero outlet velocity. If you specify a constant pressure then you need "type zeroGradient" for the U field.


Quote:
Originally Posted by stopherkri View Post
Hello guys,

outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value $internalField;
}
}
michael_h is offline   Reply With Quote

Old   November 14, 2025, 07:28
Default
  #3
Senior Member
 
M
Join Date: Dec 2017
Posts: 727
Rep Power: 14
AtoHM is on a distinguished road
That is not correct, inletOutlet acts as a zeroGradient condition in outflow direction and applies inletValue when backflow happens.


I checked out one of the interFoam tutorials \tutorials\multiphase\interFoam\RAS\waterChannel, It uses fixedFluxPressure for outlet instead of totalPressure.
AtoHM 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
axial compressor mass flow convergence issue jyotir SU2 5 July 5, 2024 10:06
Model of air–steam flow with condensation into the volume and surface wall gartz89 ANSYS 1 February 19, 2022 07:52
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Coupled Flow model RalphS OpenFOAM 1 November 15, 2010 04:51
Multiphase flow. Dispersed and free surface model Luis CFX 8 May 29, 2007 19:13


All times are GMT -4. The time now is 10:50.