|
[Sponsors] |
April 1, 2014, 02:30 |
boundary conditions, pipe geometry.
|
#1 |
Member
Davide Pasini
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
Hi all,
I've a flow in a straight pipe and I'm trying to simulate it with simpleFoam solver. With these BC there is no problem: U: Code:
boundaryField { wall { type fixedValue; value uniform (0 0 0); } inflow { type fixedValue; value uniform (0.707 0 0); } outflow { type zeroGradient; } Code:
boundaryField { inflow { type zeroGradient; } outflow { type fixedValue; value uniform 0; } wall { type zeroGradient; } U: Code:
boundaryField { wall { type fixedValue; value uniform (0 0 0); } inflow { type zeroGradient; } outflow { type zeroGradient; } Code:
boundaryField { inflow { type fixedValue; value uniform 3; } outflow { type fixedValue; value uniform 0; } wall { type zeroGradient; } Thank you |
|
April 1, 2014, 03:27 |
|
#2 |
Senior Member
|
Hi,
try using this Code:
inflow { type pressureInletUniformVelocity; value uniform (0 0 0); } |
|
April 1, 2014, 04:15 |
|
#3 |
Member
Davide Pasini
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
Thank you,
it works better with an higher pressure difference (delta_pRho = 5) and it doesn't converge with a lower pressure difference(delta_pRho = 1) . Why? pipe diameter= 3mm pipe length = 50mm nu = 3.2e-6 |
|
April 1, 2014, 04:22 |
|
#4 |
Senior Member
|
As I don't know what modifications you've made to the case files you've posted yesterday I can't say anything meaningful except: with the case files you've posted yesterday and this BC
Code:
inflow { type pressureInletUniformVelocity; value uniform (0 0 0); } |
|
April 1, 2014, 05:09 |
|
#5 |
Member
Davide Pasini
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
with this 0/p
Code:
boundaryField { inflow { type fixedValue; value uniform 1; } outflow { type fixedValue; value uniform 0; } wall { type zeroGradient; } but with this 0/p: Code:
boundaryField { inflow { type fixedValue; value uniform 5; } outflow { type fixedValue; value uniform 4; } wall { type zeroGradient; } |
|
April 1, 2014, 05:34 |
|
#6 |
Senior Member
|
Well,
Increase relaxation for velocity: Code:
relaxationFactors { fields { p 0.6; } equations { U 0.4; } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 13:06 |
Boundary conditions of laminar flow in pipe | alireza.glz | OpenFOAM | 4 | May 27, 2019 05:03 |
Species Transport: Boundary Conditions at Geometry Interface | Zaphod'sSecondHead | FLUENT | 0 | August 15, 2013 08:36 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |
New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 06:18 |