|
[Sponsors] |
Which type of Boundary Condition Should I choose? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 28, 2017, 11:42 |
Which type of Boundary Condition Should I choose?
|
#1 |
New Member
Haozhong Jiang
Join Date: May 2017
Posts: 2
Rep Power: 0 |
Dear All,
I’m now doing my project using OpenFOAM designing a PID controller to suppress the vortex shedding. Now I have some problems regarding the control surfaces Boundary Condition. I am planning to have two control jets (Top&Bottom) at a certain angle on the cylinder surface. And I wish to use the velocity measured from a downstream probe and times some constants as the new velocity boundary condition of the jets. This BC should updates in every single iteration. I did some research, and chose to use CodedFixedValue Boundary Condition(Not really sure if this is the suitable one). I wrote the C++ code, which outputs the velocity I need in the last iteration. However, I don’t know how to apply these codes in OpenFOAM. I tried to type the C++ code directly in the code area in the /0/U file, but this doesn’t work. Please give some advice on this problem. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
activeBaffleVelocity boundary condition ? | om3ro | OpenFOAM Programming & Development | 10 | November 17, 2020 00:26 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Time step continuity error | lpz_michele | OpenFOAM Running, Solving & CFD | 0 | October 12, 2015 07:05 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 18:08 |