CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Boundary condition and Poiseuille flow simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2010, 12:25
Arrow Boundary condition and Poiseuille flow simulation
  #1
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
Hi everybody,

I am new with OpenFOAM. I am trying to solve a 2D Poiseuille flow using the icoFoam solver.

My geometry and meshing are the following :


convertToMeters 0.1;

vertices
(
(0 0 0)
(1 0 0)
(1 0.1 0)
(0 0.1 0)
(0 0 0.01)
(1 0 0.01)
(1 0.1 0.01)
(0 0.1 0.01)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (40 40 1) simpleGrading (1 1 1)
);

edges
(
);

patches
(
patch inlet
(
(0 4 7 3)
)
patch outlet
(
(1 5 6 2)
)
wall fixedWalls
(
(3 7 6 2)
(1 5 4 0)
)
empty frontAndBack
(
(0 3 2 1)
(4 5 6 7)
)
);

mergePatchPairs
(
);

// ************************************************** *********************** //


I apply an inlet and outlet pressure values with the fixedValue boundary condition.

However, I am still looking for the velocity boundary condition type I need to use. Actually, I haven't found the Fluent "velocity outlet" equivalent...

Can you help me ?
Cyp is offline   Reply With Quote

Old   February 25, 2010, 07:53
Default
  #2
New Member
 
Tammo Wenterodt
Join Date: Mar 2009
Posts: 24
Rep Power: 17
wenterodt is on a distinguished road
What exactly do you mean by Poisseuille-flow? A laminar channel flow? Then you might want to look here:

http://www.cfd-online.com/Forums/ope...utlet-b-c.html

//Tammo
wenterodt is offline   Reply With Quote

Old   February 26, 2010, 04:49
Default
  #3
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
Thank you for your answer.

Actually, the BC I looked for was

type pressureInletVelocity;
value uniform (0 0 0);
Cyp is offline   Reply With Quote

Old   May 12, 2010, 07:24
Default
  #4
Senior Member
 
Emanuele
Join Date: Mar 2009
Posts: 110
Rep Power: 17
nuovodna is on a distinguished road
Can you post your 0/p file?? Thanks in advance
Regards
nuovodna is offline   Reply With Quote

Old   March 10, 2011, 17:28
Default Beginner
  #5
New Member
 
Join Date: Oct 2010
Posts: 27
Rep Power: 16
albem is on a distinguished road
Can you please post your 0/p file and 0/U file? I am also trying to simulate a 2D Poiseuille flow using the icoFoam solver. But it is not clear to me which boundary should I use for the U and p?


Thanks

Last edited by albem; March 10, 2011 at 17:57.
albem is offline   Reply With Quote

Old   March 10, 2011, 17:36
Default
  #6
New Member
 
Join Date: Oct 2010
Posts: 27
Rep Power: 16
albem is on a distinguished road
Sorry I forgot to mention I am using Version: 1.7.1

thanks in advance

Alberto

Last edited by albem; March 10, 2011 at 17:59.
albem is offline   Reply With Quote

Old   March 11, 2011, 15:53
Default
  #7
New Member
 
Join Date: Oct 2010
Posts: 27
Rep Power: 16
albem is on a distinguished road
I have tried to include the previous recommendations for the 2D Poiseuille flow and this was the result using icoFoam

Time = 0.5

Courant Number mean: nan max: nan
DILUPBiCG: Solving for Ux: solution singularity
DILUPBiCG: Solving for Uy: solution singularity
DICPCG: Solving for p: solution singularity
time step continuity errors : sum local = nan, global = nan, cumulative = nan
DICPCG: Solving for p: solution singularity
time step continuity errors : sum local = nan, global = nan, cumulative = nan
ExecutionTime = 2.3 s ClockTime = 3 s

End



This is my /0/U file

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ 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 pressureInletVelocity;
value uniform (1 0 0);
}

outlet
{
type pressureInletVelocity;
value uniform (1 0 0);
}

fixedWalls
{
type fixedValue;
value uniform (0 0 0);
}

frontAndBack
{
type empty;
}
}

// ************************************************** *********************** //

Last edited by albem; March 11, 2011 at 19:19.
albem is offline   Reply With Quote

Reply

Tags
boundary condition, poiseuille flow, simulation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Poiseuille flow Kirikou Main CFD Forum 0 November 23, 2006 14:32
Simple Poiseuille flow Maggie CFX 0 May 27, 2004 11:58
Flow in duct Jackie CFX 1 July 26, 2003 10:15
Poiseuille flow problem Rosie FLUENT 1 December 6, 2002 17:52
Wall BC in LES woodward Main CFD Forum 10 August 21, 2002 11:01


All times are GMT -4. The time now is 14:09.