CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Which type of Boundary Condition Should I choose?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2017, 10:42
Default Which type of Boundary Condition Should I choose?
  #1
New Member
 
Haozhong Jiang
Join Date: May 2017
Posts: 2
Rep Power: 0
evojiang is on a distinguished road
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.
evojiang is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
activeBaffleVelocity boundary condition ? om3ro OpenFOAM Programming & Development 10 November 16, 2020 23:26
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 10:00
Time step continuity error lpz_michele OpenFOAM Running, Solving & CFD 0 October 12, 2015 06:05
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 17:08


All times are GMT -4. The time now is 11:45.