|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Cristopher Medina Samanez
Join Date: Jul 2023
Posts: 6
Rep Power: 4 ![]() |
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; } } |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Michael Häckel
Join Date: Nov 2025
Posts: 16
Rep Power: 2 ![]() |
||
|
|
|
|
|
|
|
#3 |
|
Senior Member
M
Join Date: Dec 2017
Posts: 727
Rep Power: 14 ![]() |
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. |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |