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

OpenFOAM Velocity BC two orthogonal components

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 31, 2014, 01:21
Default OpenFOAM Velocity BC two orthogonal components
  #1
New Member
 
Vineet
Join Date: Sep 2014
Location: India
Posts: 10
Rep Power: 2
viv123 is on a distinguished road
Hi all,

I am working on flow past cylinder simulations in OpenFOAM. The first case that we did was with simple velocity field i.e. in 0/U file velocity boundary condition was

boundaryField
{
inlet
{
type fixedValue;
value uniform (1 0 0);
}
.
.
.
}

The next case was with oscillating velocity field i.e. in 0/U file velocity boundary condition was

inlet
{
type oscillatingFixedValue;
amplitude 0.5;
frequency 0.2;
refValue uniform (0 1 0);
}

Now I have to combine these two conditions. My velocity field should be something like V= a*i + b*sin(c)*j ; where i and j are unit vectors in x and y directions respectively.

Could someone please help me out by telling the proper way to do this.

Thanks in advance!
viv123 is offline   Reply With Quote

Old   October 31, 2014, 09:28
Default
  #2
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 146
Rep Power: 2
ssss is on a distinguished road
Use groovyBC and set your own function for U
ssss is online now   Reply With Quote

Reply

Tags
boundary condition, openfoam 2.0.x, oscillatingfixedvalue

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
Simulation of radial gas turbine, Inlet velocity components dmaz CFX 9 May 29, 2015 08:01
Accessing velocity components and gradient of velcoity components vivekgnhtr OpenFOAM Programming & Development 0 March 11, 2014 12:22
Individual convergence criteria for velocity components? CoolHand OpenFOAM Running, Solving & CFD 0 March 3, 2014 17:47
The problem for velocity calculation using turbulent model in openfoam. mscheng OpenFOAM Running, Solving & CFD 6 September 10, 2013 08:35
What are the UVW velocity components Nikunj FLUENT 0 August 10, 2006 19:47


All times are GMT -4. The time now is 00:55.