|
[Sponsors] |
June 4, 2009, 15:18 |
Problems with BC
|
#1 |
Member
Sven Winkler
Join Date: May 2009
Posts: 70
Rep Power: 17 |
Hi everyone,
I am trying to simulate a simple 2D-Channel Flow with the icoFoam solver. Unfortunatelly I do not reach a steady solution after more than 150 seconds. Strange things are happening at the In- and Outflow (I get some kind of detachment/displacement at the outflow). I think these troubles are caused by the BCs. So, I wanted to change my Outlet BC to "calculated". I tried it like this: Outlet { type calculated; } for the U file in the folder 0. But if I want to solve this I always get an error saying: gradientInternalCoeffs cannot be called for a calculatedFvPatchField on patch Outlet of field U in file "/home/sven/OpenFOAM/sven-1.5/run/Case1-laminarChannelFlow/Subcase1/0/U" 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. Does somebody know what the problem is? Tanks. |
|
June 10, 2009, 06:07 |
|
#2 |
Senior Member
Wolfgang Heydlauff
Join Date: Mar 2009
Location: Germany
Posts: 136
Rep Power: 21 |
hi,
why not use a simple pressure outlet?? please post your BC files so people can have a look on it. |
|
June 10, 2009, 13:14 |
|
#3 |
Member
Sven Winkler
Join Date: May 2009
Posts: 70
Rep Power: 17 |
here are my boundary conditions:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0.0; boundaryField { upperWall { type zeroGradient; } lowerWall { type zeroGradient; } frontAndBack { type empty; } Inlet { type zeroGradient; } Outlet { type fixedValue; value uniform 0.0; } } // ************************************************** *********************** // What do you mean by using a simple pressure outlet?? Tanks for your help! |
|
June 11, 2009, 03:28 |
|
#4 |
Member
Leonardo Giampani Morita
Join Date: Apr 2009
Location: Paris, France
Posts: 58
Rep Power: 17 |
I think he meant a fixedValue 0.0 for pressure at the outlet, like you used.
But you should put here the velocity BC as well. A priori, a zeroGradient for U at the outlet should work... By the way, have you checked if your flow is really laminar? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 12:13 |
Help required to solve Hydraulic related problems | aero | CFX | 0 | October 30, 2006 11:00 |
Some problems with Star CD | Micha | Siemens | 0 | August 6, 2003 13:55 |
Airpak: Problems with heat flow contour conditions | Ivan de Miguel Urain | FLUENT | 1 | November 16, 2001 09:36 |
unstructured grid | sreekanth | Main CFD Forum | 1 | August 6, 2001 15:09 |