|
[Sponsors] |
March 21, 2012, 02:25 |
Oscillating inlet BC
|
#1 |
New Member
Join Date: Mar 2012
Posts: 12
Rep Power: 14 |
Hello all,
I am trying to set up a 3D case for an oscillatory flow past a circular cylinder. I'm wondering how would you specify the inlet and outlet BC for this easy case? It got me stuck here... For the inlet boundary condition, I want to have Ui=Um*sin(2*pi*frequency*t), so i have set "patch" in /constant/boundary file for the inlet (for the top and bottom boundaries, which are perpendicular to the cylinder span, i have set "cyclic" BC for infinite length cylinder), and in /0/u file i have : inlet { type oscillatingFixedValue; refValue (0 0 0); amplitude 1; frequency 0.5; } For 0/p: inlet { type calculated; value uniform 0; } But when I run it, the following error msg appears: --> FOAM FATAL ERROR: gradientInternalCoeffs cannot be called for a calculatedFvPatchField on patch inlet of field p in file "/home/kyang/OpenFOAM/OpenFOAM-2.1.0/icoFoam-t/3DCylinder/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 186. FOAM exiting Seems like it is complaining that I didnt define p, but as I said, I did subscribe inlet BC for p in 0 folder! I'm just wondering if any one has any ideas on what's the problem for this... or any suggestions on the setup for BC and initial condition for oscillatory flow past a circular cylinder would also be great! Thanks a lot! Last edited by November; March 21, 2012 at 20:51. |
|
Tags |
boundary condition, cylinder, oscillatingfixedvalue, oscillatory flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
higher total pressure at inlet | motorbean | Main CFD Forum | 0 | December 7, 2011 16:13 |
Inlet Velocity in CFX | aeroman | CFX | 12 | August 6, 2009 18:42 |
Inlet shapes for modelling a fan in an inlet duct | buzzybee | CFX | 10 | June 11, 2009 20:15 |
Oscillating inlet??? | Adam | CFX | 0 | March 10, 2008 20:57 |
Diffusion component at inlet | Balaji | FLUENT | 2 | August 8, 2005 07:37 |