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

Which type of Boundary Condition Should I choose?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
activeBaffleVelocity boundary condition ? om3ro OpenFOAM Programming & Development 5 June 21, 2017 11:10
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 18:08


All times are GMT -4. The time now is 13:42.