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

Fluid in a channel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2009, 10:53
Default Fluid in a channel
  #1
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 17
Gearb0x is on a distinguished road
Hello,

I'm new in openFoam and I'd like to simulate a very simple case to get used to the software.

I already meshed my problem wich is a 2-D U channel. Mesh is OK

My problem is in solving the mesh.

My initial & boundary conditions are like this :
for p :
Initial conditions : uniform 0

Boundary conditions :
FixedWalls (wich are the sides walls in my mesh) : zerogradient
inlet (start of my channel) : fixedvalue, value uniform 10
outet (end of my channel) : calculated
Frontandback (wich are the third dimensions walls) : empy

for u :
Initial conditions : uniform 0 0 0
FixedWalls : fixedvalue uniform 0 0 0
inlet : fixed value 0 1 0
outlet : calculated
FixedWalls : empty

I get an error when running icoFoam telling me :
" Starting time loop

Time = 0.0005

Courant Number mean: 0 max: 0.0666667
DILUPBiCG: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 1.5732e-06, No Iterations 1



gradientInternalCoeffs cannot be called for a calculatedFvPatchField
on patch outlet of field p in file "/home/jbulle/OpenFOAM/jbulle-1.6/canal_Tim/0/p"
You are probably trying to solve for a field with a default boundary condition.

From function calculatedFvPatchField<Type>::gradientInternalCoef fs() const
in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 187.

FOAM exiting "

I'd like to know where is my error? I'm a bit rusted in fluid mechanics so maybe it's a very stupid mistake in boundary conditions.

Thanks for your help
Gearb0x is offline   Reply With Quote

Old   November 28, 2009, 15:10
Default
  #2
New Member
 
James Nally
Join Date: Apr 2009
Posts: 7
Rep Power: 17
jnally is on a distinguished road
Try changing the outlet to:
p -
type fixedValue;
value uniform 0;

U -
type zeroGradient;
jnally is offline   Reply With Quote

Reply


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
Error message: Insufficient Catalogue Size Paresh Jain CFX 33 August 16, 2024 06:09
fluid structure interaction taru agrawal FLUENT 4 September 10, 2007 04:12
How to apply negtive pressure to outlet bioman66 CFX 5 June 3, 2006 02:40
My Revised "Time Vs Energy" Article For Review Abhi Main CFD Forum 2 July 9, 2002 10:08
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 20:53.