|
[Sponsors] |
November 28, 2009, 10:53 |
Fluid in a channel
|
#1 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
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 |
|
November 28, 2009, 15:10 |
|
#2 |
New Member
James Nally
Join Date: Apr 2009
Posts: 7
Rep Power: 17 |
Try changing the outlet to:
p - type fixedValue; value uniform 0; U - type zeroGradient; |
|
|
|
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 |