|
[Sponsors] |
July 24, 2018, 14:05 |
Pressure Driven Flow in Tube
|
#1 |
New Member
George
Join Date: Jun 2017
Posts: 12
Rep Power: 9 |
Hello guys, i am trying to solve a case with icoFoam in a simple tube geometry, where laminar flow is driven by pressure.
More specific pressure is implemented in a sinusoidal form. I have been facing a problem with setting the BCs correctly. Especially for outlet in pressure file, when i use zeroGradient case runs but results are not good. When i change this BC to fixedValue 0, then after some iterations CFL goes crazy. Pls any help would be great. My BC files can be seen below: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type uniformFixedValue; uniformValue sine; amplitude 6.85; frequency 0.25; scale 1; level 0; refValue uniform 0; } outlet { type fixedValue; value uniform 0; } wall { type zeroGradient; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type fixedValue; value uniform (0 0 0); } outlet { type fixedValue; value uniform (0 0 0); } wall { type fixedValue; value uniform (0 0 0); } } // ************************************************************************* // |
|
July 25, 2018, 05:59 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
You should use zeroGradient for velocity on the inlet and outlet if you define the pressure there. |
|
July 25, 2018, 11:19 |
|
#3 |
New Member
George
Join Date: Jun 2017
Posts: 12
Rep Power: 9 |
||
July 25, 2018, 16:37 |
|
#4 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
You should use zeroGradient, but at least not fixedValue (0 0 0).
If it's possible to post your case or at least a simplified (if your geometry is not public) one, it's easier to help you. |
|
Tags |
bcs, icofoam, openfaom, pressure driven flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
static vs. total pressure | auf dem feld | FLUENT | 17 | February 26, 2016 14:04 |
Discrepancy in Pressure Driven Flow Behaviour in 211 vs 221 | cdm | OpenFOAM Running, Solving & CFD | 5 | December 17, 2013 08:48 |
velocity and pressure driven flow in openfoam | jr33 | OpenFOAM Running, Solving & CFD | 1 | August 7, 2013 12:00 |
pressure driven flow by pressure correction method | justentered | Main CFD Forum | 0 | December 30, 2003 00:52 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |