|
[Sponsors] |
July 5, 2024, 07:18 |
interFoam outlet flow problem
|
#1 |
New Member
Elvin
Join Date: Feb 2024
Posts: 5
Rep Power: 2 |
Hello, dear OF users. I am investigating the flow in the pipe shown in the above file. The flow leaving the inlet goes to the outlet. But as you can see, in outlet the flow drops down. It seems to "drop" down instead of flowing straight and maintaining its level. The inlet is divided into two parts. I have tried many variants of boundary conditions (inletOutlet, outletInlet, etc.), but everywhere the same result. Right now my geometry is in the positive coordinate region, because when the geometry crossed the coordinate axes, then the flow was reflected from the outlet. Also if you change the direction of free fall acceleration (g), then the reflection from the outlet boundary reappears. Please help with this. Thanks.
U: Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (1 0 0); boundaryField { inlet_bottom { type fixedValue; value uniform (1.5 0 0); } inlet_top { type fixedValue; value uniform (0.1 0 0); } walls { type noSlip; } outlet { type zeroGradient; } } Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet_bottom { type zeroGradient; } inlet_top { type zeroGradient; } walls { type zeroGradient; } outlet { type fixedValue; value uniform 900000; } } Code:
dimensions [0 0 0 0 0 0 0]; internalField uniform 0; boundaryField { inlet_bottom { type fixedValue; value uniform 1; } inlet_top { type fixedValue; value uniform 0; } walls { type zeroGradient; } outlet { type inletOutlet; inletValue uniform 0; value uniform 0; } } 1.jpg |
|
July 5, 2024, 21:48 |
|
#2 |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18 |
Hi Elvin,
The recommended practice for setting up a new simulation is to use a tutorial similar to the case you want to study. I suggest you study the weirOverflow tutorial. |
|
July 6, 2024, 07:17 |
|
#3 |
New Member
Elvin
Join Date: Feb 2024
Posts: 5
Rep Power: 2 |
Thanks for the reply! But it didn't help, I don't understand why primitive BCs don't help (such as fixedValue, zeroGradient etc).
Last edited by Elvin; July 9, 2024 at 03:38. |
|
July 6, 2024, 15:37 |
|
#4 |
Senior Member
Will Kernkamp
Join Date: Jun 2014
Posts: 372
Rep Power: 14 |
Is the solution converged?
|
|
July 7, 2024, 11:43 |
|
#5 |
New Member
Elvin
Join Date: Feb 2024
Posts: 5
Rep Power: 2 |
Hello, wkernkamp! Yes, solution converged. The problem, it seems to me, is that the pressure gradient doesn't converge correctly. Inlet and outlet are kind of disconnected.
123133.jpg I also feel like it's physical on one hand. Because when the flow rate increases, this level drop at the outlet is not noticed. And when the flow velocity is low, this "drawdown" appears to the left (meaning closer to the inlet). There seems to be a minimum velocity for a certain liquid level in the pipe. If anyone knows of any articles dealing with this, I would be glad to read them. |
|
July 8, 2024, 15:51 |
|
#6 |
New Member
Vinayak Ramachandran
Join Date: Jan 2024
Posts: 4
Rep Power: 2 |
Hello Elvin,
I noticed you have assigned a fixed value pressure boundary for the outlet at 900000Pa. That might be causing the dip near the outlet. Best VRN |
|
July 15, 2024, 11:58 |
|
#7 | |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18 |
Quote:
One of the reason why complex boundary conditions must be used have to do with the formulation of SIMPLE and PISO algorithms. They use pressure as fundamental variable but in the Navier-Stokes equations (for incompressible flow) there is no explicit equation for pressure. So these methods create a pressure equation using the momentum transfer and the continuity equation. This pressure equation must have boundary conditions that are compatible with the two previous equations (momentum transfer and continuity), so sometimes complex boundary conditions like the fixedFluxPressure boundary condition must be used for pressure. There is a good explanation about this in chapter 4 of the book of Greenshilds and Weller that is available at: https://doc.cfd.direct/notes/cfd-gen...iples/contents I hope this helps. |
||
Tags |
bug, interfoam, outflow, outlet, problem |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compressible nozzle flow - no problem for fluent but impossible with openFOAM? | flar.t | OpenFOAM Running, Solving & CFD | 10 | March 30, 2022 02:21 |
Outlet BC for multiPhase modeling | Back flow problem | saugatshr4 | OpenFOAM | 7 | March 23, 2022 01:59 |
Transient problem - Reversed flow | .Thomas. | Fluent UDF and Scheme Programming | 3 | September 23, 2014 06:39 |
Disturbed flow field at outlet boundary (Multiphase flow through pipe) | Michiel | CFX | 17 | April 21, 2010 11:14 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |