|
[Sponsors] |
July 29, 2010, 11:43 |
Velocity BC in cyclic 2D domain
|
#1 |
New Member
Ivo
Join Date: Jul 2010
Posts: 5
Rep Power: 16 |
Hi people,
At the moment I'm trying to compare various approaches for generating velocity profiles in OpenFoam against windtunnel data and results obtained with Fluent. I'm now having trouble setting up one of these cases in OpenFoam. Since in windtunnel measurements the velocity is usually only known at a single reference height I wanted to try and generate the velocity profile corresponding to proper BCs at the top and bottom of my domain and a velocity equal to a measured value of 14 m/s at a reference height of 0.48 m. The domain I chose has the inlet and outlet connected by a cyclic BC and as an initial condition I chose the mass flux across the inlet to equal 36 kg/s. I was able to perform this calculation under Fluent, but since I am new to OpenFoam I don't know how to set this up. One of my attempts so far involved using the simpleFoam solver and setting the velocity boundary condition on the inlet/outlet as: inletoutlet { type flowRateInletVelocity; patchType cyclic; flowRate 36; value uniform (0 0 0); } However, this has 2 problems: 1) this boundary condition doesn't work for cyclic patches and 2) I still can't specify my target velocity of 14 m/s at a reference height of 0.48 m since that would involve solving for the mass flux as well. Is there any way around this? Any help would be greatly appreciated! |
|
July 30, 2010, 12:22 |
jumpCyclic BC
|
#2 |
New Member
Ivo
Join Date: Jul 2010
Posts: 5
Rep Power: 16 |
In an attempt to solve the problem I described above I tried, amongst other things, to use a jumpCyclic boundary condition on my velocities in order to keep them from exploding (which is what happens when, on a cyclic grid, flowRateInletVelocity is used as a velocity BC and fixedValue (equal to 0) for p; it seems to me that the specified flow rate is added again on each consecutive pass). This resulted in the following error:
--> FOAM FATAL IO ERROR: Unknown patchField type jumpCyclic for patch type cyclic Does anybody know what this means? I'm using OpenFoam version 1.7.x and at least the source files are present. Do I need to compile them somehow or add an extra command in one of my input files before I can use this BC, or I am trying to do something illegal here? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with assigned inlet velocity profile as a boundary condition | Ozgur_ | FLUENT | 5 | August 25, 2015 05:58 |
air bubble is disappear increasing time using vof | xujjun | CFX | 9 | June 9, 2009 08:59 |
Logarithmic velocity profile | cfdworker | Fluent UDF and Scheme Programming | 0 | April 23, 2009 20:09 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |