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

OpenFOAM Velocity BC two orthogonal components

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

Like Tree1Likes
  • 1 Post By ssss

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2014, 00:21
Default OpenFOAM Velocity BC two orthogonal components
  #1
New Member
 
Vineet
Join Date: Sep 2014
Location: India
Posts: 10
Rep Power: 11
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, 08:28
Default
  #2
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12
ssss is on a distinguished road
Use groovyBC and set your own function for U
utkunun likes this.
ssss is offline   Reply With Quote

Reply

Tags
boundary condition, openfoam 2.0.x, oscillatingfixedvalue

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing velocity components and gradient of velcoity components vivekgnhtr OpenFOAM Programming & Development 3 June 27, 2022 02:39
What are the UVW velocity components Nikunj FLUENT 2 January 12, 2022 12:28
Simulation of radial gas turbine, Inlet velocity components dmaz CFX 17 May 19, 2019 09:45
Individual convergence criteria for velocity components? CoolHand OpenFOAM Running, Solving & CFD 0 March 3, 2014 16:47
The problem for velocity calculation using turbulent model in openfoam. mscheng OpenFOAM Running, Solving & CFD 6 September 10, 2013 08:35


All times are GMT -4. The time now is 19:04.