|
[Sponsors] |
simpleFOAM pipe with two inlets and one outlet doesnøt work? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 30, 2021, 13:05 |
simpleFOAM pipe with two inlets and one outlet doesnøt work?
|
#1 |
New Member
Sarah
Join Date: May 2021
Location: Denmark
Posts: 1
Rep Power: 0 |
Hello!
I have made a test setup at home which looks roughly like the attached pic "opstilling" (sorry it's in danish). I want to simulate the flow in the pipe, so there is an inlet at the main pipe and the one from the side. I have made the pipes in Salome, see pic "salome_geometri". The mesh seems fine, and there are no problems with this. I want to define pressure at the inlets and outlet. So these are fixed, and the velocity is calculated. I have only found examples where people define the velocity at the inlets. I have tried: P inlet { type totalPressure; p0 uniform 2.23408; } inlet_k { type totalPressure; p0 uniform 1.46979; } outlet { type fixedValue; value uniform 0; } wall { type zeroGradient; } U wall { type noSlip; } inlet_k { type pressureInletVelocity; value uniform (0 0 0); } inlet { type pressureInletVelocity; value uniform (0 0 0); } outlet { type zeroGradient; } But it seems like the flow at inlet goes the wrong way. In Paraview i see that the current flows out of the pipe at the inlet and not into it. inlet = small pipe inlet_k = big pipe Thanks in advance for any help. Really appreciate anything! |
|
May 30, 2021, 17:31 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
setting velocity inlets to zeroGradient and/or pressure inlets to fixedValues could help?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|